public class MultiThreadedTestCase extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
MultiThreadedTestCase.A |
static class |
MultiThreadedTestCase.B |
static class |
MultiThreadedTestCase.Person |
static class |
MultiThreadedTestCase.PersonVO |
| Modifier and Type | Field and Description |
|---|---|
ConcurrentRule |
concurrentRule
Allows us to run methods concurrently by marking with
@Concurrent; note that in the current implementation, such
methods will have the @Before and @After
methods also invoked concurrently. |
| Constructor and Description |
|---|
MultiThreadedTestCase() |
| Modifier and Type | Method and Description |
|---|---|
void |
generateAll() |
void |
testBuildMapper() |
void |
testDefineSingleTypeSimultaneously() |
void |
testDefineTypesSimultaneously()
Verifies that multiple threads requesting the type for the same set of
classes receive the same set of values over a large number of classes.
|
void |
testGenerateMappers() |
void |
testGenerateObjectFactories() |
void |
testGetMapperFacade() |
public ConcurrentRule concurrentRule
@Concurrent; note that in the current implementation, such
methods will have the @Before and @After
methods also invoked concurrently.public void testDefineSingleTypeSimultaneously()
throws InterruptedException
InterruptedExceptionpublic void testDefineTypesSimultaneously()
public void testGenerateMappers()
public void testGenerateObjectFactories()
public void generateAll()
public void testGetMapperFacade()
public void testBuildMapper()
Copyright © 2015 Glasnost. All Rights Reserved.