Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

testPlatform.cpp File Reference

#include "smbios/compat.h"
#include <iomanip>
#include <fstream>
#include "testPlatform.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.

Functions

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


Function Documentation

void copyFile string    dstFile,
string    srcFile
 

Definition at line 49 of file testPlatform.cpp.

CPPUNIT_TEST_SUITE_REGISTRATION testPlatform   
 

bool fileExists string    fileName
 

Definition at line 60 of file testPlatform.cpp.

char* getAssetTagFromToken  
 

Definition at line 503 of file System.cpp.

References ASSET_TAG_CMOS_LEN_MAX, ASSET_TAG_LEN_MAX, Cmos_Asset_Token, CmosRWFactory::getFactory(), TokenTableFactory::getFactory(), u16, u32, and u8.

Referenced by testPlatform::testAssetTag().

char* getServiceTagFromCMOSToken  
 

Definition at line 281 of file System.cpp.

References Cmos_Service_Token, DCOUT, dell_decode_service_tag(), CmosRWFactory::getFactory(), TokenTableFactory::getFactory(), SVC_TAG_CMOS_LEN_MAX, SVC_TAG_LEN_MAX, u16, u32, and u8.

Referenced by testPlatform::testServiceTagWriting().

string safeConvertToString const char *    str
 

Definition at line 464 of file testPlatform.cpp.

References SMBIOSFreeMemory().


Generated on Tue Jul 3 18:35:13 2007 for SMBIOS Library by doxygen1.2.18