Class FactorValueServiceTest
- java.lang.Object
-
- org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
-
- org.springframework.test.context.junit4.AbstractTransactionalJUnit4SpringContextTests
-
- ubic.gemma.core.util.test.BaseDatabaseTest
-
- ubic.gemma.model.expression.experiment.FactorValueServiceTest
-
- All Implemented Interfaces:
Aware
,ApplicationContextAware
@ContextConfiguration public class FactorValueServiceTest extends BaseDatabaseTest
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class ubic.gemma.core.util.test.BaseDatabaseTest
BaseDatabaseTest.BaseDatabaseTestContextConfiguration, BaseDatabaseTest.DataSourceInitializer
-
-
Field Summary
-
Fields inherited from class ubic.gemma.core.util.test.BaseDatabaseTest
aclService, sessionFactory
-
Fields inherited from class org.springframework.test.context.junit4.AbstractTransactionalJUnit4SpringContextTests
jdbcTemplate, simpleJdbcTemplate
-
Fields inherited from class org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
applicationContext, logger
-
-
Constructor Summary
Constructors Constructor Description FactorValueServiceTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
tearDown()
void
testClearNeedsAttentionFlag()
void
testClearNeedsAttentionFlagThatAlreadyNeedsAttention()
void
testClearNeedsAttentionFlagWhenANeedsAttentionEventWasResolved()
void
testCreateStatement()
void
testCreateStatementWithDetachedFactorValue()
void
testRemoveDetachedStatementFromDetachedFactorValue()
void
testRemoveStatement()
void
testRemoveUnrelatedStatementRaisesAnException()
void
testSaveStatement()
-
Methods inherited from class org.springframework.test.context.junit4.AbstractTransactionalJUnit4SpringContextTests
countRowsInTable, countRowsInTableWhere, deleteFromTables, dropTables, executeSqlScript, setDataSource, setSqlScriptEncoding
-
Methods inherited from class org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
setApplicationContext
-
-
-
-
Method Detail
-
tearDown
public void tearDown()
-
testCreateStatement
public void testCreateStatement()
-
testCreateStatementWithDetachedFactorValue
public void testCreateStatementWithDetachedFactorValue()
-
testSaveStatement
public void testSaveStatement()
-
testRemoveStatement
public void testRemoveStatement()
-
testRemoveDetachedStatementFromDetachedFactorValue
public void testRemoveDetachedStatementFromDetachedFactorValue()
-
testRemoveUnrelatedStatementRaisesAnException
public void testRemoveUnrelatedStatementRaisesAnException()
-
testClearNeedsAttentionFlag
public void testClearNeedsAttentionFlag()
-
testClearNeedsAttentionFlagThatAlreadyNeedsAttention
public void testClearNeedsAttentionFlagThatAlreadyNeedsAttention()
-
testClearNeedsAttentionFlagWhenANeedsAttentionEventWasResolved
public void testClearNeedsAttentionFlagWhenANeedsAttentionEventWasResolved()
-
-