net.sf.jsefa.test.rbf
Class SubRecordTest

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

public class SubRecordTest
extends junit.framework.TestCase

Tests to test the FLR serialization/deserialization with sub records.

Author:
Norman Lahme-Huetig

Constructor Summary
SubRecordTest()
           
 
Method Summary
 void testIllegalSingleSubRecordCSV()
          Tests a DTO with a complex field containing a single sub record (CSV).
 void testIllegalSingleSubRecordFLR()
          Tests a DTO with a complex field containing a single sub record (FLR).
 void testMultipleSubRecordListCSV()
          Tests a DTO with multiple sub record lists (CSV).
 void testMultipleSubRecordListFLR()
          Tests a DTO with multiple sub record lists (FLR).
 void testMultipleSubRecordsCSV()
          Tests a DTO with multiple sub records (CSV).
 void testMultipleSubRecordsFLR()
          Tests a DTO with multiple sub records (FLR).
 void testSingleSubRecordCSV()
          Tests a DTO with a single sub record (CSV).
 void testSingleSubRecordDepth1CSV()
          Tests a DTO with a single sub record containing itself a single sub record (CSV).
 void testSingleSubRecordDepth1FLR()
          Tests a DTO with a single sub record containing itself a single sub record (FLR).
 void testSingleSubRecordFLR()
          Tests a DTO with a single sub record (FLR).
 void testSingleSubRecordListCSV()
          Tests a DTO with a single sub record list (CSV).
 void testSingleSubRecordListFLR()
          Tests a DTO with a single sub record list using the short annotation syntax (FLR).
 
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

SubRecordTest

public SubRecordTest()
Method Detail

testSingleSubRecordCSV

public void testSingleSubRecordCSV()
Tests a DTO with a single sub record (CSV).


testSingleSubRecordFLR

public void testSingleSubRecordFLR()
Tests a DTO with a single sub record (FLR).


testMultipleSubRecordsCSV

public void testMultipleSubRecordsCSV()
Tests a DTO with multiple sub records (CSV).


testMultipleSubRecordsFLR

public void testMultipleSubRecordsFLR()
Tests a DTO with multiple sub records (FLR).


testSingleSubRecordListCSV

public void testSingleSubRecordListCSV()
Tests a DTO with a single sub record list (CSV).


testMultipleSubRecordListCSV

public void testMultipleSubRecordListCSV()
Tests a DTO with multiple sub record lists (CSV).


testSingleSubRecordListFLR

public void testSingleSubRecordListFLR()
Tests a DTO with a single sub record list using the short annotation syntax (FLR).


testMultipleSubRecordListFLR

public void testMultipleSubRecordListFLR()
Tests a DTO with multiple sub record lists (FLR).


testSingleSubRecordDepth1CSV

public void testSingleSubRecordDepth1CSV()
Tests a DTO with a single sub record containing itself a single sub record (CSV).


testSingleSubRecordDepth1FLR

public void testSingleSubRecordDepth1FLR()
Tests a DTO with a single sub record containing itself a single sub record (FLR).


testIllegalSingleSubRecordCSV

public void testIllegalSingleSubRecordCSV()
Tests a DTO with a complex field containing a single sub record (CSV). This is not allowed so an exception is expected.


testIllegalSingleSubRecordFLR

public void testIllegalSingleSubRecordFLR()
Tests a DTO with a complex field containing a single sub record (FLR). This is not allowed so an exception is expected.



Copyright © 2014. All rights reserved.