net.sf.jsefa.test.all
Class CycleDetectionTest

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

public class CycleDetectionTest
extends junit.framework.TestCase

Tests to test if cycles in the object graph are detected during serialization.

Author:
Norman Lahme-Huetig

Constructor Summary
CycleDetectionTest()
           
 
Method Summary
 void testCSV()
          Tests cycle detection for CSV for a cycle in the graph of types only.
 void testFLR()
          Tests cycle detection for FLR for a cycle in the graph of types only.
 void testXMLForInstanceGraphCycle()
          Tests cycle detection for XML serialization for a cycle in the graph of instances.
 void testXMLForTypeGraphCycle()
          Tests cycle detection for XML for a cycle in the graph of types only (no cycle in the graph of instances).
 
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

CycleDetectionTest

public CycleDetectionTest()
Method Detail

testXMLForInstanceGraphCycle

public void testXMLForInstanceGraphCycle()
Tests cycle detection for XML serialization for a cycle in the graph of instances.


testXMLForTypeGraphCycle

public void testXMLForTypeGraphCycle()
Tests cycle detection for XML for a cycle in the graph of types only (no cycle in the graph of instances).


testCSV

public void testCSV()
Tests cycle detection for CSV for a cycle in the graph of types only.


testFLR

public void testFLR()
Tests cycle detection for FLR for a cycle in the graph of types only.



Copyright © 2014. All rights reserved.