ParserTest Class Reference

This is the test class for the SyncML Parser. More...

List of all members.

Public Member Functions

void setUp ()
void tearDown ()

Public Attributes

StringBuffer xml
SyncHdr * syncHdr

Private Member Functions

 CPPUNIT_TEST_SUITE (ParserTest)
 CPPUNIT_TEST (roundTripTest1)
 CPPUNIT_TEST (roundTripTest2)
 CPPUNIT_TEST (wrongMessageTest)
 CPPUNIT_TEST (roundTripsml1)
 CPPUNIT_TEST (roundTripsml2)
 CPPUNIT_TEST (roundTripsml3)
 CPPUNIT_TEST (roundTripsml4)
 CPPUNIT_TEST (roundTripsml5)
 CPPUNIT_TEST (roundTripsml6)
 CPPUNIT_TEST (roundTripsml7)
 CPPUNIT_TEST (roundTripsml8)
 CPPUNIT_TEST (testVerDTD)
 CPPUNIT_TEST (testVerProto)
 CPPUNIT_TEST (testSessionID)
 CPPUNIT_TEST (testMsgID)
 CPPUNIT_TEST (testTarget)
 CPPUNIT_TEST (testSource)
 CPPUNIT_TEST_SUITE_END ()
void loadTestFile (const char *fileName, StringBuffer &ret)
 Load a SyncML message from file, parse and reformat it and return the original message and the converted one.
void convertMessage (const StringBuffer &in, StringBuffer &out)
 Convert the message in, parsing it into a SyncML object and formatting back to string out.
bool compareMessages (const StringBuffer &msg1, const StringBuffer &msg2)
void testTag (const char *tag, const char *refValue)
 Test the given tag content against refValue.
void roundTripTest (const char *filename)
void roundTripTest1 ()
void roundTripTest2 ()
void wrongMessageTest ()
void roundTripsml1 ()
void roundTripsml2 ()
void roundTripsml3 ()
void roundTripsml4 ()
void roundTripsml5 ()
void roundTripsml6 ()
void roundTripsml7 ()
void roundTripsml8 ()
void roundTripDM1 ()
void testVerDTD ()
void testVerProto ()
void testSessionID ()
void testMsgID ()
void testTarget ()
void testSource ()


Detailed Description

This is the test class for the SyncML Parser.
The documentation for this class was generated from the following file:

Generated on Tue Apr 6 13:00:42 2010 for Funambol Outlook Plug-in Library by  doxygen 1.5.7.1