de.smartics.xml
Class CopyReaderTest

Package class diagram package CopyReaderTest
java.lang.Object
  extended by de.smartics.xml.CopyReaderTest

public class CopyReaderTest
     
     
extends Object

Tests CopyReader.

Author:
Robert Reiner

Constructor Summary
CopyReaderTest()
           
 
Method Summary
 void charsOnly()
          Tests a fragment that contains only characters.
 void oneElement()
          Tests a fragment that contains one element.
 void setUp()
          Sets up the test environment.
 void subElements()
          Tests a fragment that contains elements within a fragment that starts with text.
 void subElementsWhitspaces()
          Tests a fragment that contains elements within a fragment that starts with a whitespace text.
 void tearDown()
          Tears down the test environment.
 void tree()
          Tests a fragment that contains an element tree.
 void treeWhitespaces()
          Tests a fragment that contains an element tree, but starts with whitespaces.
 void treeWithAttributes()
          Tests a fragment that contains elements with attributes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CopyReaderTest

public CopyReaderTest()
Method Detail

setUp

public void setUp()
           throws Exception
Sets up the test environment.

Throws:
Exception - on any problem encountered.

tearDown

public void tearDown()
              throws Exception
Tears down the test environment.

Throws:
Exception - on any problem encountered.

charsOnly

public void charsOnly()
               throws XMLStreamException
Tests a fragment that contains only characters.

Throws:
XMLStreamException - never.

oneElement

public void oneElement()
                throws XMLStreamException
Tests a fragment that contains one element.

Throws:
XMLStreamException - never.

subElements

public void subElements()
                 throws XMLStreamException
Tests a fragment that contains elements within a fragment that starts with text.

Throws:
XMLStreamException - never.

subElementsWhitspaces

public void subElementsWhitspaces()
                           throws XMLStreamException
Tests a fragment that contains elements within a fragment that starts with a whitespace text.

Throws:
XMLStreamException - never.

tree

public void tree()
          throws XMLStreamException
Tests a fragment that contains an element tree. The root element has the same generic identifier as the artifical root element used by the UUT.

Throws:
XMLStreamException - never.

treeWhitespaces

public void treeWhitespaces()
                     throws XMLStreamException
Tests a fragment that contains an element tree, but starts with whitespaces.

Throws:
XMLStreamException - never.

treeWithAttributes

public void treeWithAttributes()
                        throws XMLStreamException
Tests a fragment that contains elements with attributes.

Throws:
XMLStreamException - never.


Copyright © 2010-2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.