[Cppunit-cvs] cppunit2/include/opentest properties.h,1.7,1.8
Brought to you by:
blep
From: Baptiste L. <bl...@us...> - 2004-11-20 16:17:48
|
Update of /cvsroot/cppunit/cppunit2/include/opentest In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31110/include/opentest Modified Files: properties.h Log Message: * added support for test descriptive data Index: properties.h =================================================================== RCS file: /cvsroot/cppunit/cppunit2/include/opentest/properties.h,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** properties.h 20 Nov 2004 15:06:59 -0000 1.7 --- properties.h 20 Nov 2004 16:17:33 -0000 1.8 *************** *** 235,243 **** bool has( const PropertyPath &path ) const; ! const Property &getProperty( const std::string &name ) const; /// If the current node is valid then returns the value of the property /// named 'name', otherwise returns an empty value. ! Value getValue( const std::string &name ) const; Value at( unsigned int index ) const; --- 235,243 ---- bool has( const PropertyPath &path ) const; ! const Property &getProperty( const PropertyPath &path ) const; /// If the current node is valid then returns the value of the property /// named 'name', otherwise returns an empty value. ! Value getValue( const PropertyPath &path ) const; Value at( unsigned int index ) const; *************** *** 245,249 **** /// If current node is valid and has a property named 'name' returns its /// values, otherwise returns the 'defaultValue'. ! Value getValue( const std::string &name, const Value &defaultValue ) const; --- 245,249 ---- /// If current node is valid and has a property named 'name' returns its /// values, otherwise returns the 'defaultValue'. ! Value getValue( const PropertyPath &path, const Value &defaultValue ) const; *************** *** 306,312 **** bool has( const PropertyPath &path ) const; ! const Property &getProperty( const std::string &name ) const; ! const Value &getValue( const std::string &name ) const; const Value &at( unsigned int index ) const; --- 306,312 ---- bool has( const PropertyPath &path ) const; ! const Property &getProperty( const PropertyPath &path ) const; ! const Value &getValue( const PropertyPath &path ) const; const Value &at( unsigned int index ) const; *************** *** 368,371 **** --- 368,373 ---- PropertyList::const_iterator find( const std::string &name ) const; + PropertyList::const_iterator resolvePath( const PropertyPath &path ) const; + Properties *tryGetProperties( const PropertyPath &path ); |