Package ubic.gemma.core.context
Class AsyncSingletonFactoryTest
- java.lang.Object
-
- org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
-
- ubic.gemma.core.context.AsyncSingletonFactoryTest
-
- All Implemented Interfaces:
Aware,ApplicationContextAware
@DirtiesContext(classMode=AFTER_EACH_TEST_METHOD) @ContextConfiguration public class AsyncSingletonFactoryTest extends AbstractJUnit4SpringContextTests
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAsyncSingletonFactoryTest.MyServicestatic classAsyncSingletonFactoryTest.MyServiceFactory
-
Field Summary
-
Fields inherited from class org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
applicationContext, logger
-
-
Constructor Summary
Constructors Constructor Description AsyncSingletonFactoryTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtestGetBean()voidtestGetBeanAndGetBeanAsync()voidtestGetBeanAsync()voidtestGetBeanAsyncThenCancel()voidtestGetBeanThenCancel()-
Methods inherited from class org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
setApplicationContext
-
-
-
-
Method Detail
-
testGetBeanAsync
public void testGetBeanAsync()
-
testGetBeanAndGetBeanAsync
public void testGetBeanAndGetBeanAsync() throws Exception- Throws:
Exception
-
testGetBeanAsyncThenCancel
public void testGetBeanAsyncThenCancel()
-
testGetBean
public void testGetBean() throws ExecutionException, InterruptedException
-
-