org.w3c.domts

Class DOMTestSuite

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. setLibrary should be called before the completion of the constructor in the derived class.
protected DOMTestSuite(DOMTestDocumentBuilderFactory factory)
This constructor is used for suites that make no additional requirements on the parser configuration.
Method Summary
abstract voidbuild(DOMTestSink sink)
Adds a test to the test suite.

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.