org.apache.axiom.ts.om.sourcedelement
Class TestName3QualifiedPrefix

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.axiom.testutils.suite.TestCaseEx
              extended by org.apache.axiom.ts.AxiomTestCase
                  extended by org.apache.axiom.ts.om.sourcedelement.OMSourcedElementTest
                      extended by org.apache.axiom.ts.om.sourcedelement.TestName3QualifiedPrefix
All Implemented Interfaces:
junit.framework.Test

public class TestName3QualifiedPrefix
extends OMSourcedElementTest

Tests the OMSourcedElement localName, namespace and prefix settings before and after serialization Document: testDocument2 (which uses a qualified prefix) Type of Serialization: Serialize and cache Tests attempt to rename namespace and localpart, which is not allowed


Field Summary
 
Fields inherited from class org.apache.axiom.ts.om.sourcedelement.OMSourcedElementTest
element, root, testDocument, testDocument2, testDocument3
 
Fields inherited from class org.apache.axiom.ts.AxiomTestCase
metaFactory, TEST_PARSER_CONFIGURATION
 
Constructor Summary
TestName3QualifiedPrefix(OMMetaFactory metaFactory)
           
 
Method Summary
protected  void runTest()
           
 
Methods inherited from class org.apache.axiom.ts.om.sourcedelement.OMSourcedElementTest
setUp
 
Methods inherited from class org.apache.axiom.ts.AxiomTestCase
assertConsumed, getChildrenCount, getNumberOfOccurrences
 
Methods inherited from class org.apache.axiom.testutils.suite.TestCaseEx
addTestProperty, getTestProperties
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, 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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestName3QualifiedPrefix

public TestName3QualifiedPrefix(OMMetaFactory metaFactory)
Method Detail

runTest

protected void runTest()
                throws Throwable
Specified by:
runTest in class org.apache.axiom.testutils.suite.TestCaseEx
Throws:
Throwable


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.