#include <testStandalone.h>
Public Methods | |
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 | testSmbiosXml () |
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 | testMemoryBadFiles () |
void | testMemoryFuncs () |
void | testCmosConstructor () |
void | testSmi_callingInterface () |
void | testSmi_callingInterface_physaddr () |
void | testServiceTagWriting () |
void | testLibraryVersion () |
void | testStateBytes () |
void | testException () |
void | testNonXml () |
CPPUNIT_TEST_SUITE (testStandalone) | |
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 (testSmbiosXml) | |
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 (testGetBoundaries) | |
CPPUNIT_TEST (testGetBoundaries_builtinXml) | |
CPPUNIT_TEST (testTypeMismatch) | |
CPPUNIT_TEST (testTypeMismatch_builtinXml) | |
CPPUNIT_TEST (testMemoryBadFiles) | |
CPPUNIT_TEST (testMemoryFuncs) | |
CPPUNIT_TEST (testCmosConstructor) | |
CPPUNIT_TEST (testSmi_callingInterface) | |
CPPUNIT_TEST (testSmi_callingInterface_physaddr) | |
CPPUNIT_TEST (testLibraryVersion) | |
CPPUNIT_TEST (testException) | |
CPPUNIT_TEST (testNonXml) | |
CPPUNIT_TEST_SUITE_END () | |
Protected Methods | |
virtual std::string | getCppunitTopDirectory () |
virtual std::string | getWritableDirectory () |
virtual std::string | getTestName () |
virtual std::string | getTestDirectory () |
virtual std::string | getXmlFile () |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 43 of file testStandalone.h. References global_argv. Referenced by setUp(). |
|
Definition at line 60 of file testStandalone.h. References global_argv. Referenced by setUp(). |
|
|
Definition at line 48 of file testStandalone.h. References global_argv. Referenced by setUp(). |
|
Definition at line 65 of file testStandalone.h. Referenced by setUp(). |
|
|
Definition at line 71 of file testStandalone.cpp. References copyFile(), fileExists(), getCppunitTopDirectory(), SmiFactory::getFactory(), MemoryFactory::getFactory(), CmosRWFactory::getFactory(), SmbiosFactory::getFactory(), SmbiosXmlFactory::getFactory(), getTestDirectory(), getWritableDirectory(), getXmlFile(), and IFactory::UnitTestMode. Referenced by testNonXml(). |
|
Definition at line 126 of file testStandalone.cpp. References SmiFactory::getFactory(), CmosRWFactory::getFactory(), MemoryFactory::getFactory(), SmbiosFactory::getFactory(), and TokenTableFactory::getFactory(). Referenced by testNonXml(). |
|
Definition at line 941 of file testStandalone.cpp. References ITokenTable::begin(), ITokenTable::end(), TokenTableFactory::getFactory(), TokenTableFactory::getSingleton(), getTestName(), ITokenTable::iterator, STD_TEST_END, and STD_TEST_START. |
|
Definition at line 234 of file testStandalone.cpp. References ISmbiosTable::begin(), ISmbiosTable::const_iterator, ISmbiosTable::end(), SmbiosFactory::getFactory(), ISmbiosTable::getNumberOfEntries(), getTestName(), STD_TEST_END, and STD_TEST_START. Referenced by testConstIterator_builtinXml(). |
|
Definition at line 257 of file testStandalone.cpp. References resetFactoryToBuiltinXml(), and testConstIterator(). |
|
Definition at line 437 of file testStandalone.cpp. References ISmbiosTable::begin(), ISmbiosTable::end(), SmbiosFactory::getFactory(), getTestName(), ISmbiosTable::iterator, STD_TEST_END, STD_TEST_START, u16, and u8. Referenced by testEachItemAccessors_builtinXml(). |
|
Definition at line 471 of file testStandalone.cpp. References resetFactoryToBuiltinXml(), and testEachItemAccessors(). |
|
Definition at line 204 of file testStandalone.cpp. References ISmbiosTable::begin(), ISmbiosTable::end(), SmbiosFactory::getFactory(), ISmbiosTable::getNumberOfEntries(), getTestName(), ISmbiosTable::iterator, STD_TEST_END, and STD_TEST_START. Referenced by testEntryCount_builtinXml(). |
|
Definition at line 227 of file testStandalone.cpp. References resetFactoryToBuiltinXml(), and testEntryCount(). |
|
Definition at line 1040 of file testStandalone.cpp. References getTestName(), Exception::setMessageString(), Exception::setParameter(), STD_TEST_END, STD_TEST_START, and Exception::what(). |
|
Definition at line 851 of file testStandalone.cpp. References ASSERT_THROWS, ISmbiosTable::end(), SmbiosFactory::getFactory(), getTestName(), ISmbiosTable::iterator, STD_TEST_END, and STD_TEST_START. Referenced by testGetBoundaries_builtinXml(). |
|
Definition at line 881 of file testStandalone.cpp. References resetFactoryToBuiltinXml(), and testGetBoundaries(). |
|
Definition at line 477 of file testStandalone.cpp. References ASSERT_THROWS, SmbiosFactory::getFactory(), getTestName(), ISmbiosTable::iterator, STD_TEST_END, STD_TEST_START, u16, u32, and u8. Referenced by testItem_GetBiosInfo_builtinXml(). |
|
Definition at line 640 of file testStandalone.cpp. References resetFactoryToBuiltinXml(), and testItem_GetBiosInfo(). |
|
Definition at line 692 of file testStandalone.cpp. References SmbiosFactory::getFactory(), getTestName(), ISmbiosTable::iterator, STD_TEST_END, STD_TEST_START, and u8. Referenced by testItem_GetSystemInfo_builtinXml(). |
|
Definition at line 782 of file testStandalone.cpp. References resetFactoryToBuiltinXml(), and testItem_GetSystemInfo(). |
|
Definition at line 385 of file testStandalone.cpp. References SmbiosFactory::getFactory(), getTestName(), ISmbiosItem::getType(), ISmbiosTable::iterator, STD_TEST_END, and STD_TEST_START. Referenced by testItemIdentity_builtinXml(). |
|
Definition at line 430 of file testStandalone.cpp. References resetFactoryToBuiltinXml(), and testItemIdentity(). |
|
Definition at line 1028 of file testStandalone.cpp. References getTestName(), LIBSMBIOS_RELEASE_VERSION, SMBIOSGetLibraryVersionString(), STD_TEST_END, and STD_TEST_START. |
|
Definition at line 892 of file testStandalone.cpp. References ASSERT_THROWS, MemoryFactory::getFactory(), getTestName(), MemoryFactory::makeNew(), IFactory::setParameter(), STD_TEST_END, STD_TEST_START, and IFactory::UnitTestMode. |
|
Definition at line 913 of file testStandalone.cpp. References ASSERT_THROWS, IMemory::getByte(), MemoryFactory::getFactory(), MemoryFactory::getSingleton(), getTestName(), IMemory::putByte(), STD_TEST_END, and STD_TEST_START. |
|
Definition at line 646 of file testStandalone.cpp. References ASSERT_THROWS, ISmbiosTable::const_iterator, SmbiosFactory::getFactory(), getTestName(), ISmbiosTable::iterator, SmbiosFactory::makeNew(), IFactory::reset(), setUp(), STD_TEST_END, STD_TEST_START, and tearDown(). |
|
|
|
Definition at line 792 of file testStandalone.cpp. References SmbiosFactory::getFactory(), getTestName(), smbios::isBitSet(), ISmbiosTable::iterator, STD_TEST_END, and STD_TEST_START. |
|
Definition at line 967 of file testStandalone.cpp. References SmiFactory::DELL_CALLING_INTERFACE_SMI_RAW, ISmi::execute(), SmiFactory::getFactory(), getTestName(), IDellCallingInterfaceSmi::setArg(), IDellCallingInterfaceSmi::setClass(), IDellCallingInterfaceSmi::setSelect(), STD_TEST_END, and STD_TEST_START. |
|
|
|
|
Definition at line 361 of file testStandalone.cpp. References ISmbiosTable::end(), SmbiosFactory::getFactory(), getTestName(), ISmbiosTable::iterator, STD_TEST_END, and STD_TEST_START. |
|
Definition at line 264 of file testStandalone.cpp. References ISmbiosTable::end(), SmbiosFactory::getFactory(), ISmbiosTable::getNumberOfEntries(), getTestName(), ISmbiosTable::iterator, STD_TEST_END, and STD_TEST_START. Referenced by testSubscriptOperator1_builtinXml(). |
|
Definition at line 284 of file testStandalone.cpp. References resetFactoryToBuiltinXml(), and testSubscriptOperator1(). |
|
Definition at line 291 of file testStandalone.cpp. References getTestName(), STD_TEST_END, and STD_TEST_START. Referenced by testSubscriptOperator2_builtinXml(). |
|
Definition at line 315 of file testStandalone.cpp. References resetFactoryToBuiltinXml(), and testSubscriptOperator2(). |
|
Definition at line 322 of file testStandalone.cpp. References ISmbiosTable::end(), SmbiosFactory::getFactory(), getTestName(), ISmbiosTable::iterator, STD_TEST_END, and STD_TEST_START. Referenced by testSubscriptOperator3_builtinXml(). |
|
Definition at line 347 of file testStandalone.cpp. References resetFactoryToBuiltinXml(), and testSubscriptOperator3(). |
|
Definition at line 149 of file testStandalone.cpp. References SmbiosFactory::getFactory(), smbios::getItemHandle(), smbios::getItemLength(), smbios::getItemType(), getTestName(), ISmbiosTable::iterator, STD_TEST_END, and STD_TEST_START. Referenced by testTable_Subscript_builtinXml(). |
|
Definition at line 197 of file testStandalone.cpp. References resetFactoryToBuiltinXml(), and testTable_Subscript(). |
|
Definition at line 811 of file testStandalone.cpp. References ASSERT_THROWS, SmbiosFactory::getFactory(), getTestName(), ISmbiosTable::iterator, STD_TEST_END, and STD_TEST_START. Referenced by testTypeMismatch_builtinXml(). |
|
Definition at line 843 of file testStandalone.cpp. References resetFactoryToBuiltinXml(), and testTypeMismatch(). |