Class RawExpressionDataVectorTest
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.bioAssayData.RawExpressionDataVectorTest
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
-
Nested Class Summary
Nested classes/interfaces inherited from class ubic.gemma.core.util.test.BaseDatabaseTest
BaseDatabaseTest.BaseDatabaseTestContextConfiguration -
Field Summary
Fields inherited from class ubic.gemma.core.util.test.BaseDatabaseTest
sessionFactoryFields inherited from class org.springframework.test.context.junit4.AbstractTransactionalJUnit4SpringContextTests
jdbcTemplate, simpleJdbcTemplateFields inherited from class org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
applicationContext, logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetUp()voidvoidThis test ensures that theRawExpressionDataVectorNumberOfCellsis properly deleted when orphaned (e.g.voidMethods inherited from class ubic.gemma.core.util.test.BaseDatabaseTest
flushAndClearSessionMethods inherited from class org.springframework.test.context.junit4.AbstractTransactionalJUnit4SpringContextTests
countRowsInTable, countRowsInTableWhere, deleteFromTables, dropTables, executeSqlScript, setDataSource, setSqlScriptEncodingMethods inherited from class org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
setApplicationContext
-
Constructor Details
-
RawExpressionDataVectorTest
public RawExpressionDataVectorTest()
-
-
Method Details
-
setUp
public void setUp() -
testNumberOfCellsIsDeletedWhenOrphaned
public void testNumberOfCellsIsDeletedWhenOrphaned()This test ensures that theRawExpressionDataVectorNumberOfCellsis properly deleted when orphaned (e.g. when theRawExpressionDataVector.setNumberOfCells(int[])is called withnull). -
testNumberOfCellsObjectIsReusedWhenAssigned
public void testNumberOfCellsObjectIsReusedWhenAssigned() -
testDeleteRawVectorsWithNumberOfCells
public void testDeleteRawVectorsWithNumberOfCells()
-