Package ubic.gemma.core.context
Class AsyncFactoryTest
- java.lang.Object
-
- org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
-
- ubic.gemma.core.context.AsyncFactoryTest
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
@DirtiesContext(classMode=AFTER_EACH_TEST_METHOD) @ContextConfiguration public class AsyncFactoryTest extends org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AsyncFactoryTest.MyService
static class
AsyncFactoryTest.MyServiceFactory
-
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()
-
-
-
Method Detail
-
testGetBeanAsync
public void testGetBeanAsync()
-
testGetBeanAsyncThenWait
public void testGetBeanAsyncThenWait() throws ExecutionException, InterruptedException
-
testGetBeanAsyncThenCancel
public void testGetBeanAsyncThenCancel()
-
testGetBean
public void testGetBean() throws ExecutionException, InterruptedException
-
-