org.w3c.domts

Class DOMTestSuite

Known Direct Subclasses:
alltests

public abstract class DOMTestSuite
extends DOMTest

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

Constructor Summary

DOMTestSuite()
This constructor is used for suites that assert one or more implementation attributes or features.
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

Constructor Details

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 Details

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.