TypeTest Class Reference

#include <type/TypeTest.h>

List of all members.


Detailed Description

Definition at line 8 of file TypeTest.h.

Public Member Functions

int countTestCases () const
virtual void registerTests (CppUnit::TestSuite *suite)
void setUp ()
void tearDown ()
void testCompound ()
void testDataInterval ()
void testDataIntervalOverlaps ()
void testNotEqual ()
void testTypeLong ()
 TypeTest (std::string name)


Constructor & Destructor Documentation

TypeTest::TypeTest std::string  name  )  [inline]
 

Definition at line 12 of file TypeTest.h.


Member Function Documentation

int TypeTest::countTestCases  )  const
 

Definition at line 44 of file TypeTest.cpp.

void TypeTest::registerTests CppUnit::TestSuite *  suite  )  [virtual]
 

Definition at line 34 of file TypeTest.cpp.

References MYTEST, testCompound(), testDataInterval(), testDataIntervalOverlaps(), testNotEqual(), and testTypeLong().

Referenced by main().

void TypeTest::setUp  ) 
 

Definition at line 54 of file TypeTest.cpp.

void TypeTest::tearDown  ) 
 

Definition at line 64 of file TypeTest.cpp.

void TypeTest::testCompound  ) 
 

Definition at line 96 of file TypeTest.cpp.

References Type::asCompound(), Type::asPointer(), Boomerang::get(), Type::getCtype(), FrontEnd::getLibSignature(), CompoundType::getNameAtOffset(), Signature::getParamType(), PointerType::getPointsTo(), CompoundType::getTypeAtOffset(), HELLO_WINDOWS, BinaryFileFactory::Load(), FrontEnd::readLibraryCatalog(), and Boomerang::setLogger().

Referenced by registerTests().

void TypeTest::testDataInterval  ) 
 

Definition at line 160 of file TypeTest.cpp.

References DataIntervalMap::addItem(), CompoundType::addType(), Type::compForAddress(), DataIntervalMap::find(), ComplexTypeComp::index, ComplexTypeComp::isArray, ComplexTypeComp::memberName, DataIntervalMap::prints(), and ComplexTypeComp::u.

Referenced by registerTests().

void TypeTest::testDataIntervalOverlaps  ) 
 

Definition at line 238 of file TypeTest.cpp.

References DataIntervalMap::addItem(), CompoundType::addType(), DataIntervalMap::deleteItem(), and DataIntervalMap::find().

Referenced by registerTests().

void TypeTest::testNotEqual  ) 
 

Definition at line 83 of file TypeTest.cpp.

Referenced by registerTests().

void TypeTest::testTypeLong  ) 
 

Definition at line 71 of file TypeTest.cpp.

References IntegerType::getCtype().

Referenced by registerTests().


The documentation for this class was generated from the following files:
Generated on Tue Sep 19 21:18:47 2006 for Boomerang by  doxygen 1.4.6