org.ujac.util.xml.test
Class DynamicObjectSerializerTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.ujac.util.xml.test.DynamicObjectSerializerTest
All Implemented Interfaces:
junit.framework.Test

public class DynamicObjectSerializerTest
extends junit.framework.TestCase

Name: DynamicObjectSerializerTest
Description: Test cases for the DynamicObjectSerializer component.

Author:
lauerc

Constructor Summary
DynamicObjectSerializerTest()
           
 
Method Summary
static void main(String[] args)
          Runs all test cases.
protected  void setUp()
           
 void testAttributeNameConversion()
          Tests attribute name conversion.
 void testCollectionParser()
          Tests the serializer.
 void testCollectionSerializer()
          Tests the serializer.
 void testParser()
          Tests the parser.
 void testSerializer()
          Tests the serializer.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DynamicObjectSerializerTest

public DynamicObjectSerializerTest()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception
See Also:
TestCase.setUp()

testAttributeNameConversion

public void testAttributeNameConversion()
Tests attribute name conversion.


testSerializer

public void testSerializer()
                    throws Exception
Tests the serializer.

Throws:
Exception - In case serialization/deserialization failed.

testParser

public void testParser()
                throws Exception
Tests the parser.

Throws:
Exception - In case serialization/deserialization failed.

testCollectionSerializer

public void testCollectionSerializer()
                              throws Exception
Tests the serializer.

Throws:
Exception - In case serialization/deserialization failed.

testCollectionParser

public void testCollectionParser()
                          throws Exception
Tests the serializer.

Throws:
Exception - In case serialization/deserialization failed.

main

public static void main(String[] args)
Runs all test cases.

Parameters:
args - The command line arguments.


Copyright © 2003-2004 UJAC.org. All Rights Reserved.