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