org.apache.commons.betwixt
Class AbstractTestCase

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
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
RSSBeanReader, RSSBeanWriter, SampleBeanWriter, TestAbstractBeanWriter, TestArrayMaps, TestArrays, TestAttributeQNameProblem, TestAttributeSuppression, TestBaseMappingStrategy, TestBeanCreation, TestBeanReader, TestBeanWriter, TestBindTimeTypeMapping, TestClassProperty, TestCollectionMapping, TestCollectionMapping2, TestCollectives, TestConversionFlavour, TestCustomDotBetwixt, TestDeclarativeIntrospection, TestDerived, TestDescriptors, TestDotBetwixtNamespace, TestDynaBeanSupport, TestIDRead, TestIdStorageStrategy, TestIgnoreEmptyElements, TestMappingActions, TestMaps, TestMaps, TestMapUpdater, TestMixedCollection, TestMixedCollections, TestMixedContentEncoding, TestMultiMap, TestMultiMapping, TestMultipleCollectionMappings, TestNamespaces, TestNoWrap, TestPolyList, TestPolyListHolder, TestPolymorphic, TestPrettyPrint, TestReadContext, TestReadData, TestRecursion, TestRecursiveBeanSchemaGeneration, TestReferenceMapping, TestRSS, TestSAXBeanWriter, TestScarabSettings, TestSchema, TestSchemaGeneration, TestSchemaTranscriber, TestSchemaValidity, TestSharedIDGeneration, TestSimpleTypeMapper, TestStringCollections, TestSuppressElement, TestTextMapping, TestUpdaters, TestVersioning, TestWriteClass, TestWriteIDs, TestXMLBeanInfoDigester, TestXMLBeanInfoRegistry, TestXMLIntrospector, TestXMLUtils

public abstract class AbstractTestCase
extends XmlTestCase

Abstract base class for test cases.

Version:
$Revision: 438373 $
Author:
James Strachan

Field Summary
 java.lang.String basedir
          Basedir for all i/o
 
Fields inherited from class org.apache.commons.betwixt.xmlunit.XmlTestCase
debug
 
Constructor Summary
AbstractTestCase(java.lang.String testName)
           
 
Method Summary
protected  java.lang.Object createBean()
           
 java.lang.String getTestFile(java.lang.String path)
           
 java.lang.String getTestFileURL(java.lang.String path)
           
 
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
 

Field Detail

basedir

public java.lang.String basedir
Basedir for all i/o

Constructor Detail

AbstractTestCase

public AbstractTestCase(java.lang.String testName)
Method Detail

getTestFile

public java.lang.String getTestFile(java.lang.String path)

getTestFileURL

public java.lang.String getTestFileURL(java.lang.String path)
                                throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException

createBean

protected java.lang.Object createBean()


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