List of all members.
Classes
Public Types
Public Member Functions
- XalanFileUtility (MemoryManager &theManager)
- Simple constructor, does not perform initialization.
- ~XalanFileUtility ()
- XalanDOMString & getDrive (XalanDOMString &theResult)
- Utility method used to get test files from a specific directory.
- bool getParams (int argc, char *argv[], const char *outDir, bool fsetGold=true)
- FileNameVectorType & getTestFileNames (const XalanDOMString &baseDir, const XalanDOMString &relDir, bool useDirPrefix, FileNameVectorType &theFiles)
- FileNameVectorType & getDirectoryNames (const XalanDOMString &rootDirectory, FileNameVectorType &theFiles)
- Utility method used to get subdirectories from a specific directory.
- void checkAndCreateDir (const XalanDOMString &directory)
- Utility method used to create default directories when neccessary.
- bool checkDir (const XalanDOMString &directory)
- Utility method determines if directory exists.
- XalanDOMString & getXSLFileName (const XalanDOMString &theXMLFileName, XalanDOMString &theResult)
- Utility method used to get XSL file based on XML file.
- XalanDOMString & generateFileName (const XalanDOMString &theXMLFileName, const char *suffix, XalanDOMString &theResult, bool *status=0)
- Utility method used to get OUT file based on XML file.
- XalanDOMString & generateUniqRunid (XalanDOMString &theResult)
- Utility method used to generate UniqRunid.
- XalanDOMString & getXercesVersion (XalanDOMString &theResult)
- Utility methods used to get Xerces Version number.
- void checkResults (const XalanDOMString &outputFile, const XalanDOMString &goldFile, XalanXMLFileReporter &logfile)
- void checkAPIResults (const XalanDOMString &actual, const XalanDOMString &expected, const char *msg, XalanXMLFileReporter &logfile, const XalanDOMString &outputFile, const XalanDOMString &goldFile, bool containsOnly=false)
- void checkAPIResults (const char *actual, const char *expected, const char *msg, XalanXMLFileReporter &logfile, const XalanDOMString &outputFile, const XalanDOMString &goldFile, MemoryManager &, bool containsOnly=false)
- void checkAPIResults (const char *actual, const char *expected, const char *msg, XalanXMLFileReporter &logfile, const XalanDOMString &outputFile, const XalanDOMString &goldFile, bool containsOnly=false)
- void checkDOMResults (const XalanDOMString &theOutputFile, const XalanCompiledStylesheet *compiledSS, const XalanSourceTreeDocument *dom, const XSLTInputSource &goldInputSource, XalanXMLFileReporter &logfile)
- Utility method used to compare the results.
- bool compareSerializedResults (const XalanDOMString &transformResult, const XalanDOMString &goldInputSource)
- FormatterListener * getXMLFormatter (PrintWriter &resultWriter, int indentAmount, const XalanDOMString &mimeEncoding, const StylesheetRoot *stylesheet)
- Utility method used to create a FormatterToXML FormatterListener.
- bool fileCompare (const char *goldFile, const char *outputFile)
- bool domCompare (const XalanNode &gold, const XalanNode &doc)
- Utility methods used to perform a DOM Compare.
- bool domCompare (const XalanDocument &gold, const XalanDocument &doc)
- Utility methods used to perform a DOM Compare.
- bool diffElement (const XalanNode &gold, const XalanNode &doc)
- Utility methods used to diff two Element nodes.
- bool diffNode (const XalanNode &gold, const XalanNode &doc)
- Utility methods used to diff two nodes.
- bool diffNode (const XalanNode *gold, const XalanNode *doc)
- Utility methods used to diff two nodes.
- bool diffElement2 (const XalanNode &gold, const XalanNode &doc)
- Utility methods used to diff two Element nodes.
- bool diffAttr (const XalanNode *gAttr, const XalanNode *dAttr)
- Utility methods used to diff two attribute nodes.
- void reportPassFail (XalanXMLFileReporter &logfile)
- Utility methods used to report Pass/Fail numbers.
- void reportPassFail (XalanXMLFileReporter &logfile, const XalanDOMString &runid)
- void analyzeResults (XalanTransformer &xalan, const XalanDOMString &resultsFile)
- const MemoryManager & getMemoryManager () const
- MemoryManager & getMemoryManager ()
Public Attributes
Static Public Attributes
Member Typedef Documentation
Constructor & Destructor Documentation
XalanFileUtility::XalanFileUtility |
( |
MemoryManager & |
theManager | ) |
|
Simple constructor, does not perform initialization.
XalanFileUtility::~XalanFileUtility |
( |
| ) |
|
Member Function Documentation
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 |
|
) |
| |
Utility method determines if directory exists.
Utility method used to compare the results.
It inturn call domCompare.
- Returns:
- Void.
Utility methods used to diff two attribute nodes.
- Returns:
- boolean.
Utility methods used to diff two Element nodes.
- Returns:
- boolean.
Utility methods used to diff two Element nodes.
- Returns:
- boolean.
Utility methods used to diff two nodes.
- Returns:
- true if the nodes are equal, and false if not.
Utility methods used to diff two nodes.
- Returns:
- true if the nodes are equal, and false if not.
Utility methods used to perform a DOM Compare.
- Returns:
- boolean
Utility methods used to perform a DOM Compare.
- Returns:
- boolean
bool XalanFileUtility::fileCompare |
( |
const char * |
goldFile, |
|
|
const char * |
outputFile |
|
) |
| |
Utility method used to get OUT file based on XML file.
- Returns:
- a XalanDOMString.
Utility method used to get subdirectories from a specific directory.
- Returns:
- a vector containing directory files.
Utility method used to get test files from a specific directory.
- Returns:
- a vector containing test files.
MemoryManager& XalanFileUtility::getMemoryManager |
( |
| ) |
|
const MemoryManager& XalanFileUtility::getMemoryManager |
( |
| ) |
const |
bool XalanFileUtility::getParams |
( |
int |
argc, |
|
|
char * |
argv[], |
|
|
const char * |
outDir, |
|
|
bool |
fsetGold = true |
|
) |
| |
Utility methods used to get Xerces Version number.
- Returns:
- a XalanDOMString.
Utility method used to get XSL file based on XML file.
- Returns:
- a XalanDOMString.
Utility methods used to report Pass/Fail numbers.
- Returns:
- void.
Member Data Documentation
The documentation for this class was generated from the following file: