com.ail.coretest
Class TestCoreXMLStringMapping

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.ail.coretest.CoreUserTestCase
              extended by com.ail.coretest.TestCoreXMLStringMapping
All Implemented Interfaces:
ConfigurationOwner, CoreUser, java.io.Serializable, junit.framework.Test

public class TestCoreXMLStringMapping
extends CoreUserTestCase

Test the core system's XML data mapping facilities.

Version:
$Revision$
Author:
$Author$
See Also:
Serialized Form

Constructor Summary
TestCoreXMLStringMapping(java.lang.String name)
          Constructs a test case with the given name.
 
Method Summary
static void main(java.lang.String[] args)
           
static junit.framework.Test suite()
           
 void testSimpleFromXML()
           
 void testSimpleToXML()
          Objects that contains instances of XMLString need special handling if the data in the XMLString is to be represented 'in line' within the XML produced by toXML.
 
Methods inherited from class com.ail.coretest.CoreUserTestCase
getConfiguration, getConfigurationNamespace, getCore, getSecurityPrincipal, getVersionEffectiveDate, resetConfiguration, setConfiguration, setCore, setupSystemProperties, setVersionEffectiveDate
 
Methods inherited from class junit.framework.TestCase
countTestCases, getName, run, run, runBare, setName, 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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestCoreXMLStringMapping

public TestCoreXMLStringMapping(java.lang.String name)
Constructs a test case with the given name.

Method Detail

suite

public static junit.framework.Test suite()

main

public static void main(java.lang.String[] args)

testSimpleToXML

public void testSimpleToXML()
                     throws java.lang.Exception
Objects that contains instances of XMLString need special handling if the data in the XMLString is to be represented 'in line' within the XML produced by toXML. This test checks that the handling is working.

Throws:
java.lang.Exception

testSimpleFromXML

public void testSimpleFromXML()
                       throws java.lang.Exception
Throws:
java.lang.Exception