updated SearchCriteriaTest to reflect changed file type default ("all"

instead of "audioClip")
This commit is contained in:
fgerlits 2005-04-27 18:57:46 +00:00
parent aac3ce4d28
commit c153560ab9

View file

@ -22,7 +22,7 @@
Author : $Author: fgerlits $ Author : $Author: fgerlits $
Version : $Revision: 1.1 $ Version : $Revision: 1.2 $
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/core/src/SearchCriteriaTest.cxx,v $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/core/src/SearchCriteriaTest.cxx,v $
------------------------------------------------------------------------------*/ ------------------------------------------------------------------------------*/
@ -84,7 +84,7 @@ SearchCriteriaTest :: firstTest(void)
CPPUNIT_FAIL(e.what()); CPPUNIT_FAIL(e.what());
} }
CPPUNIT_ASSERT(xmlRpcValue.hasMember("filetype")); CPPUNIT_ASSERT(xmlRpcValue.hasMember("filetype"));
CPPUNIT_ASSERT(xmlRpcValue["filetype"] == "audioclip"); CPPUNIT_ASSERT(xmlRpcValue["filetype"] == "all");
CPPUNIT_ASSERT(xmlRpcValue.hasMember("conditions")); CPPUNIT_ASSERT(xmlRpcValue.hasMember("conditions"));
CPPUNIT_ASSERT(xmlRpcValue["conditions"].getType() CPPUNIT_ASSERT(xmlRpcValue["conditions"].getType()
== XmlRpc::XmlRpcValue::TypeArray); == XmlRpc::XmlRpcValue::TypeArray);