|
| | XalanXMLFileReporter (MemoryManager &theManager, const XalanDOMString &fileName) |
| |
| | ~XalanXMLFileReporter () |
| |
| bool | initialize (MemoryManager &theManager) |
| |
| MemoryManager & | getMemoryManager () |
| |
| bool | getFlushOnCaseClose () |
| |
| const XalanDOMString & | getFileName () const |
| |
| void | setFileName (const XalanDOMString &fileName) |
| |
| void | setFileName (const char *fileName, MemoryManager &theManager) |
| |
| bool | checkError () |
| |
| bool | isReady () |
| |
| void | flush () |
| |
| void | close () |
| |
| void | logTestFileInit (const XalanDOMString &msg) |
| | Report that a testfile has started.
|
| |
| void | logTestFileInit (const char *msg) |
| |
| void | logTestFileClose (const XalanDOMString &msg, const XalanDOMString &result) |
| | Report that a testfile has finished, and report it's result.
|
| |
| void | logTestFileClose (const char *msg, const char *result) |
| |
| void | logTestCaseInit (const XalanDOMString &msg) |
| |
| void | logTestCaseInit (const char *msg) |
| |
| void | logTestCaseClose (const XalanDOMString &msg, const XalanDOMString &result) |
| | Report that a testcase has finished, and report it's result.
|
| |
| void | logTestCaseClose (const char *msg, const char *result) |
| |
| void | logMessage (int level, const XalanDOMString &msg) |
| | Report a comment to result file with specified severity.
|
| |
| void | logStatistic (int level, long lVal, double dVal, const XalanDOMString &msg) |
| | Logs out statistics to result file with specified severity.
|
| |
| void | logStatistic (int level, long lVal, double dVal, const char *msg) |
| |
| void | addMetricToAttrs (const char *desc, double theMetric, Hashtable &attrs) |
| |
| void | logElementWAttrs (int level, const XalanDOMString &element, Hashtable &attrs, const XalanDOMString &msg) |
| | Logs out a element to results with specified severity.
|
| |
| void | logElementWAttrs (int level, const char *element, Hashtable &attrs, const char *msg) |
| |
| void | logElement (int level, const XalanDOMString &element, const XalanDOMString &msg) |
| |
| void | logElement (const XalanDOMString &element, const XalanDOMString &msg) |
| |
| void | logArbitraryMessage (int level, const XalanDOMString &msg) |
| | Report an arbitrary XalanDOMString to result file with specified severity.
|
| |
| void | logCheckPass (const XalanDOMString &comment) |
| | Report a complete Hashtable to result file with specified severity.
|
| |
| void | logCheckAmbiguous (const XalanDOMString &comment) |
| | Writes out an ambiguous record with comment.
|
| |
| void | logCheckFail (const XalanDOMString &comment) |
| | Writes out a Fail record with comment.
|
| |
| void | logCheckFail (const XalanDOMString &test, const Hashtable &faildata, const Hashtable &actexp) |
| |
| void | logCheckFail (const XalanDOMString &test, const Hashtable &actexp) |
| |
| void | logErrorResult (const XalanDOMString &test, const XalanDOMString &reason) |
| |
| void | logCheckErr (const XalanDOMString &comment) |
| | Writes out a Error record with comment.
|
| |
| XalanDOMString & | escapestring (const XalanDOMString &s, XalanDOMString &buffer) |
| | Escapes a XalanDOMString to remove <, >, ', &, and " so it's valid XML.
|
| |
Definition at line 51 of file XalanXMLFileReporter.hpp.
Report a complete Hashtable to result file with specified severity.
Indents each hashitem within the table.
Record format: <hashtable level="##" desc="msg"/>
<hashitem key="key1">value1</hashitem>
<hashitem key="key2">value2</hashitem>
</hashtable>
- Parameters
-
| level | severity or class of message. |
| hash | Hashtable to log the contents of. |
| msg | decription of the Hashtable. Writes out a Pass record with comment.
|
Record format: <checkresult result="PASS" desc="comment"/>
- Parameters
-
| comment | comment to log with the pass record. |