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/05/17 20:30:29 UTC
cvs commit: xml-xalan/c/Tests/Harness XMLFileReporter.hpp
pauldick 01/05/17 11:30:29
Modified: c/Tests/Harness XMLFileReporter.hpp
Log:
Added addMetricToAttrs method, and changes lots of comments
Revision Changes Path
1.5 +21 -20 xml-xalan/c/Tests/Harness/XMLFileReporter.hpp
Index: XMLFileReporter.hpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/Tests/Harness/XMLFileReporter.hpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- XMLFileReporter.hpp 2001/03/05 17:30:37 1.4
+++ XMLFileReporter.hpp 2001/05/17 18:30:26 1.5
@@ -70,7 +70,7 @@
/**
* Reporter that saves output to a simple XML-format file.
* @author Shane_Curcuru@lotus.com
- * @version $Id: XMLFileReporter.hpp,v 1.4 2001/03/05 17:30:37 pauldick Exp $
+ * @version $Id: XMLFileReporter.hpp,v 1.5 2001/05/17 18:30:26 pauldick Exp $
*/
#if defined HARNESS_EXPORTS
@@ -95,53 +95,51 @@
public:
- /** Simple constructor, does not perform initialization. */
+ // Simple constructor, does not perform initialization.
XMLFileReporter();
- /** Construct and initialize this reporter with specified filename. */
+ // Construct and initialize this reporter with specified filename.
XMLFileReporter(const XalanDOMString& fileName);
- /** Construct and initialize this reporter with specified filename. */
+ // Construct and initialize this reporter with specified filename.
XMLFileReporter::XMLFileReporter(const char* fileName);
- /** Initialize this XMLFileReporter. Must be called before attempting to log anything. */
+ // Initialize this XMLFileReporter. Must be called before attempting to log anything.
bool initialize();
- /** Accessor for flushing; is set from properties. */
+ // Accessor for flushing; is set from properties.
bool getFlushOnCaseClose();
- /** Accessor methods for our properties block. */
+ // Accessor methods for our properties block.
const XalanDOMString& getFileName() const;
- /** Accessor methods for our properties block. */
+ // Accessor methods for our properties block.
void setFileName(const XalanDOMString& fileName);
- /** Accessor methods for our properties block. */
+ // Accessor methods for our properties block.
void setFileName(const char* fileName)
{
setFileName(XalanDOMString(fileName));
}
- /**
- * Is this Reporter still running OK?
- * @returns status - true if an error has occoured, false if it's still working fine
- * <P>XMLFileReporter should just about never have errors.</P>
- */
+ //
+ // Is this Reporter still running OK?
+ // @returns status - true if an error has occoured, false if it's still working fine
+ // <P>XMLFileReporter should just about never have errors.</P>
bool checkError();
- /**
- * Is this Reporter ready to log results?
- * @returns status - true if it's ready to report, false otherwise
- */
+ //
+ // Is this Reporter ready to log results?
+ // @returns status - true if it's ready to report, false otherwise
bool isReady();
- /** Flush this reporter - ensure our File is flushed. */
+ // Flush this reporter - ensure our File is flushed.
void flush();
- /** Close this reporter - ensure our File, etc. are closed. */
+ // Close this reporter - ensure our File, etc. are closed.
void close();
//-----------------------------------------------------
@@ -216,6 +214,9 @@
{
logStatistic(level, lVal, dVal, XalanDOMString(msg));
}
+
+ // This routine will add an attribute to the attribute list.
+ void addMetricToAttrs(char* desc, double theMetric, Hashtable& attrs);
/**
* Logs out a element to results with specified severity.
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org