#include <testRbu.h>
Public Member Functions | |
virtual void | setUp () |
virtual void | tearDown () |
std::auto_ptr< rbu::IRbuHdr > | checkHdrInfo (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 |
|
Definition at line 199 of file testRbu.cpp. References rbu::checkSystemId(), fileExists(), getCppunitTopDirectory(), getTestDirectory(), getTestInputString(), and stringToLower(). Referenced by testRbuBasic(), testRbuNewVerCompare(), testRbuOldVerCompare(), and testRbuOutput(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 38 of file testRbu.h. References global_argv. Referenced by checkHdrInfo(), setUp(), and testRbuBadData(). |
|
Definition at line 53 of file testRbu.h. References global_argv. Referenced by checkHdrInfo(), setUp(), and testRbuBadData(). |
|
Definition at line 145 of file testRbu.cpp. References doc, DOMElement, xmlutils::findElement(), xmlutils::getNodeText(), XERCES_CPP_NAMESPACE_QUALIFIER, and xmlDocGetRootElement. Referenced by checkHdrInfo(). |
|
Definition at line 48 of file testRbu.h. References global_argv. Referenced by testRbuBadData(), testRbuBasic(), testRbuNewVerCompare(), testRbuNewVerSplit(), testRbuOldVerCompare(), and testRbuOutput(). |
|
Definition at line 43 of file testRbu.h. References global_argv. Referenced by setUp(). |
|
Definition at line 69 of file testRbu.cpp. References compatXmlReadFile, copyFile(), doc, fileExists(), getCppunitTopDirectory(), SmiFactory::getFactory(), MemoryFactory::getFactory(), CmosRWFactory::getFactory(), SmbiosFactory::getFactory(), xmlutils::getParser(), getTestDirectory(), getWritableDirectory(), InitXML, and parser. |
|
Definition at line 119 of file testRbu.cpp. References doc, FiniXML, SmiFactory::getFactory(), CmosRWFactory::getFactory(), MemoryFactory::getFactory(), SmbiosFactory::getFactory(), TokenTableFactory::getFactory(), parser, xmlFreeDoc, and xmlFreeParser. |
|
Definition at line 184 of file testRbu.cpp. References ASSERT_THROWS, fileExists(), getCppunitTopDirectory(), getTestDirectory(), getTestName(), STD_TEST_END, and STD_TEST_START. |
|
Definition at line 221 of file testRbu.cpp. References checkHdrInfo(), getTestName(), STD_TEST_END, and STD_TEST_START. |
|
Definition at line 275 of file testRbu.cpp. References checkHdrInfo(), getTestName(), STD_TEST_END, and STD_TEST_START. |
|
Definition at line 310 of file testRbu.cpp. References getTestName(), rbu::splitNewVersion(), STD_TEST_END, and STD_TEST_START. |
|
Definition at line 237 of file testRbu.cpp. References checkHdrInfo(), getTestName(), STD_TEST_END, and STD_TEST_START. |
|
Definition at line 411 of file testRbu.cpp. References checkHdrInfo(), getTestName(), STD_TEST_END, and STD_TEST_START. |
|
Definition at line 68 of file testRbu.h. Referenced by getTestInputString(), setUp(), and tearDown(). |
|
Definition at line 63 of file testRbu.h. Referenced by setUp(), and tearDown(). |