#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 LIBSMBIOS_NEED_SMBIOSXML |
Definition at line 23 of file testSmbiosXml.cpp.
void copyFile | ( | string | dstFile, | |
string | srcFile | |||
) |
CPPUNIT_TEST_SUITE_REGISTRATION | ( | testSmbiosXml | ) |
bool fileExists | ( | string | fileName | ) |
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().
string global_programDirname |
string global_writeDirectory |