You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by db...@apache.org on 2002/08/05 06:51:22 UTC
cvs commit: xml-xalan/c/Tests/Extensions extensions.cpp
dbertoni 2002/08/04 21:51:22
Modified: c/Tests/Extensions extensions.cpp
Log:
Fixed bug where parameters were being passed incorrectly.
Revision Changes Path
1.17 +9 -7 xml-xalan/c/Tests/Extensions/extensions.cpp
Index: extensions.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/Tests/Extensions/extensions.cpp,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- extensions.cpp 25 Jan 2002 00:34:50 -0000 1.16
+++ extensions.cpp 5 Aug 2002 04:51:22 -0000 1.17
@@ -220,7 +220,8 @@
"transformer.uninstallExternalFunctionGlobal()",
logFile,
theOutputFile,
- theGoldFile);
+ theGoldFile,
+ true);
}
// TestCase3:
// API Call:
@@ -274,7 +275,8 @@
"transformer.installExternalFunction()",
logFile,
theOutputFile,
- theGoldFile);
+ theGoldFile,
+ true);
// Now unInstall the external function "nodeset". Once again the transform should
// _NOT_ run the test successfully
@@ -288,7 +290,8 @@
"transformer.uninstallExternalFunction()",
logFile,
theOutputFile,
- theGoldFile);
+ theGoldFile,
+ true);
}
@@ -411,9 +414,9 @@
const XalanDOMString theNamespace("http://xml.apache.org/xalan");
// These testcases are used to test the Install/Uninstall Function API's of the transformer.
- TestCase2(xalan, files[5], theNamespace, currentDir, logFile, h);
- TestCase3(xalan, files[5], theNamespace, currentDir, logFile, h);
- TestCase4(xalan, files[5], theNamespace, currentDir, logFile, h);
+ TestCase2(xalan, files[5], currentDir, theNamespace, logFile, h);
+ TestCase3(xalan, files[5], currentDir, theNamespace, logFile, h);
+ TestCase4(xalan, files[5], currentDir, theNamespace, logFile, h);
logFile.logTestCaseClose("Done", "Pass");
h.reportPassFail(logFile, UniqRunid);
@@ -425,7 +428,6 @@
}
XalanTransformer::terminate();
-
}
return 0;
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org