ma.glasnost.orika.test
Class MappingUtil

java.lang.Object
  extended by ma.glasnost.orika.test.MappingUtil

public abstract class MappingUtil
extends Object


Field Summary
static String DISABLE_DEBUG_MODE
          Set this system property to true (typically during a build) to make sure no unit tests are inadvertently using debug mode (EclipseJdtCompilerStrategy); we have a special TestSuite which re-runs all unit tests using EclipseJdtCompilerStrategy, so if any unit tests are explicitly using it, they will prevent testing with JavassistCompilerStrategy
 
Constructor Summary
MappingUtil()
           
 
Method Summary
static MapperFactory getMapperFactory()
           
static MapperFactory getMapperFactory(boolean debugMode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DISABLE_DEBUG_MODE

public static final String DISABLE_DEBUG_MODE
Set this system property to true (typically during a build) to make sure no unit tests are inadvertently using debug mode (EclipseJdtCompilerStrategy); we have a special TestSuite which re-runs all unit tests using EclipseJdtCompilerStrategy, so if any unit tests are explicitly using it, they will prevent testing with JavassistCompilerStrategy

See Also:
Constant Field Values
Constructor Detail

MappingUtil

public MappingUtil()
Method Detail

getMapperFactory

public static MapperFactory getMapperFactory()
Returns:
a new default instance of MapperFactory

getMapperFactory

public static MapperFactory getMapperFactory(boolean debugMode)
Parameters:
debugMode - if true, EclipseJdt will be used for the compiler strategy (for step-debugging in IDEs), and class and source files will be written to disk.
Returns:
a new default instance of MapperFactory, with the specified debug mode configuration.


Copyright © 2012 Glasnost. All Rights Reserved.