org.apache.commons.betwixt.io.read
Class TestReadContext

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.commons.betwixt.xmlunit.XmlTestCase
              extended by org.apache.commons.betwixt.AbstractTestCase
                  extended by org.apache.commons.betwixt.io.read.TestReadContext
All Implemented Interfaces:
junit.framework.Test

public class TestReadContext
extends AbstractTestCase

Test harness for ReadContext

Version:
$Id: TestReadContext.java 438373 2006-08-30 05:17:21Z bayard $
Author:
Robert Burrell Donkin

Field Summary
 
Fields inherited from class org.apache.commons.betwixt.AbstractTestCase
basedir
 
Fields inherited from class org.apache.commons.betwixt.xmlunit.XmlTestCase
debug
 
Constructor Summary
TestReadContext(java.lang.String name)
           
 
Method Summary
static junit.framework.Test suite()
           
 void testElementStackMarkedPushPop()
           
 void testElementStackPushPop()
           
 void testGetCurrentElement()
           
 void testLastMappedClassBottomClass()
           
 void testLastMappedClassNoClass()
           
 void testLastMappedClassTopClass()
           
 void testLastMappedClassTwoClasses()
           
 void testNullElementNameMatchesAll()
           
 
Methods inherited from class org.apache.commons.betwixt.AbstractTestCase
createBean, getTestFile, getTestFileURL
 
Methods inherited from class org.apache.commons.betwixt.xmlunit.XmlTestCase
createDocumentBuilder, getDomFactory, isValid, parseFile, parseString, parseString, validateWithSchema, xmlAssertIsomorphic, xmlAssertIsomorphic, xmlAssertIsomorphic, xmlAssertIsomorphic, xmlAssertIsomorphicContent, xmlAssertIsomorphicContent, xmlAssertIsomorphicContent, xmlAssertIsomorphicContent, xmlAssertIsValid, xmlAssertIsValid
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestReadContext

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

suite

public static junit.framework.Test suite()

testElementStackPushPop

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

testElementStackMarkedPushPop

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

testLastMappedClassNoClass

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

testGetCurrentElement

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

testLastMappedClassBottomClass

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

testLastMappedClassTwoClasses

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

testLastMappedClassTopClass

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

testNullElementNameMatchesAll

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


Copyright © 2002-2008 The Apache Software Foundation. All Rights Reserved.