#include <loader/LoaderTest.h>
Definition at line 7 of file LoaderTest.h.
Public Member Functions | |
int | countTestCases () const |
LoaderTest (std::string name) | |
virtual void | registerTests (CppUnit::TestSuite *suite) |
void | setUp () |
void | tearDown () |
void | testElfHash () |
void | testHppaLoad () |
void | testMicroDis1 () |
void | testMicroDis2 () |
void | testPalmLoad () |
void | testPentiumLoad () |
void | testSparcLoad () |
void | testWinLoad () |
|
Definition at line 11 of file LoaderTest.h. |
|
Definition at line 60 of file LoaderTest.cpp. |
|
Definition at line 47 of file LoaderTest.cpp. References MYTEST, testElfHash(), testHppaLoad(), testMicroDis1(), testMicroDis2(), testPalmLoad(), testPentiumLoad(), testSparcLoad(), and testWinLoad(). Referenced by main(). |
|
Definition at line 70 of file LoaderTest.cpp. |
|
Definition at line 80 of file LoaderTest.cpp. |
|
Definition at line 599 of file LoaderTest.cpp. References ELFBINFILE. Referenced by registerTests(). |
|
Definition at line 145 of file LoaderTest.cpp. References BinaryFile::GetNumSections(), BinaryFile::GetSectionInfo(), HELLO_HPPA, BinaryFileFactory::Load(), NULL, and SectionInfo::pSectionName. Referenced by registerTests(). |
|
Definition at line 550 of file LoaderTest.cpp. References microX86Dis(), and size. Referenced by registerTests(). |
|
Definition at line 584 of file LoaderTest.cpp. References microX86Dis(), and size. Referenced by registerTests(). |
|
Definition at line 172 of file LoaderTest.cpp. References BinaryFile::GetNumSections(), BinaryFile::GetSectionInfo(), BinaryFileFactory::Load(), NULL, SectionInfo::pSectionName, and STARTER_PALM. Referenced by registerTests(). |
|
Definition at line 115 of file LoaderTest.cpp. References BinaryFile::GetNumSections(), BinaryFile::GetSectionInfo(), HELLO_PENTIUM, BinaryFileFactory::Load(), NULL, SectionInfo::pSectionName, BinaryFileFactory::UnLoad(), and BinaryFile::UnLoad(). Referenced by registerTests(). |
|
Definition at line 87 of file LoaderTest.cpp. References BinaryFile::GetNumSections(), BinaryFile::GetSectionInfo(), HELLO_SPARC, BinaryFileFactory::Load(), NULL, SectionInfo::pSectionName, BinaryFileFactory::UnLoad(), and BinaryFile::UnLoad(). Referenced by registerTests(). |
|
Definition at line 200 of file LoaderTest.cpp. References CALC_WINDOWS, BinaryFile::GetNumSections(), BinaryFile::GetSectionInfo(), BinaryFileFactory::Load(), NULL, and SectionInfo::pSectionName. Referenced by registerTests(). |