ma.glasnost.orika.test.map
Class MapGenerationTestCase

java.lang.Object
  extended by ma.glasnost.orika.test.map.MapGenerationTestCase

public class MapGenerationTestCase
extends Object


Nested Class Summary
static class MapGenerationTestCase.GenericDto
           
static class MapGenerationTestCase.Grade
           
static class MapGenerationTestCase.MapWithoutSetter
           
static class MapGenerationTestCase.MapWithSetter
           
static class MapGenerationTestCase.MapWithSetterDto
           
static class MapGenerationTestCase.MapWithSetterDto2
           
static class MapGenerationTestCase.MyMapEntry<K,V>
           
 
Constructor Summary
MapGenerationTestCase()
           
 
Method Summary
 void testArrayToMapGeneration()
           
 void testListToMapGeneration()
           
 void testMapToArrayGeneration()
           
 void testMapToListGeneration()
           
 void testMapToMapGeneration_noSetter()
           
 void testMapToMapGeneration()
           
 void testNewSyntax_mapToArrays()
           
 void testNewSyntax_mapToArraysWithUnequalSize()
           
 void testNewSyntax_multipleParallel()
          Demonstrates how a single field can be mapped to more than one destination, in both directions.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapGenerationTestCase

public MapGenerationTestCase()
Method Detail

testMapToMapGeneration

public void testMapToMapGeneration()
                            throws Exception
Throws:
Exception

testMapToMapGeneration_noSetter

public void testMapToMapGeneration_noSetter()
                                     throws Exception
Throws:
Exception

testMapToArrayGeneration

public void testMapToArrayGeneration()
                              throws Exception
Throws:
Exception

testMapToListGeneration

public void testMapToListGeneration()
                             throws Exception
Throws:
Exception

testListToMapGeneration

public void testListToMapGeneration()
                             throws Exception
Throws:
Exception

testArrayToMapGeneration

public void testArrayToMapGeneration()
                              throws Exception
Throws:
Exception

testNewSyntax_mapToArrays

public void testNewSyntax_mapToArrays()
                               throws Exception
Throws:
Exception

testNewSyntax_mapToArraysWithUnequalSize

public void testNewSyntax_mapToArraysWithUnequalSize()
                                              throws Exception
Throws:
Exception

testNewSyntax_multipleParallel

public void testNewSyntax_multipleParallel()
                                    throws Exception
Demonstrates how a single field can be mapped to more than one destination, in both directions.

Throws:
Exception


Copyright © 2012 Glasnost. All Rights Reserved.