ma.glasnost.orika.test.boundmapperfacade
Class SuperTypeMappingTestCase

java.lang.Object
  extended by ma.glasnost.orika.test.boundmapperfacade.SuperTypeMappingTestCase

public class SuperTypeMappingTestCase
extends Object


Nested Class Summary
static class SuperTypeMappingTestCase.A
           
static class SuperTypeMappingTestCase.B
           
 
Constructor Summary
SuperTypeMappingTestCase()
           
 
Method Summary
 void testMappingInterfaceImplementationNoExistingMapping()
           
 void testMappingInterfaceImplementationWithExistingDirectMapping()
           
 void testMappingInterfaceImplementationWithExistingInheritedMapping()
           
 void testMappingSubclassImplementationWithExistingMapping()
           
 void testMappingSubclassImplementationWithoutExistingMapping()
           
 void testSuperTypeForInaccessibleClassWithAccessibleSupertype()
          This test is a bit complicated: it verifies that super-type lookup occurs properly if presented with a class that is not accessible from the current class loader, but which extends some super-type (or implements an interface) which is accessible.
This type of scenario might occur in web-module to ejb jar interactions...
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SuperTypeMappingTestCase

public SuperTypeMappingTestCase()
Method Detail

testMappingInterfaceImplementationNoExistingMapping

public void testMappingInterfaceImplementationNoExistingMapping()
                                                         throws Exception
Throws:
Exception

testMappingInterfaceImplementationWithExistingDirectMapping

public void testMappingInterfaceImplementationWithExistingDirectMapping()
                                                                 throws Exception
Throws:
Exception

testMappingInterfaceImplementationWithExistingInheritedMapping

public void testMappingInterfaceImplementationWithExistingInheritedMapping()
                                                                    throws Exception
Throws:
Exception

testMappingSubclassImplementationWithoutExistingMapping

public void testMappingSubclassImplementationWithoutExistingMapping()
                                                             throws Exception
Throws:
Exception

testMappingSubclassImplementationWithExistingMapping

public void testMappingSubclassImplementationWithExistingMapping()
                                                          throws Exception
Throws:
Exception

testSuperTypeForInaccessibleClassWithAccessibleSupertype

public void testSuperTypeForInaccessibleClassWithAccessibleSupertype()
                                                              throws Exception
This test is a bit complicated: it verifies that super-type lookup occurs properly if presented with a class that is not accessible from the current class loader, but which extends some super-type (or implements an interface) which is accessible.
This type of scenario might occur in web-module to ejb jar interactions...

Throws:
Exception


Copyright © 2012 Glasnost. All Rights Reserved.