ma.glasnost.orika.test.perf
Class MultiThreadedTestCase

java.lang.Object
  extended by ma.glasnost.orika.test.perf.MultiThreadedTestCase

public class MultiThreadedTestCase
extends Object

Author:
matt.deboer@gmail.com

Nested Class Summary
static class MultiThreadedTestCase.Person
           
static class MultiThreadedTestCase.PersonVO
           
 
Field Summary
 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 Summary
MultiThreadedTestCase()
           
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

concurrentRule

public 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 Detail

MultiThreadedTestCase

public MultiThreadedTestCase()
Method Detail

testDefineSingleTypeSimultaneously

public void testDefineSingleTypeSimultaneously()
                                        throws InterruptedException
Throws:
InterruptedException

testDefineTypesSimultaneously

public 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.


testGenerateMappers

public void testGenerateMappers()

testGenerateObjectFactories

public void testGenerateObjectFactories()


Copyright © 2012 Glasnost. All Rights Reserved.