testSmbiosXml.cpp File Reference

#include "smbios/compat.h"
#include <iomanip>
#include <fstream>
#include "testSmbiosXml.h"
#include "smbios/SmbiosDefs.h"
#include "smbios/IMemory.h"
#include "smbios/ISmi.h"
#include "smbios/IObserver.h"
#include "smbios/version.h"

Go to the source code of this file.

Defines

#define LIBSMBIOS_NEED_SMBIOSXML

Functions

 CPPUNIT_TEST_SUITE_REGISTRATION (testSmbiosXml)
void copyFile (string dstFile, string srcFile)
bool fileExists (string fileName)
string safeConvertToString (const char *str)
char * getServiceTagFromCMOSToken ()

Variables

string global_programDirname
string global_writeDirectory


Define Documentation

#define LIBSMBIOS_NEED_SMBIOSXML

Definition at line 23 of file testSmbiosXml.cpp.


Function Documentation

void copyFile ( string  dstFile,
string  srcFile 
)

Definition at line 58 of file testSmbiosXml.cpp.

Referenced by testSmbiosXml::setUp().

CPPUNIT_TEST_SUITE_REGISTRATION ( testSmbiosXml   ) 

bool fileExists ( string  fileName  ) 

Definition at line 69 of file testSmbiosXml.cpp.

Referenced by testSmbiosXml::setUp().

char* getServiceTagFromCMOSToken (  ) 

Definition at line 282 of file System.cpp.

References Cmos_Service_Token, DCOUT, dell_decode_service_tag(), CmosRWFactory::getFactory(), TokenTableFactory::getFactory(), CmosRWFactory::getSingleton(), TokenTableFactory::getSingleton(), ICmosRW::readByte(), SVC_TAG_CMOS_LEN_MAX, and SVC_TAG_LEN_MAX.

Referenced by testSmbiosXml::testServiceTagWriting().

string safeConvertToString ( const char *  str  ) 

Definition at line 1182 of file testSmbiosXml.cpp.

References SMBIOSFreeMemory().

Referenced by testSmbiosXml::testAssetTag(), testSmbiosXml::testBiosVersion(), testSmbiosXml::testServiceTag(), testSmbiosXml::testServiceTagWriting(), and testSmbiosXml::testSystemName().


Variable Documentation

string global_programDirname

Definition at line 35 of file main.cpp.

Referenced by main(), and testSmbiosXml::setUp().

string global_writeDirectory

Definition at line 36 of file main.cpp.

Referenced by main(), and testSmbiosXml::setUp().


Generated on Tue Jul 11 20:46:47 2006 for SMBIOS Library by  doxygen 1.4.7