pauldick 01/12/20 09:56:54
Modified: c/Tests/InputSource inputsource.cpp
Log:
Removed hardcoded values of file names.
Revision Changes Path
1.12 +6 -4 xml-xalan/c/Tests/InputSource/inputsource.cpp
Index: inputsource.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/Tests/InputSource/inputsource.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- inputsource.cpp 2001/12/12 21:26:35 1.11
+++ inputsource.cpp 2001/12/20 17:56:54 1.12
@@ -256,11 +256,13 @@
// TestCase4 will use the following API. Default constructor of
XSLTInputSource will take a string.
// - XSLTInputSource(const char*)
// - XSLTInputSource(const char*)
-void testCase4(XalanTransformer &xalan, XMLFileReporter& logFile)
+void testCase4(XalanTransformer &xalan, XMLFileReporter& logFile,
+ const XalanDOMString outBase, XalanDOMString
&goldFile)
{
- const XalanDOMString
theOutputFile("\\xml-xalan\\test\\tests\\ISOURCE-results\\smoke\\InputSource-TestCase4.out");
- const XalanDOMString
theGoldFile("\\xml-xalan\\test\\tests\\capi-gold\\smoke\\smoke01.out");
+ const XalanDOMString theOutputFile = outBase +
XalanDOMString("\\InputSource-TestCase4.out");
+// const XalanDOMString
theOutputFile("\\xml-xalan\\test\\tests\\INPUTSOURCE-RESULTS\\smoke\\InputSource-TestCase4.out");
+ const XalanDOMString theGoldFile(goldFile);
XSLTResultTarget theResultTarget(theOutputFile);
@@ -379,7 +381,7 @@
testCase1(xalan, logFile, theXMLFile,
theXSLFile, theOutputDir, theGoldFile);
testCase2(xalan, logFile, theOutputDir,
theGoldFile);
testCase3(xalan, logFile, theOutputDir,
theGoldFile);
- testCase4(xalan, logFile);
+ testCase4(xalan, logFile, theOutputDir,
theGoldFile);
testCase5(xalan, logFile, theXMLFile,
theXSLFile, theOutputDir, theGoldFile);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]