testPlatform Class Reference

#include <testPlatform.h>

List of all members.

Public Member Functions

virtual void setUp ()
virtual void tearDown ()
virtual void resetFactoryToBuiltinXml ()
void testGetBoundaries ()
void testGetBoundaries_builtinXml ()
void testCmosChecksum ()
void testCmosWriting ()
void testSystemInfo ()
void testSystemInfo_builtinXml ()
void testIdByte ()
void testServiceTag ()
void testServiceTagWriting ()
void testAssetTag ()
void testSystemName ()
void testBiosVersion ()
void testIsDell ()
void testVariousAccessors ()
void testOutOfBounds ()
void testConstructionOffset1 ()
void testConstructionOffset2 ()
void testStateBytes ()
void testUpBoot ()
 CPPUNIT_TEST_SUITE (testPlatform)
 CPPUNIT_TEST (testCmosChecksum)
 CPPUNIT_TEST (testCmosWriting)
 CPPUNIT_TEST (testSystemInfo)
 CPPUNIT_TEST (testSystemInfo_builtinXml)
 CPPUNIT_TEST (testIdByte)
 CPPUNIT_TEST (testServiceTag)
 CPPUNIT_TEST (testServiceTagWriting)
 CPPUNIT_TEST (testAssetTag)
 CPPUNIT_TEST (testSystemName)
 CPPUNIT_TEST (testBiosVersion)
 CPPUNIT_TEST (testIsDell)
 CPPUNIT_TEST (testVariousAccessors)
 CPPUNIT_TEST (testOutOfBounds)
 CPPUNIT_TEST (testConstructionOffset1)
 CPPUNIT_TEST (testConstructionOffset2)
 CPPUNIT_TEST (testStateBytes)
 CPPUNIT_TEST (testUpBoot)
 CPPUNIT_TEST_SUITE_END ()

Protected Member Functions

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

Protected Attributes

XML_NAMESPACE DOMBuilder * parser
XML_NAMESPACE DOMDocument * doc


Detailed Description

Definition at line 40 of file testPlatform.h.


Member Function Documentation

void checkSkipTest ( std::string  testName  )  [protected]

CPPUNIT_TEST ( testUpBoot   ) 

CPPUNIT_TEST ( testStateBytes   ) 

CPPUNIT_TEST ( testConstructionOffset2   ) 

CPPUNIT_TEST ( testConstructionOffset1   ) 

CPPUNIT_TEST ( testOutOfBounds   ) 

CPPUNIT_TEST ( testVariousAccessors   ) 

CPPUNIT_TEST ( testIsDell   ) 

CPPUNIT_TEST ( testBiosVersion   ) 

CPPUNIT_TEST ( testSystemName   ) 

CPPUNIT_TEST ( testAssetTag   ) 

CPPUNIT_TEST ( testServiceTagWriting   ) 

CPPUNIT_TEST ( testServiceTag   ) 

CPPUNIT_TEST ( testIdByte   ) 

CPPUNIT_TEST ( testSystemInfo_builtinXml   ) 

CPPUNIT_TEST ( testSystemInfo   ) 

CPPUNIT_TEST ( testCmosWriting   ) 

CPPUNIT_TEST ( testCmosChecksum   ) 

CPPUNIT_TEST_SUITE ( testPlatform   ) 

CPPUNIT_TEST_SUITE_END (  ) 

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

Definition at line 43 of file testPlatform.h.

References global_argv.

Referenced by setUp().

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

Definition at line 59 of file testPlatform.h.

References global_argv.

Referenced by setUp().

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

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

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

Definition at line 48 of file testPlatform.h.

References global_argv.

Referenced by setUp().

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

Definition at line 64 of file testPlatform.h.

Referenced by setUp().

void resetFactoryToBuiltinXml (  )  [virtual]

Definition at line 131 of file testPlatform.cpp.

References SmbiosFactory::getFactory().

Referenced by testSystemInfo_builtinXml().

void setUp (  )  [virtual]

void tearDown (  )  [virtual]

void testAssetTag (  ) 

void testBiosVersion (  ) 

void testCmosChecksum (  ) 

void testCmosWriting (  ) 

void testConstructionOffset1 (  ) 

void testConstructionOffset2 (  ) 

void testGetBoundaries (  ) 

void testGetBoundaries_builtinXml (  ) 

void testIdByte (  ) 

void testIsDell (  ) 

void testOutOfBounds (  ) 

void testServiceTag (  ) 

void testServiceTagWriting (  ) 

void testStateBytes (  ) 

void testSystemInfo (  ) 

void testSystemInfo_builtinXml (  ) 

Definition at line 419 of file testPlatform.cpp.

References resetFactoryToBuiltinXml(), and testSystemInfo().

void testSystemName (  ) 

void testUpBoot (  ) 

void testVariousAccessors (  ) 


Member Data Documentation

XML_NAMESPACE DOMDocument* doc [protected]

XML_NAMESPACE DOMBuilder* parser [protected]

Definition at line 75 of file testPlatform.h.

Referenced by setUp(), and tearDown().


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

Generated on Tue Dec 23 18:41:23 2008 for SMBIOS Library by  doxygen 1.5.7