XQTSResult.xsd format, and provides access to the reported results.
More...
#include <TestResultHandler.h>
Inheritance diagram for KXQTS::TestResultHandler:

Public Types | |
| typedef QHash< QString, QString > | CommentHash |
| typedef QHash< QString, TestResult::Status > | Hash |
Public Member Functions | |
| CommentHash | comments () const |
| virtual bool | endDocument () |
| Hash | result () const |
| virtual bool | startElement (const QString &namespaceURI, const QString &localName, const QString &qName, const QXmlAttributes &atts) |
| TestResultHandler () | |
XQTSResult.xsd format, and provides access to the reported results.
Definition at line 33 of file TestResultHandler.h.
| typedef QHash<QString, QString> KXQTS::TestResultHandler::CommentHash |
A hash mapping test-case names to their' comments.
Definition at line 45 of file TestResultHandler.h.
| typedef QHash<QString, TestResult::Status> KXQTS::TestResultHandler::Hash |
A hash where the key is the class's name, that is test-case/@name, and the value the test's result status.
Definition at line 40 of file TestResultHandler.h.
| TestResultHandler::TestResultHandler | ( | ) |
Creates a TestResultHandler that will read file when run() is called.
Definition at line 23 of file TestResultHandler.cpp.
| bool TestResultHandler::endDocument | ( | ) | [virtual] |
Performs finalization.
Definition at line 54 of file TestResultHandler.cpp.
| TestResultHandler::Hash TestResultHandler::result | ( | ) | const |
Definition at line 61 of file TestResultHandler.cpp.
Referenced by KXQTS::Worker::threadFinished().
| bool TestResultHandler::startElement | ( | const QString & | namespaceURI, | |
| const QString & | localName, | |||
| const QString & | qName, | |||
| const QXmlAttributes & | atts | |||
| ) | [virtual] |
Reads the test-case element and its attributes, everything else is ignored.
Definition at line 30 of file TestResultHandler.cpp.
References KXQTS::TestResult::statusFromString(), and KXQTS::Global::xqtsResultNS.
Here is the call graph for this function:

1.5.1