SMBIOS Library
Public Member Functions | Protected Member Functions | List of all members
testStandalone Class Reference

#include <testStandalone.h>

Collaboration diagram for testStandalone:
Collaboration graph

Public Member Functions

virtual void setUp ()
virtual void tearDown ()
void testSmbiosTableBase ()
void testSmbiosTableBase_iterNextItem ()
void testSmbiosTableBase_findItemByType ()
void testSmbiosTableBase_findItemByHandle ()
void testTable_Subscript ()
void testEntryCount ()
void testConstIterator ()
void testSubscriptOperator1 ()
void testSubscriptOperator2 ()
void testSubscriptOperator3 ()
void testSmbiosXml ()
void testStreamify ()
void testEachItemAccessors ()
void testItemIdentity ()
void testGetBoundaries ()
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 (testSmbiosTableBase)
 CPPUNIT_TEST (testSmbiosTableBase_iterNextItem)
 CPPUNIT_TEST (testSmbiosTableBase_findItemByType)
 CPPUNIT_TEST (testSmbiosTableBase_findItemByHandle)
 CPPUNIT_TEST (testTable_Subscript)
 CPPUNIT_TEST (testEntryCount)
 CPPUNIT_TEST (testConstIterator)
 CPPUNIT_TEST (testSubscriptOperator1)
 CPPUNIT_TEST (testSubscriptOperator2)
 CPPUNIT_TEST (testSubscriptOperator3)
 CPPUNIT_TEST (testSmbiosXml)
 CPPUNIT_TEST (testStreamify)
 CPPUNIT_TEST (testItemIdentity)
 CPPUNIT_TEST (testEachItemAccessors)
 CPPUNIT_TEST (testGetBoundaries)
 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 Member Functions

virtual std::string getCppunitTopDirectory ()
virtual std::string getWritableDirectory ()
virtual std::string getTestName ()
virtual std::string getTestDirectory ()

Detailed Description

Definition at line 40 of file testStandalone.h.

Member Function Documentation

CPPUNIT_TEST ( testSmbiosTableBase  )
CPPUNIT_TEST ( testTable_Subscript  )
CPPUNIT_TEST ( testEntryCount  )
CPPUNIT_TEST ( testConstIterator  )
CPPUNIT_TEST ( testSubscriptOperator1  )
CPPUNIT_TEST ( testSubscriptOperator2  )
CPPUNIT_TEST ( testSubscriptOperator3  )
CPPUNIT_TEST ( testSmbiosXml  )
CPPUNIT_TEST ( testStreamify  )
CPPUNIT_TEST ( testItemIdentity  )
CPPUNIT_TEST ( testEachItemAccessors  )
CPPUNIT_TEST ( testGetBoundaries  )
CPPUNIT_TEST ( testMemoryBadFiles  )
CPPUNIT_TEST ( testMemoryFuncs  )
CPPUNIT_TEST ( testCmosConstructor  )
CPPUNIT_TEST ( testSmi_callingInterface  )
CPPUNIT_TEST ( testLibraryVersion  )
CPPUNIT_TEST ( testException  )
CPPUNIT_TEST ( testNonXml  )
CPPUNIT_TEST_SUITE ( testStandalone  )
CPPUNIT_TEST_SUITE_END ( )
virtual std::string getCppunitTopDirectory ( )
inlineprotectedvirtual

Definition at line 43 of file testStandalone.h.

References global_argv.

virtual std::string getTestDirectory ( )
inlineprotectedvirtual

Definition at line 60 of file testStandalone.h.

References global_argv.

virtual std::string getTestName ( )
inlineprotectedvirtual

Definition at line 55 of file testStandalone.h.

References global_argv.

virtual std::string getWritableDirectory ( )
inlineprotectedvirtual

Definition at line 48 of file testStandalone.h.

References global_argv.

void setUp ( )
virtual
void tearDown ( )
virtual
void testCmosConstructor ( )

Definition at line 568 of file testStandalone.cpp.

References ITokenTable::begin(), ITokenTable::end(), TokenTableFactory::getFactory(), TokenTableFactory::getSingleton(), STD_TEST_END, and STD_TEST_START.

Here is the call graph for this function:

void testConstIterator ( )
void testEachItemAccessors ( )
void testEntryCount ( )
void testException ( )

Definition at line 662 of file testStandalone.cpp.

References Exception< S >::setMessageString(), Exception< S >::setParameter(), STD_TEST_END, STD_TEST_START, and Exception< S >::what().

Here is the call graph for this function:

void testGetBoundaries ( )
void testItemIdentity ( )
void testLibraryVersion ( )

Definition at line 650 of file testStandalone.cpp.

References LIBSMBIOS_RELEASE_VERSION, SMBIOSGetLibraryVersionString(), STD_TEST_END, and STD_TEST_START.

Here is the call graph for this function:

void testMemoryBadFiles ( )
void testMemoryFuncs ( )

Definition at line 540 of file testStandalone.cpp.

References ASSERT_THROWS, IMemory::getByte(), MemoryFactory::getFactory(), MemoryFactory::getSingleton(), IMemory::putByte(), STD_TEST_END, and STD_TEST_START.

Here is the call graph for this function:

void testNonXml ( )
void testServiceTagWriting ( )
void testSmbiosTableBase ( )

Definition at line 137 of file testStandalone.cpp.

void testSmbiosTableBase_findItemByHandle ( )

Definition at line 143 of file testStandalone.cpp.

void testSmbiosTableBase_findItemByType ( )

Definition at line 146 of file testStandalone.cpp.

void testSmbiosTableBase_iterNextItem ( )

Definition at line 140 of file testStandalone.cpp.

void testSmbiosXml ( )

Definition at line 466 of file testStandalone.cpp.

References smbios::BIOS_Information, SmbiosFactory::getFactory(), SmbiosFactory::getSingleton(), smbios::isBitSet(), STD_TEST_END, and STD_TEST_START.

Here is the call graph for this function:

void testSmi_callingInterface ( )

Definition at line 594 of file testStandalone.cpp.

References SmiFactory::DELL_CALLING_INTERFACE_SMI, SmiFactory::getFactory(), SmiFactory::makeNew(), STD_TEST_END, and STD_TEST_START.

Here is the call graph for this function:

void testSmi_callingInterface_physaddr ( )

Definition at line 616 of file testStandalone.cpp.

References SmiFactory::DELL_CALLING_INTERFACE_SMI, SmiFactory::getFactory(), SmiFactory::makeNew(), STD_TEST_END, and STD_TEST_START.

Here is the call graph for this function:

void testStateBytes ( )
void testStreamify ( )

Definition at line 324 of file testStandalone.cpp.

References ISmbiosTable::end(), SmbiosFactory::getFactory(), SmbiosFactory::getSingleton(), STD_TEST_END, and STD_TEST_START.

Here is the call graph for this function:

void testSubscriptOperator1 ( )
void testSubscriptOperator2 ( )

Definition at line 266 of file testStandalone.cpp.

References STD_TEST_END, and STD_TEST_START.

void testSubscriptOperator3 ( )

Definition at line 291 of file testStandalone.cpp.

References ISmbiosTable::end(), SmbiosFactory::getFactory(), SmbiosFactory::getSingleton(), STD_TEST_END, and STD_TEST_START.

Here is the call graph for this function:

void testTable_Subscript ( )

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