Class DefaultAuditRecordsProviderTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.audit.AbstractAuditTest
-
- de.hybris.platform.audit.provider.impl.DefaultAuditRecordsProviderTest
-
- All Implemented Interfaces:
AuditableTest,JaloSessionHolder
- Direct Known Subclasses:
DefaultAuditRecordsProviderJaloTest,DefaultAuditRecordsProviderSLDTest
public class DefaultAuditRecordsProviderTest extends AbstractAuditTest
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.audit.AbstractAuditTest
address1, address2, address3, auditEnablementService, auditRecordsProvider, auditTestConfigManager, auditTestHelper, creator, modelService, testAuditReportConfig, title1, title2, user1, userService, writeAuditGateway
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description DefaultAuditRecordsProviderTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidshouldNotStoreAuditRecordsWhenThereAreNoSignificantChanges()voidshouldNotStoreAuditRecordsWhenThereAreNoSignificantChangesWithLocalizedAttributes()voidshouldProperlyHandleCyclicAuditConfiguration()voidshouldReturnAuditRecordsForConfigAndDataDefinedInMainSetup()voidshouldReturnAuditRecordsForConfigAndDataDefinedInMainSetup_ModifiedAddressRefInUser()-
Methods inherited from class de.hybris.platform.audit.AbstractAuditTest
cleanup, loadConfigFromFile, switchPersitenceLegacyMode
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getApplicationContext, getBeanName, prepareApplicationContextAndSession
-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.hybris.platform.audit.AuditableTest
assumeAuditEnabled
-
-
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception- Overrides:
setUpin classAbstractAuditTest- Throws:
java.lang.Exception
-
shouldReturnAuditRecordsForConfigAndDataDefinedInMainSetup
public void shouldReturnAuditRecordsForConfigAndDataDefinedInMainSetup() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldReturnAuditRecordsForConfigAndDataDefinedInMainSetup_ModifiedAddressRefInUser
public void shouldReturnAuditRecordsForConfigAndDataDefinedInMainSetup_ModifiedAddressRefInUser() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldProperlyHandleCyclicAuditConfiguration
public void shouldProperlyHandleCyclicAuditConfiguration() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldNotStoreAuditRecordsWhenThereAreNoSignificantChanges
public void shouldNotStoreAuditRecordsWhenThereAreNoSignificantChanges() throws java.lang.Exception- Throws:
java.lang.Exception
-
shouldNotStoreAuditRecordsWhenThereAreNoSignificantChangesWithLocalizedAttributes
public void shouldNotStoreAuditRecordsWhenThereAreNoSignificantChangesWithLocalizedAttributes() throws java.lang.Exception- Throws:
java.lang.Exception
-
-