Class AbstractServiceTest
java.lang.Object
org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
org.springframework.test.context.junit4.AbstractTransactionalJUnit4SpringContextTests
ubic.gemma.core.util.test.BaseDatabaseTest
ubic.gemma.persistence.service.AbstractServiceTest
- All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from class BaseDatabaseTest
BaseDatabaseTest.BaseDatabaseTestContextConfiguration -
Field Summary
Fields inherited from class BaseDatabaseTest
aclService, 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 TypeMethodDescriptionvoidvoidvoidvoidvoidMethods inherited from class 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
-
AbstractServiceTest
public AbstractServiceTest()
-
-
Method Details
-
testLoadOrFail
public void testLoadOrFail() -
testEnsureInSession
public void testEnsureInSession() -
testEnsureInSessionReturnsOriginalCollectionIfAlreadyInSession
public void testEnsureInSessionReturnsOriginalCollectionIfAlreadyInSession() -
testEnsureInSessionPreserveInputOrder
public void testEnsureInSessionPreserveInputOrder() -
testEnsureInSessionWhenSomeElementsAreNotInSessionOnlyLoadThoseElements
public void testEnsureInSessionWhenSomeElementsAreNotInSessionOnlyLoadThoseElements()
-