Files
alfresco-community-repo/repository/src/test/java/org/alfresco/AppContext02TestSuite.java
Kacper Magdziarz 9e23b99078 [ACS-9736] Add new bean for intercepting current audit entries. (#3402)
This introduces a new audit record reporting mechanism for intercepting current audit entries. The implementation adds the ability to report audit data to audit storage in addition to the traditional database storage.

Key changes:

- Added new audit record classes and utilities for structured audit data handling
- Introduced configurable audit destination settings (database vs audit storage)
- Created audit record reporter interface and implementation
2025-09-17 10:40:32 +02:00

77 lines
3.4 KiB
Java

/*
* #%L
* Alfresco Repository
* %%
* Copyright (C) 2005 - 2021 Alfresco Software Limited
* %%
* This file is part of the Alfresco software.
* If the software was purchased under a paid Alfresco license, the terms of
* the paid license agreement will prevail. Otherwise, the software is
* provided under the following open source license terms:
*
* Alfresco is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Alfresco is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
* #L%
*/
package org.alfresco;
import org.junit.experimental.categories.Categories;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
import org.alfresco.util.testing.category.DBTests;
import org.alfresco.util.testing.category.NonBuildTests;
/**
* Repository project tests using the main context alfresco/application-context.xml. To balance test jobs tests using this context have been split into multiple test suites. Tests marked as DBTests are automatically excluded and are run as part of {@link AllDBTestsTestSuite}.
*/
@RunWith(Categories.class)
@Categories.ExcludeCategory({DBTests.class, NonBuildTests.class})
@Suite.SuiteClasses({
// there is a test that runs for 184s and another one that runs for 40s
org.alfresco.repo.attributes.AttributeServiceTest.class,
org.alfresco.repo.audit.AuditableAspectTest.class,
org.alfresco.repo.audit.AuditBootstrapTest.class,
org.alfresco.repo.audit.AuditComponentTest.class,
org.alfresco.repo.audit.UserAuditFilterTest.class,
org.alfresco.repo.audit.AuditMethodInterceptorTest.class,
org.alfresco.repo.audit.access.AccessAuditorTest.class,
org.alfresco.repo.audit.AuditRecordUtilsTest.class,
// the following test will lock up the DB if run in the applicationContext_01 test suite
org.alfresco.repo.activities.feed.FeedNotifierTest.class,
org.alfresco.repo.activities.feed.FeedNotifierJobTest.class,
org.alfresco.repo.admin.RepoAdminServiceImplTest.class,
org.alfresco.repo.admin.patch.PatchTest.class,
org.alfresco.repo.bulkimport.impl.StripingFilesystemTrackerTest.class,
org.alfresco.repo.coci.CheckOutCheckInServiceImplTest.class,
org.alfresco.repo.configuration.ConfigurableServiceImplTest.class,
org.alfresco.repo.content.GuessMimetypeTest.class,
org.alfresco.repo.content.filestore.FileContentStoreTest.class,
org.alfresco.repo.content.filestore.NoRandomAccessFileContentStoreTest.class,
org.alfresco.repo.content.filestore.ReadOnlyFileContentStoreTest.class,
org.alfresco.repo.content.RoutingContentStoreTest.class,
org.alfresco.encryption.EncryptionTests.class,
org.alfresco.encryption.KeyStoreTests.class,
org.alfresco.repo.content.MimetypeMapContentTest.class
// TODO REPO-2791 org.alfresco.repo.content.routing.StoreSelectorAspectContentStoreTest.class,
})
public class AppContext02TestSuite
{}