Update of /cvsroot/cppunit/cppunit2/include/opentest
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6317/include/opentest
Modified Files:
properties.h
Log Message:
* added more unit tests for serializer
* fixed bugs
* added strict operator == for Value and Properties.
Index: properties.h
===================================================================
RCS file: /cvsroot/cppunit/cppunit2/include/opentest/properties.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** properties.h 24 Jun 2005 19:45:49 -0000 1.12
--- properties.h 1 Jul 2005 20:32:05 -0000 1.13
***************
*** 138,141 ****
--- 138,144 ----
CppTL::ConstString toString() const;
+ bool operator ==( const Value &other ) const;
+ bool operator !=( const Value &other ) const;
+
private:
***************
*** 208,211 ****
--- 211,217 ----
Value &value();
+ bool operator ==( const Property &other ) const;
+ bool operator !=( const Property &other ) const;
+
private:
CppTL::ConstString name_;
***************
*** 301,304 ****
--- 307,313 ----
CppTL::ConstString toString() const;
+ bool operator ==( const Properties &other ) const;
+ bool operator !=( const Properties &other ) const;
+
private:
// Notes: can not use std::map because VC++6 implementation is buggy and cause
|