net.sf.jsefa.test.all
Class TypeReductionTest

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

public class TypeReductionTest
extends junit.framework.TestCase

Tests for testing the correct serialization when a subtype of an expected type is given (without polymorphism).

The expected result is that the known super type is determined and the fields of this supertype are serialized (and not the additional fields of the subtype).

Author:
Norman Lahme-Huetig

Constructor Summary
TypeReductionTest()
           
 
Method Summary
 void testAtEntryPointLevelCSV()
          Test type reduction at entry point level (CSV).
 void testAtEntryPointLevelFLR()
          Test type reduction at entry point level (FLR).
 void testAtEntryPointLevelXML()
          Test type reduction at entry point level (XML).
 void testAtLevel1CSV()
          Test type reduction at level 1 of the object hierarchy (CSV).
 void testAtLevel1FLR()
          Test type reduction at level 1 of the object hierarchy (FLR).
 void testAtLevel1XML()
          Test type reduction at level 1 of the object hierarchy (XML).
 
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

TypeReductionTest

public TypeReductionTest()
Method Detail

testAtEntryPointLevelCSV

public void testAtEntryPointLevelCSV()
Test type reduction at entry point level (CSV).


testAtEntryPointLevelFLR

public void testAtEntryPointLevelFLR()
Test type reduction at entry point level (FLR).


testAtEntryPointLevelXML

public void testAtEntryPointLevelXML()
Test type reduction at entry point level (XML).


testAtLevel1CSV

public void testAtLevel1CSV()
Test type reduction at level 1 of the object hierarchy (CSV).


testAtLevel1FLR

public void testAtLevel1FLR()
Test type reduction at level 1 of the object hierarchy (FLR).


testAtLevel1XML

public void testAtLevel1XML()
Test type reduction at level 1 of the object hierarchy (XML).



Copyright © 2014. All rights reserved.