#include <testSmbiosXml.h>
Public Member Functions | |
virtual void | setUp () |
virtual void | tearDown () |
virtual void | resetFactoryToBuiltinXml () |
void | testTable_Subscript () |
void | testTable_Subscript_builtinXml () |
void | testEntryCount () |
void | testEntryCount_builtinXml () |
void | testConstIterator () |
void | testConstIterator_builtinXml () |
void | testSubscriptOperator1 () |
void | testSubscriptOperator1_builtinXml () |
void | testSubscriptOperator2 () |
void | testSubscriptOperator2_builtinXml () |
void | testSubscriptOperator3 () |
void | testSubscriptOperator3_builtinXml () |
void | testStreamify () |
void | testEachItemAccessors () |
void | testEachItemAccessors_builtinXml () |
void | testItem_GetBiosInfo () |
void | testItem_GetBiosInfo_builtinXml () |
void | testItem_GetSystemInfo () |
void | testItem_GetSystemInfo_builtinXml () |
void | testTypeMismatch () |
void | testTypeMismatch_builtinXml () |
void | testItemIdentity () |
void | testItemIdentity_builtinXml () |
void | testGetBoundaries () |
void | testGetBoundaries_builtinXml () |
void | testCmosConstructor () |
void | testCmosChecksum () |
void | testCmosWriting () |
void | testSmi_callingInterface () |
void | testSmi_callingInterface_physaddr () |
void | testSystemInfo () |
void | testSystemInfo_builtinXml () |
void | testIdByte () |
void | testServiceTag () |
void | testServiceTagWriting () |
void | testAssetTag () |
void | testSystemName () |
void | testLibraryVersion () |
void | testBiosVersion () |
void | testIsDell () |
void | testVariousAccessors () |
void | testOutOfBounds () |
void | testConstructionOffset () |
void | testStateBytes () |
void | testUpBoot () |
void | testException () |
CPPUNIT_TEST_SUITE (testSmbiosXml) | |
CPPUNIT_TEST (testTable_Subscript) | |
CPPUNIT_TEST (testTable_Subscript_builtinXml) | |
CPPUNIT_TEST (testEntryCount) | |
CPPUNIT_TEST (testEntryCount_builtinXml) | |
CPPUNIT_TEST (testConstIterator) | |
CPPUNIT_TEST (testConstIterator_builtinXml) | |
CPPUNIT_TEST (testSubscriptOperator1) | |
CPPUNIT_TEST (testSubscriptOperator1_builtinXml) | |
CPPUNIT_TEST (testSubscriptOperator2) | |
CPPUNIT_TEST (testSubscriptOperator2_builtinXml) | |
CPPUNIT_TEST (testSubscriptOperator3) | |
CPPUNIT_TEST (testSubscriptOperator3_builtinXml) | |
CPPUNIT_TEST (testStreamify) | |
CPPUNIT_TEST (testItemIdentity) | |
CPPUNIT_TEST (testItemIdentity_builtinXml) | |
CPPUNIT_TEST (testEachItemAccessors) | |
CPPUNIT_TEST (testEachItemAccessors_builtinXml) | |
CPPUNIT_TEST (testItem_GetBiosInfo) | |
CPPUNIT_TEST (testItem_GetBiosInfo_builtinXml) | |
CPPUNIT_TEST (testItem_GetSystemInfo) | |
CPPUNIT_TEST (testItem_GetSystemInfo_builtinXml) | |
CPPUNIT_TEST (testTypeMismatch) | |
CPPUNIT_TEST (testTypeMismatch_builtinXml) | |
CPPUNIT_TEST (testGetBoundaries) | |
CPPUNIT_TEST (testGetBoundaries_builtinXml) | |
CPPUNIT_TEST (testCmosConstructor) | |
CPPUNIT_TEST (testCmosChecksum) | |
CPPUNIT_TEST (testCmosWriting) | |
CPPUNIT_TEST (testSmi_callingInterface) | |
CPPUNIT_TEST (testSmi_callingInterface_physaddr) | |
CPPUNIT_TEST (testSystemInfo) | |
CPPUNIT_TEST (testSystemInfo_builtinXml) | |
CPPUNIT_TEST (testIdByte) | |
CPPUNIT_TEST (testServiceTag) | |
CPPUNIT_TEST (testServiceTagWriting) | |
CPPUNIT_TEST (testAssetTag) | |
CPPUNIT_TEST (testSystemName) | |
CPPUNIT_TEST (testLibraryVersion) | |
CPPUNIT_TEST (testBiosVersion) | |
CPPUNIT_TEST (testIsDell) | |
CPPUNIT_TEST (testVariousAccessors) | |
CPPUNIT_TEST (testOutOfBounds) | |
CPPUNIT_TEST (testConstructionOffset) | |
CPPUNIT_TEST (testStateBytes) | |
CPPUNIT_TEST (testUpBoot) | |
CPPUNIT_TEST (testException) | |
CPPUNIT_TEST_SUITE_END () | |
Protected Member Functions | |
virtual std::string | getTestName () |
virtual std::string | getTestDirectory () |
virtual std::string | getXmlFile () |
std::string | getTestInputString (std::string toFind) |
void | checkSkipTest (std::string testName) |
Protected Attributes | |
XERCES_CPP_NAMESPACE_QUALIFIER DOMBuilder * | parser |
XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument * | doc |
Definition at line 40 of file testSmbiosXml.h.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 48 of file testSmbiosXml.h. References global_testDirectory. Referenced by setUp(). |
|
Referenced by testAssetTag(), testBiosVersion(), testServiceTag(), testServiceTagWriting(), and testSystemName(). |
|
|
Definition at line 53 of file testSmbiosXml.h. Referenced by setUp(). |
|
|
|
Definition at line 148 of file testSmbiosXml.cpp. References doc, SmiFactory::getFactory(), CmosRWFactory::getFactory(), MemoryFactory::getFactory(), SmbiosFactory::getFactory(), TokenTableFactory::getFactory(), and parser. |
|
Definition at line 1352 of file testSmbiosXml.cpp. References getTestInputString(), getTestName(), safeConvertToString(), SMBIOSGetAssetTag(), STD_TEST_END, and STD_TEST_START. |
|
Definition at line 1365 of file testSmbiosXml.cpp. References getTestInputString(), getTestName(), safeConvertToString(), SMBIOSGetBiosVersion(), STD_TEST_END, and STD_TEST_START. |
|
Definition at line 843 of file testSmbiosXml.cpp. References ITokenTable::begin(), ITokenTable::end(), TokenTableFactory::getFactory(), TokenTableFactory::getSingleton(), getTestName(), and STD_TEST_START. |
|
Definition at line 822 of file testSmbiosXml.cpp. References ITokenTable::begin(), ITokenTable::end(), TokenTableFactory::getFactory(), TokenTableFactory::getSingleton(), getTestName(), and STD_TEST_START. |
|
Definition at line 868 of file testSmbiosXml.cpp. References ASSERT_THROWS, ITokenTable::begin(), ITokenTable::end(), TokenTableFactory::getFactory(), TokenTableFactory::getSingleton(), getTestName(), and STD_TEST_START. |
|
Definition at line 282 of file testSmbiosXml.cpp. References ISmbiosTable::begin(), ISmbiosTable::end(), SmbiosFactory::getFactory(), getTestName(), and STD_TEST_START. Referenced by testConstIterator_builtinXml(). |
|
Definition at line 305 of file testSmbiosXml.cpp. References resetFactoryToBuiltinXml(), and testConstIterator(). |
|
Definition at line 1581 of file testSmbiosXml.cpp. References ISmbiosTable::begin(), doc, ISmbiosTable::end(), xmlutils::findElement(), SmbiosFactory::getFactory(), getTestName(), xmlutils::safeGetAttribute(), and STD_TEST_START. |
|
Definition at line 485 of file testSmbiosXml.cpp. References ISmbiosTable::begin(), ISmbiosTable::end(), SmbiosFactory::getFactory(), getTestName(), and STD_TEST_START. Referenced by testEachItemAccessors_builtinXml(). |
|
Definition at line 519 of file testSmbiosXml.cpp. References resetFactoryToBuiltinXml(), and testEachItemAccessors(). |
|
Definition at line 252 of file testSmbiosXml.cpp. References ISmbiosTable::begin(), ISmbiosTable::end(), SmbiosFactory::getFactory(), getTestName(), and STD_TEST_START. Referenced by testEntryCount_builtinXml(). |
|
Definition at line 275 of file testSmbiosXml.cpp. References resetFactoryToBuiltinXml(), and testEntryCount(). |
|
Definition at line 1711 of file testSmbiosXml.cpp. References getTestName(), Exception::setMessageString(), Exception::setParameter(), STD_TEST_END, STD_TEST_START, and Exception::what(). |
|
Definition at line 779 of file testSmbiosXml.cpp. References ASSERT_THROWS, ISmbiosTable::end(), SmbiosFactory::getFactory(), getTestName(), and STD_TEST_START. Referenced by testGetBoundaries_builtinXml(). |
|
Definition at line 809 of file testSmbiosXml.cpp. References resetFactoryToBuiltinXml(), and testGetBoundaries(). |
|
Definition at line 1134 of file testSmbiosXml.cpp. References doc, xmlutils::findElement(), xmlutils::getNodeText(), getTestName(), SMBIOSGetDellSystemId(), STD_TEST_END, and STD_TEST_START. |
|
Definition at line 1378 of file testSmbiosXml.cpp. References doc, xmlutils::findElement(), xmlutils::getNodeText(), getTestName(), SMBIOSIsDellSystem(), STD_TEST_END, and STD_TEST_START. |
|
Definition at line 525 of file testSmbiosXml.cpp. References ISmbiosItem::FIELD_LEN_QWORD, SmbiosFactory::getFactory(), getTestName(), STD_TEST_END, and STD_TEST_START. Referenced by testItem_GetBiosInfo_builtinXml(). |
|
Definition at line 636 of file testSmbiosXml.cpp. References resetFactoryToBuiltinXml(), and testItem_GetBiosInfo(). |
|
Definition at line 642 of file testSmbiosXml.cpp. References SmbiosFactory::getFactory(), getTestName(), STD_TEST_END, and STD_TEST_START. Referenced by testItem_GetSystemInfo_builtinXml(). |
|
Definition at line 732 of file testSmbiosXml.cpp. References resetFactoryToBuiltinXml(), and testItem_GetSystemInfo(). |
|
Definition at line 433 of file testSmbiosXml.cpp. References smbios::BIOS_Information, SmbiosFactory::getFactory(), getTestName(), ISmbiosItem::getType(), STD_TEST_END, STD_TEST_START, and smbios::System_Information. Referenced by testItemIdentity_builtinXml(). |
|
Definition at line 478 of file testSmbiosXml.cpp. References resetFactoryToBuiltinXml(), and testItemIdentity(). |
|
Definition at line 1206 of file testSmbiosXml.cpp. References getTestName(), LIBSMBIOS_RELEASE_VERSION, SMBIOSGetLibraryVersionString(), STD_TEST_END, and STD_TEST_START. |
|
Definition at line 1540 of file testSmbiosXml.cpp. References ASSERT_THROWS, doc, xmlutils::findElement(), SmbiosFactory::getFactory(), getTestName(), xmlutils::safeGetAttribute(), STD_TEST_END, and STD_TEST_START. |
|
Definition at line 1218 of file testSmbiosXml.cpp. References getTestInputString(), getTestName(), safeConvertToString(), SMBIOSGetServiceTag(), STD_TEST_END, and STD_TEST_START. |
|
Definition at line 1234 of file testSmbiosXml.cpp. References getServiceTagFromCMOSToken(), getTestInputString(), getTestName(), safeConvertToString(), SMBIOSGetServiceTag(), SMBIOSSetServiceTag(), STD_TEST_END, and STD_TEST_START. |
|
Definition at line 1015 of file testSmbiosXml.cpp. References SmiFactory::DELL_CALLING_INTERFACE_SMI, ISmi::execute(), SmiFactory::getFactory(), getTestName(), IDellCallingInterfaceSmi::setArg(), IDellCallingInterfaceSmi::setClass(), IDellCallingInterfaceSmi::setSelect(), STD_TEST_END, and STD_TEST_START. |
|
|
Definition at line 1460 of file testSmbiosXml.cpp. References getTestName(), SMBIOSGetNvramStateBytes(), SMBIOSHasNvramStateBytes(), SMBIOSSetNvramStateBytes(), STD_TEST_END, and STD_TEST_START. |
|
Definition at line 409 of file testSmbiosXml.cpp. References ISmbiosTable::end(), SmbiosFactory::getFactory(), getTestName(), and STD_TEST_START. |
|
Definition at line 312 of file testSmbiosXml.cpp. References ISmbiosTable::end(), SmbiosFactory::getFactory(), getTestName(), and STD_TEST_START. Referenced by testSubscriptOperator1_builtinXml(). |
|
Definition at line 332 of file testSmbiosXml.cpp. References resetFactoryToBuiltinXml(), and testSubscriptOperator1(). |
|
Definition at line 339 of file testSmbiosXml.cpp. References getTestName(), STD_TEST_END, and STD_TEST_START. Referenced by testSubscriptOperator2_builtinXml(). |
|
Definition at line 363 of file testSmbiosXml.cpp. References resetFactoryToBuiltinXml(), and testSubscriptOperator2(). |
|
Definition at line 370 of file testSmbiosXml.cpp. References ISmbiosTable::end(), SmbiosFactory::getFactory(), getTestName(), and STD_TEST_START. Referenced by testSubscriptOperator3_builtinXml(). |
|
Definition at line 395 of file testSmbiosXml.cpp. References resetFactoryToBuiltinXml(), and testSubscriptOperator3(). |
|
Definition at line 1069 of file testSmbiosXml.cpp. References getTestName(), SMBIOSFreeMemory(), SMBIOSGetAssetTag(), SMBIOSGetBiosVersion(), SMBIOSGetDellSystemId(), SMBIOSGetServiceTag(), SMBIOSGetSystemName(), SMBIOSGetVendorName(), SMBIOSIsDellSystem(), STD_TEST_END, and STD_TEST_START. Referenced by testSystemInfo_builtinXml(). |
|
Definition at line 1123 of file testSmbiosXml.cpp. References resetFactoryToBuiltinXml(), and testSystemInfo(). |
|
Definition at line 1194 of file testSmbiosXml.cpp. References getTestInputString(), getTestName(), safeConvertToString(), SMBIOSGetSystemName(), STD_TEST_END, and STD_TEST_START. |
|
Definition at line 203 of file testSmbiosXml.cpp. References smbios::BIOS_Information, SmbiosFactory::getFactory(), getTestName(), STD_TEST_END, STD_TEST_START, and smbios::System_Information. Referenced by testTable_Subscript_builtinXml(). |
|
Definition at line 245 of file testSmbiosXml.cpp. References resetFactoryToBuiltinXml(), and testTable_Subscript(). |
|
Definition at line 739 of file testSmbiosXml.cpp. References ASSERT_THROWS, SmbiosFactory::getFactory(), getTestName(), STD_TEST_END, and STD_TEST_START. Referenced by testTypeMismatch_builtinXml(). |
|
Definition at line 771 of file testSmbiosXml.cpp. References resetFactoryToBuiltinXml(), and testTypeMismatch(). |
|
Definition at line 1516 of file testSmbiosXml.cpp. References getTestName(), SMBIOSGetBootToUp(), SMBIOSHasBootToUp(), SMBIOSSetBootToUp(), STD_TEST_END, and STD_TEST_START. |
|
Definition at line 1405 of file testSmbiosXml.cpp. References doc, xmlutils::findElement(), SmbiosFactory::getFactory(), xmlutils::getNodeText(), getTestName(), STD_TEST_END, and STD_TEST_START. |
|
Definition at line 69 of file testSmbiosXml.h. Referenced by setUp(), tearDown(), testConstructionOffset(), testIdByte(), testIsDell(), testOutOfBounds(), and testVariousAccessors(). |
|
Definition at line 64 of file testSmbiosXml.h. Referenced by setUp(), and tearDown(). |