From a820665eea71a64b40e74ed24afeaf07a7a99db4 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Fri, 26 May 2006 14:36:57 +0000 Subject: Added the first of many unit tests. For now the unit tests are just built with everything else in the all target of the makefile, which is fine, but relies on CppTest, which can be found at http://cpptest.sf.net Also fixed some things I've been meaning to get to for a while in the xml system, including a few bugs that will make coping with malformed data not hang other programs, and do the error reporting in a nice way. --- src/xmlreader.h | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/xmlreader.h') diff --git a/src/xmlreader.h b/src/xmlreader.h index a8a81f0..19e485a 100644 --- a/src/xmlreader.h +++ b/src/xmlreader.h @@ -37,19 +37,6 @@ public: */ ~XmlReader(); - /** - * Get the error code if an error happened. - *@returns The error code (I don't know what they are either) - */ - int getError(); - - /** - * Report an error to something, this is a really strange mechanism and - * should probably just be replaced with the multi-log system. - *@param sError The error to report. - */ - void reportError( const char *sError ); - /** * Build a document based on some kind of input. This is called * automatically by the constructor. @@ -127,7 +114,6 @@ private: FlexBuf fbParamName; /**< buffer for the current param's name. */ FlexBuf fbParamValue; /**< buffer for the current param's value. */ bool bStrip; /**< Are we stripping whitespace? */ - int nError; /**< Is there an error? */ }; #endif -- cgit v1.2.3