net.sf.jsefa.test.xml
Class TypeCycleTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by net.sf.jsefa.test.xml.TypeCycleTest
All Implemented Interfaces:
junit.framework.Test

public class TypeCycleTest
extends junit.framework.TestCase

Tests to test the correct serialization/deserialization when a cycle in the type mapping graph exists.

Author:
Norman Lahme-Huetig

Constructor Summary
TypeCycleTest()
           
 
Method Summary
 void testPolymorphicCycle()
          Tests a cycle in the type mapping graph where the revisited type has subtypes which have not been mapped at the point of cycle detection.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TypeCycleTest

public TypeCycleTest()
Method Detail

testPolymorphicCycle

public void testPolymorphicCycle()
Tests a cycle in the type mapping graph where the revisited type has subtypes which have not been mapped at the point of cycle detection.



Copyright © 2014. All rights reserved.