Class AuditTrailServiceImplTest
- java.lang.Object
-
- org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
-
- ubic.gemma.core.util.test.BaseIntegrationTest
-
- ubic.gemma.core.util.test.BaseSpringContextTest
-
- ubic.gemma.persistence.service.common.auditAndSecurity.AuditTrailServiceImplTest
-
- All Implemented Interfaces:
Aware
,ApplicationContextAware
public class AuditTrailServiceImplTest extends BaseSpringContextTest
- Author:
- pavlidis
-
-
Field Summary
-
Fields inherited from class ubic.gemma.core.util.test.BaseSpringContextTest
externalDatabaseService, log, persisterHelper, rule, taxonService, testHelper
-
Fields inherited from class org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
applicationContext, logger
-
-
Constructor Summary
Constructors Constructor Description AuditTrailServiceImplTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setUp()
void
tearDown()
void
testAddDoesNotNeedsAttentionEvent()
void
testAddEventWhenTransactionIsRolledBack()
void
testAddEventWhenTransactionIsRolledBack2()
void
testAddExceptionEventOnTransientEntity()
void
testAddNeedsAttentionEvent()
void
testAddOKEvent()
void
testAddTroubleEvent()
void
testAddTroubleEventOnTransientEntity()
void
testAddTroubleEventWhenCurationDetailsAreModified()
void
testAddUpdateEventAuditableAuditEventTypeString()
void
testAddUpdateEventAuditableString()
void
testAddUpdateEventOnTransientEntity()
void
testGetEntitiesWithEvent()
-
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, setTestCollectionSize
-
Methods inherited from class ubic.gemma.core.util.test.BaseIntegrationTest
setUpAuthentication, tearDownSecurityContext
-
Methods inherited from class org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
setApplicationContext
-
-
-
-
Method Detail
-
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()
-
-