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

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.LazyNameTestCase
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
TestGetLocalName, TestGetNamespace, TestGetNamespaceURI, TestGetPrefix

public abstract class LazyNameTestCase
extends AxiomTestCase


Field Summary
protected  QName qname
           
protected  OMSourcedElementVariant variant
           
 
Fields inherited from class org.apache.axiom.ts.AxiomTestCase
metaFactory, TEST_PARSER_CONFIGURATION
 
Constructor Summary
LazyNameTestCase(OMMetaFactory metaFactory, OMSourcedElementVariant variant, QName qname)
           
 
Method Summary
protected  void runTest()
           
protected abstract  void runTest(OMSourcedElement element)
           
 
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, 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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

variant

protected final OMSourcedElementVariant variant

qname

protected final QName qname
Constructor Detail

LazyNameTestCase

public LazyNameTestCase(OMMetaFactory metaFactory,
                        OMSourcedElementVariant variant,
                        QName qname)
Method Detail

runTest

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

runTest

protected abstract void runTest(OMSourcedElement element)
                         throws Throwable
Throws:
Throwable


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