testRbu Class Reference

#include <testRbu.h>

List of all members.

Public Member Functions

virtual void setUp ()
virtual void tearDown ()
std::auto_ptr< rbu::IRbuHdrcheckHdrInfo (std::string name)
void testRbuBasic ()
void testRbuBadData ()
void testRbuOldVerCompare ()
void testRbuNewVerCompare ()
void testRbuNewVerSplit ()
void testRbuOutput ()
 CPPUNIT_TEST_SUITE (testRbu)
 CPPUNIT_TEST (testRbuBasic)
 CPPUNIT_TEST (testRbuBadData)
 CPPUNIT_TEST (testRbuOldVerCompare)
 CPPUNIT_TEST (testRbuNewVerCompare)
 CPPUNIT_TEST (testRbuNewVerSplit)
 CPPUNIT_TEST (testRbuOutput)
 CPPUNIT_TEST_SUITE_END ()

Protected Member Functions

virtual std::string getCppunitTopDirectory ()
virtual std::string getWritableDirectory ()
virtual std::string getTestName ()
virtual std::string getTestDirectory ()
std::string getTestInputString (std::string toFind, std::string section="systemInfo")

Protected Attributes

XML_NAMESPACE DOMBuilder * parser
XERCES_CPP_NAMESPACE_QUALIFIER
DOMDocument * 
doc


Detailed Description

Definition at line 35 of file testRbu.h.


Member Function Documentation

virtual std::string getCppunitTopDirectory (  )  [inline, protected, virtual]

Definition at line 38 of file testRbu.h.

References global_argv.

Referenced by setUp(), and testRbuBadData().

virtual std::string getWritableDirectory (  )  [inline, protected, virtual]

Definition at line 43 of file testRbu.h.

References global_argv.

Referenced by setUp().

virtual std::string getTestName (  )  [inline, protected, virtual]

virtual std::string getTestDirectory (  )  [inline, protected, virtual]

Definition at line 53 of file testRbu.h.

References global_argv.

Referenced by setUp(), and testRbuBadData().

std::string getTestInputString ( std::string  toFind,
std::string  section = "systemInfo" 
) [protected]

void setUp (  )  [virtual]

void tearDown (  )  [virtual]

std::auto_ptr<rbu::IRbuHdr> checkHdrInfo ( std::string  name  ) 

void testRbuBasic (  ) 

Definition at line 221 of file testRbu.cpp.

References checkHdrInfo(), getTestName(), STD_TEST_END, and STD_TEST_START.

void testRbuBadData (  ) 

void testRbuOldVerCompare (  ) 

void testRbuNewVerCompare (  ) 

void testRbuNewVerSplit (  ) 

Definition at line 310 of file testRbu.cpp.

References getTestName(), rbu::splitNewVersion(), STD_TEST_END, and STD_TEST_START.

void testRbuOutput (  ) 

Definition at line 411 of file testRbu.cpp.

References checkHdrInfo(), getTestName(), STD_TEST_END, and STD_TEST_START.

CPPUNIT_TEST_SUITE ( testRbu   ) 

CPPUNIT_TEST ( testRbuBasic   ) 

CPPUNIT_TEST ( testRbuBadData   ) 

CPPUNIT_TEST ( testRbuOldVerCompare   ) 

CPPUNIT_TEST ( testRbuNewVerCompare   ) 

CPPUNIT_TEST ( testRbuNewVerSplit   ) 

CPPUNIT_TEST ( testRbuOutput   ) 

CPPUNIT_TEST_SUITE_END (  ) 


Member Data Documentation

XML_NAMESPACE DOMBuilder* parser [protected]

Definition at line 63 of file testRbu.h.

Referenced by setUp(), and tearDown().

XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument* doc [protected]

Definition at line 68 of file testRbu.h.

Referenced by setUp(), and tearDown().


The documentation for this class was generated from the following files:

Generated on Sat Nov 22 15:09:50 2008 for SMBIOS Library by  doxygen 1.5.5