net.sf.jsefa.test.flr
Class FlrFieldLengthTest

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

public class FlrFieldLengthTest
extends junit.framework.TestCase

Tests to test the FLR serialization/deserialization with focus on the length-handling.

Author:
Marko Kovacevic, Norman Lahme-Huetig

Constructor Summary
FlrFieldLengthTest()
           
 
Method Summary
 void testExpectedLength()
          Tests the case that the value has the same length as the FLR field.
 void testLonger()
          Tests the case that the value is longer than the length of the FLR field.
 void testShorter()
          Tests the case that the value is shorter than the length of the FLR field.
 
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

FlrFieldLengthTest

public FlrFieldLengthTest()
Method Detail

testExpectedLength

public void testExpectedLength()
Tests the case that the value has the same length as the FLR field.


testShorter

public void testShorter()
Tests the case that the value is shorter than the length of the FLR field.


testLonger

public void testLonger()
Tests the case that the value is longer than the length of the FLR field.



Copyright © 2014. All rights reserved.