Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jdaemon.util.data.xml
Class TestXMLDataRepresentation  view TestXMLDataRepresentation download TestXMLDataRepresentation.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.jdaemon.util.data.xml.TestXMLDataRepresentation
All Implemented Interfaces:
junit.framework.Test

public class TestXMLDataRepresentation
extends junit.framework.TestCase


Nested Class Summary
static class TestXMLDataRepresentation.Drawable
           
static class TestXMLDataRepresentation.Polygon
           
static class TestXMLDataRepresentation.Rectangle
           
static class TestXMLDataRepresentation.TypeLibrary
           
 
Field Summary
(package private)  org.w3c.dom.Document document
           
(package private)  TestXMLDataRepresentation.Polygon polygon
           
(package private)  TestXMLDataRepresentation.Rectangle rectangle
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
TestXMLDataRepresentation(java.lang.String name)
           
 
Method Summary
 void DumpDocument()
           
static void main(java.lang.String[] args)
           
 void setUp()
          Sets up the fixture, for example, open a network connection.
static junit.framework.Test suite()
           
 void testPolygonRead()
           
 void testPolygonWrite()
           
 void testRectangleRead()
           
 void testRectangleWrite()
           
 
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
 

Field Detail

document

org.w3c.dom.Document document

rectangle

TestXMLDataRepresentation.Rectangle rectangle

polygon

TestXMLDataRepresentation.Polygon polygon
Constructor Detail

TestXMLDataRepresentation

public TestXMLDataRepresentation(java.lang.String name)
Method Detail

setUp

public void setUp()
Description copied from class: junit.framework.TestCase
Sets up the fixture, for example, open a network connection. This method is called before a test is executed.


DumpDocument

public void DumpDocument()

testPolygonWrite

public void testPolygonWrite()

testRectangleWrite

public void testRectangleWrite()

testRectangleRead

public void testRectangleRead()
                       throws org.jdaemon.util.data.ReadError,
                              org.jdaemon.util.data.ObjectInstantiationError

testPolygonRead

public void testPolygonRead()
                     throws org.jdaemon.util.data.ReadError,
                            org.jdaemon.util.data.ObjectInstantiationError

suite

public static junit.framework.Test suite()

main

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