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

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
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
TestComplete, TestExpand, TestName1DefaultPrefix, TestName1QualifiedPrefix, TestName1Unqualified, TestName2DefaultPrefix, TestName2QualifiedPrefix, TestName2Unqualified, TestName3DefaultPrefix, TestName3QualifiedPrefix, TestName3Unqualified, TestName4DefaultPrefix, TestName4QualifiedPrefix, TestName4Unqualified, TestSerializeAndConsumeToStream, TestSerializeAndConsumeToWriter, TestSerializeAndConsumeToXMLWriter, TestSerializeAndConsumeToXMLWriterEmbedded, TestSerializeModifiedOMSEWithNonDestructiveDataSource, TestSerializeToStream, TestSerializeToWriter, TestSerializeToXMLWriter, TestSerializeToXMLWriterEmbedded, TestSerializeToXMLWriterFromReader, TestSerializeToXMLWriterFromReaderEmbedded, TestSetDataSourceOnAlreadyExpandedElement

public abstract class OMSourcedElementTest
extends AxiomTestCase

Tests the characteristics of OMSourcedElementImpl.


Field Summary
protected  OMSourcedElement element
           
protected  OMElement root
           
protected static String testDocument
           
protected static String testDocument2
           
protected static String testDocument3
           
 
Fields inherited from class org.apache.axiom.ts.AxiomTestCase
metaFactory, TEST_PARSER_CONFIGURATION
 
Constructor Summary
OMSourcedElementTest(OMMetaFactory metaFactory)
           
 
Method Summary
protected  void 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, runTest
 
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
 

Field Detail

testDocument

protected static String testDocument

testDocument2

protected static String testDocument2

testDocument3

protected static String testDocument3

element

protected OMSourcedElement element

root

protected OMElement root
Constructor Detail

OMSourcedElementTest

public OMSourcedElementTest(OMMetaFactory metaFactory)
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception


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