Keel 2.1RC2

org.apache.avalon.framework.configuration.test
Class SAXConfigurationHandlerTestCase

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.apache.avalon.framework.configuration.test.SAXConfigurationHandlerTestCase
All Implemented Interfaces:
junit.framework.Test

public final class SAXConfigurationHandlerTestCase
extends junit.framework.TestCase

Test the basic public methods of SAXConfigurationHandlerTestCase.

Author:

Field Summary
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
SAXConfigurationHandlerTestCase()
           
SAXConfigurationHandlerTestCase(java.lang.String name)
           
 
Method Summary
 void testDefaultHandling()
          Test the ContentHandler.
 void testNamespaceHandling()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, 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

SAXConfigurationHandlerTestCase

public SAXConfigurationHandlerTestCase()

SAXConfigurationHandlerTestCase

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

testDefaultHandling

public void testDefaultHandling()
                         throws java.lang.Exception
Test the ContentHandler. The XML created should look like this:
   <rawName attqName="attValue">
     <child:localName xmlns:child="namespaceURI">value</child:localName>
     <emptyElement/>
   </rawName>
 

Throws:
java.lang.Exception

testNamespaceHandling

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

Keel 2.1RC2

Please see keelframework.org for information about new Keel releases.