Class AuditTrailServiceImplTest
java.lang.Object
org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
ubic.gemma.core.util.test.BaseTest
ubic.gemma.core.util.test.BaseIntegrationTest
ubic.gemma.core.util.test.BaseSpringContextTest
ubic.gemma.persistence.service.common.auditAndSecurity.AuditTrailServiceImplTest
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
- Author:
- pavlidis
-
Field Summary
Fields inherited from class ubic.gemma.core.util.test.BaseSpringContextTest
externalDatabaseService, log, persisterHelper, rule, taxonService, testHelperFields inherited from class org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
applicationContext, logger -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ubic.gemma.core.util.test.BaseSpringContextTest
addTestAnalyses, countRowsInTable, deleteFromTables, getJdbcTemplate, getNewTestPersistentCompleteExpressionExperiment, getTaxon, getTestNonPersistentBioSequence, getTestPersistentArrayDesign, getTestPersistentArrayDesign, getTestPersistentArrayDesign, getTestPersistentBasicExpressionExperiment, getTestPersistentBasicExpressionExperiment, getTestPersistentBibliographicReference, getTestPersistentBioAssay, getTestPersistentBioAssay, getTestPersistentBioMaterial, getTestPersistentBioMaterial, getTestPersistentBioSequence, getTestPersistentBioSequence, getTestPersistentBioSequence2GeneProducts, getTestPersistentBlatResult, getTestPersistentBlatResult, getTestPersistentCompleteExpressionExperiment, getTestPersistentCompleteExpressionExperimentWithSequences, getTestPersistentCompleteExpressionExperimentWithSequences, getTestPersistentContact, getTestPersistentDatabaseEntry, getTestPersistentDatabaseEntry, getTestPersistentDatabaseEntry, getTestPersistentDatabaseEntry, getTestPersistentDatabaseEntry, getTestPersistentExpressionExperiment, getTestPersistentExpressionExperiment, getTestPersistentGene, getTestPersistentGene, getTestPersistentGeneProduct, getTestPersistentQuantitationType, randomName, resetTestCollectionSize, runAsAdmin, runAsAgent, runAsAnonymous, runAsUser, runAsUser, setTestCollectionSizeMethods inherited from class ubic.gemma.core.util.test.BaseIntegrationTest
setUpAuthentication, tearDownSecurityContextMethods inherited from class org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
setApplicationContext
-
Constructor Details
-
AuditTrailServiceImplTest
public AuditTrailServiceImplTest()
-
-
Method Details
-
setUp
- Throws:
Exception
-
tearDown
public void tearDown() -
testAddOKEvent
public final void testAddOKEvent() -
testAddTroubleEvent
public final void testAddTroubleEvent() -
testAddUpdateEventAuditableAuditEventTypeString
public final void testAddUpdateEventAuditableAuditEventTypeString() -
testAddUpdateEventAuditableString
public final void testAddUpdateEventAuditableString() -
testAddNeedsAttentionEvent
public final void testAddNeedsAttentionEvent() -
testAddDoesNotNeedsAttentionEvent
public final void testAddDoesNotNeedsAttentionEvent() -
testGetEntitiesWithEvent
public final void testGetEntitiesWithEvent() -
testAddEventWhenTransactionIsRolledBack
public void testAddEventWhenTransactionIsRolledBack() -
testAddEventWhenTransactionIsRolledBack2
public void testAddEventWhenTransactionIsRolledBack2() -
testAddTroubleEventWhenCurationDetailsAreModified
public final void testAddTroubleEventWhenCurationDetailsAreModified() -
testAddTroubleEventOnTransientEntity
public void testAddTroubleEventOnTransientEntity() -
testAddUpdateEventOnTransientEntity
public void testAddUpdateEventOnTransientEntity() -
testAddExceptionEventOnTransientEntity
public void testAddExceptionEventOnTransientEntity() -
testLengthyDetail
public void testLengthyDetail()Length audit event detail get abbreviated.
-