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:50 UTC

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

pauldick    01/11/09 11:28:50

  Modified:    c/Tests/Harness FileUtility.hpp
  Log:
  Updated error reporting for API tests.
  
  Revision  Changes    Path
  1.17      +13 -7     xml-xalan/c/Tests/Harness/FileUtility.hpp
  
  Index: FileUtility.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/Tests/Harness/FileUtility.hpp,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- FileUtility.hpp	2001/10/18 18:43:17	1.16
  +++ FileUtility.hpp	2001/11/09 19:28:50	1.17
  @@ -99,7 +99,7 @@
   /**
    * Utility call that extracts test file names from testsuite.  
    * @author Paul Dick@lotus.com
  - * @version $Id: FileUtility.hpp,v 1.16 2001/10/18 18:43:17 pauldick Exp $
  + * @version $Id: FileUtility.hpp,v 1.17 2001/11/09 19:28:50 pauldick Exp $
    */
   
   #if defined HARNESS_EXPORTS
  @@ -221,18 +221,24 @@
   	FileUtility::checkAPIResults(const XalanDOMString& actual, 
   								 const XalanDOMString& expected,
   								 char* msg,
  -								 XMLFileReporter& logfile);
  +								 XMLFileReporter& logfile,
  +								 const XalanDOMString& outputFile,
  +								 const XalanDOMString& goldFile);
   
   	void
  -	FileUtility::checkAPIErrorResults(const char* actual, 
  -									  const char* expected,
  -									  char* msg,
  -									  XMLFileReporter& logfile)
  +	FileUtility::checkAPIResults(const char* actual, 
  +								 const char* expected,
  +								 char* msg,
  +								 XMLFileReporter& logfile,
  +								 const XalanDOMString& outputFile,
  +								 const XalanDOMString& goldFile								 )
   	{
   		FileUtility::checkAPIResults(XalanDOMString(actual), 
   									 XalanDOMString(expected),
   									 msg,
  -									 logfile);
  +									 logfile,
  +									 outputFile,
  +									 goldFile);
   	}
   
   	/**
  
  
  

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