org.w3c.domts
Class DOMTestSuite

java.lang.Object
  extended byorg.w3c.domts.DOMTest
      extended byorg.w3c.domts.DOMTestSuite
Direct Known Subclasses:
alltests

public abstract class DOMTestSuite
extends DOMTest

Abstract base class for all test suites (that is any collection of DOMTest's)


Constructor Summary
protected DOMTestSuite()
          This constructor is used for suites that assert one or more implementation attributes or features.
protected DOMTestSuite(DOMTestDocumentBuilderFactory factory)
          This constructor is used for suites that make no additional requirements on the parser configuration.
 
Method Summary
abstract  void build(DOMTestSink sink)
          Adds a test to the test suite.
 
Methods inherited from class org.w3c.domts.DOMTest
createStream, createTempURI, createXPathEvaluator, getContentType, getFactory, getImplementation, getMutationCount, getResourceURI, getTargetURI, hasFeature, hasSetting, isCoalescing, isExpandEntityReferences, isHasNullString, isIgnoringElementContentWhitespace, isNamespaceAware, isSigned, isValidating, load, preload, setFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DOMTestSuite

protected DOMTestSuite()
This constructor is used for suites that assert one or more implementation attributes or features. setLibrary should be called before the completion of the constructor in the derived class.


DOMTestSuite

protected DOMTestSuite(DOMTestDocumentBuilderFactory factory)
This constructor is used for suites that make no additional requirements on the parser configuration.

Parameters:
factory - may not be null
Method Detail

build

public abstract void build(DOMTestSink sink)
Adds a test to the test suite. This method can only be run after the test suite has been attached to a test framework since each framework implements test suites in different manners.