KXQTS::TestSuiteHandler Class Reference

Creates a TestSuite from the XQuery Test Suite catalog, represented as a SAX stream. More...

#include <TestSuiteHandler.h>

Collaboration diagram for KXQTS::TestSuiteHandler:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual bool characters (const QString &ch)
virtual bool endElement (const QString &namespaceURI, const QString &localName, const QString &qName)
virtual bool startElement (const QString &namespaceURI, const QString &localName, const QString &qName, const QXmlAttributes &atts)
virtual TestSuitetestSuite () const
 TestSuiteHandler (const QUrl &catalogFile, const bool useExclusionList)

Detailed Description

Creates a TestSuite from the XQuery Test Suite catalog, represented as a SAX stream.

The created TestSuite can be retrieved via testSuite().

Note:
TestSuiteHandler assumes the XML is valid by having been validated against the W3C XML Schema. It have no safety checks for that the XML format is correct but is hard coded for it. Thus, the behavior is undefined if the XML is invalid.
Author:
Frans Englich <frans.englich@telia.com>

Definition at line 44 of file TestSuiteHandler.h.


Constructor & Destructor Documentation

TestSuiteHandler::TestSuiteHandler ( const QUrl &  catalogFile,
const bool  useExclusionList 
)

Parameters:
catalogFile the URI for the catalog file being parsed. This URI is used for creating absolute URIs for files mentioned in the catalog with relative URIs.
useExclusionList whether excludeTestGroups.txt should be used to ignore test groups when loading

Definition at line 27 of file TestSuiteHandler.cpp.


The documentation for this class was generated from the following files:
Generated on Thu Feb 8 14:54:31 2007 for Patternist by  doxygen 1.5.1