You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by pa...@apache.org on 2001/11/09 20:28:17 UTC

cvs commit: xml-xalan/c/Tests/Harness FileUtility.cpp

pauldick    01/11/09 11:28:17

  Modified:    c/Tests/Harness FileUtility.cpp
  Log:
  Updated error reporting for API tests.
  
  Revision  Changes    Path
  1.22      +8 -1      xml-xalan/c/Tests/Harness/FileUtility.cpp
  
  Index: FileUtility.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/Tests/Harness/FileUtility.cpp,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- FileUtility.cpp	2001/10/18 18:43:17	1.21
  +++ FileUtility.cpp	2001/11/09 19:28:16	1.22
  @@ -338,7 +338,9 @@
   FileUtility::checkAPIResults(const XalanDOMString& actual, 
   						  const XalanDOMString& expected, 
   						  char* msg,
  -						  XMLFileReporter& logfile)
  +						  XMLFileReporter& logfile,
  +						  const XalanDOMString& outputFile, 
  +						  const XalanDOMString& goldFile)
   {
   	if(actual == expected)
   	{
  @@ -358,7 +360,12 @@
   
   		actexp.insert(Hashtable::value_type(XalanDOMString("exp"), expected));
   		actexp.insert(Hashtable::value_type(XalanDOMString("act"), actual));
  +		actexp.insert(Hashtable::value_type(XalanDOMString("xsl"), data.xslFileURL));
  +		actexp.insert(Hashtable::value_type(XalanDOMString("xml"), data.xmlFileURL));
  +		actexp.insert(Hashtable::value_type(XalanDOMString("result"), outputFile));
  +		actexp.insert(Hashtable::value_type(XalanDOMString("gold"), goldFile));
   
  +		// Todo: Need to determine if I should check for missing gold in these cases.
   		logfile.logCheckFail(data.testOrFile, actexp);
   
   	}
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org