#include <XalanFileUtility.hpp>
Definition at line 62 of file XalanFileUtility.hpp.
typedef XalanVector<char> XalanFileUtility::CharVectorType |
Definition at line 69 of file XalanFileUtility.hpp.
Definition at line 68 of file XalanFileUtility.hpp.
XalanFileUtility::XalanFileUtility | ( | MemoryManager & | theManager | ) |
Simple constructor, does not perform initialization.
XalanFileUtility::~XalanFileUtility | ( | ) |
void XalanFileUtility::analyzeResults | ( | XalanTransformer & | xalan, | |
const XalanDOMString & | resultsFile | |||
) |
void XalanFileUtility::checkAndCreateDir | ( | const XalanDOMString & | directory | ) |
Utility method used to create default directories when neccessary.
void XalanFileUtility::checkAPIResults | ( | const char * | actual, | |
const char * | expected, | |||
const char * | msg, | |||
XalanXMLFileReporter & | logfile, | |||
const XalanDOMString & | outputFile, | |||
const XalanDOMString & | goldFile, | |||
MemoryManager & | , | |||
bool | containsOnly = false | |||
) | [inline] |
Definition at line 259 of file XalanFileUtility.hpp.
void XalanFileUtility::checkAPIResults | ( | const char * | actual, | |
const char * | expected, | |||
const char * | msg, | |||
XalanXMLFileReporter & | logfile, | |||
const XalanDOMString & | outputFile, | |||
const XalanDOMString & | goldFile, | |||
bool | containsOnly = false | |||
) | [inline] |
Definition at line 280 of file XalanFileUtility.hpp.
void XalanFileUtility::checkAPIResults | ( | const XalanDOMString & | actual, | |
const XalanDOMString & | expected, | |||
const char * | msg, | |||
XalanXMLFileReporter & | logfile, | |||
const XalanDOMString & | outputFile, | |||
const XalanDOMString & | goldFile, | |||
bool | containsOnly = false | |||
) |
bool XalanFileUtility::checkDir | ( | const XalanDOMString & | directory | ) |
Utility method determines if directory exists.
void XalanFileUtility::checkDOMResults | ( | const XalanDOMString & | theOutputFile, | |
const XalanCompiledStylesheet * | compiledSS, | |||
const XalanSourceTreeDocument * | dom, | |||
const XSLTInputSource & | goldInputSource, | |||
XalanXMLFileReporter & | logfile | |||
) |
Utility method used to compare the results.
It inturn call domCompare.
void XalanFileUtility::checkResults | ( | const XalanDOMString & | outputFile, | |
const XalanDOMString & | goldFile, | |||
XalanXMLFileReporter & | logfile | |||
) |
bool XalanFileUtility::compareSerializedResults | ( | const XalanDOMString & | transformResult, | |
const XalanDOMString & | goldInputSource | |||
) |
Utility methods used to diff two attribute nodes.
Utility methods used to diff two Element nodes.
Utility methods used to diff two Element nodes.
Utility methods used to diff two nodes.
Utility methods used to diff two nodes.
Utility methods used to perform a DOM Compare.
bool XalanFileUtility::domCompare | ( | const XalanDocument & | gold, | |
const XalanDocument & | doc | |||
) |
Utility methods used to perform a DOM Compare.
bool XalanFileUtility::fileCompare | ( | const char * | goldFile, | |
const char * | outputFile | |||
) |
XalanDOMString& XalanFileUtility::generateFileName | ( | const XalanDOMString & | theXMLFileName, | |
const char * | suffix, | |||
XalanDOMString & | theResult, | |||
bool * | status = 0 | |||
) |
Utility method used to get OUT file based on XML file.
XalanDOMString& XalanFileUtility::generateUniqRunid | ( | XalanDOMString & | theResult | ) |
Utility method used to generate UniqRunid.
FileNameVectorType& XalanFileUtility::getDirectoryNames | ( | const XalanDOMString & | rootDirectory, | |
FileNameVectorType & | theFiles | |||
) |
Utility method used to get subdirectories from a specific directory.
XalanDOMString& XalanFileUtility::getDrive | ( | XalanDOMString & | theResult | ) |
Utility method used to get test files from a specific directory.
int XalanFileUtility::getFailureCount | ( | ) | const [inline] |
Definition at line 159 of file XalanFileUtility.hpp.
const MemoryManager& XalanFileUtility::getMemoryManager | ( | ) | const [inline] |
Definition at line 410 of file XalanFileUtility.hpp.
MemoryManager& XalanFileUtility::getMemoryManager | ( | ) | [inline] |
Definition at line 416 of file XalanFileUtility.hpp.
bool XalanFileUtility::getParams | ( | int | argc, | |
char * | argv[], | |||
const char * | outDir, | |||
bool | fsetGold = true | |||
) |
FileNameVectorType& XalanFileUtility::getTestFileNames | ( | const XalanDOMString & | baseDir, | |
const XalanDOMString & | relDir, | |||
bool | useDirPrefix, | |||
FileNameVectorType & | theFiles | |||
) |
bool XalanFileUtility::getVerbose | ( | ) | const [inline] |
Definition at line 147 of file XalanFileUtility.hpp.
XalanDOMString& XalanFileUtility::getXercesVersion | ( | XalanDOMString & | theResult | ) |
Utility methods used to get Xerces Version number.
FormatterListener* XalanFileUtility::getXMLFormatter | ( | PrintWriter & | resultWriter, | |
int | indentAmount, | |||
const XalanDOMString & | mimeEncoding, | |||
const StylesheetRoot * | stylesheet | |||
) |
Utility method used to create a FormatterToXML FormatterListener.
This is required to DOM comparisions.
XalanDOMString& XalanFileUtility::getXSLFileName | ( | const XalanDOMString & | theXMLFileName, | |
XalanDOMString & | theResult | |||
) |
Utility method used to get XSL file based on XML file.
void XalanFileUtility::reportPassFail | ( | XalanXMLFileReporter & | logfile | ) |
Utility methods used to report Pass/Fail numbers.
void XalanFileUtility::reportPassFail | ( | XalanXMLFileReporter & | logfile, | |
const XalanDOMString & | runid | |||
) |
void XalanFileUtility::setVerbose | ( | bool | flag | ) | [inline] |
Definition at line 153 of file XalanFileUtility.hpp.
struct XALAN_HARNESS_EXPORT XalanFileUtility::cmdParams XalanFileUtility::args |
struct XALAN_HARNESS_EXPORT XalanFileUtility::reportStruct XalanFileUtility::data |
const XalanDOMChar XalanFileUtility::s_pathSep[] [static] |
Definition at line 407 of file XalanFileUtility.hpp.
const XalanDOMChar XalanFileUtility::s_xmlSuffix[] [static] |
Definition at line 405 of file XalanFileUtility.hpp.
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
Xalan-C++ XSLT Processor Version 1.11 |
|