Utils::Testing::CallableTest Class Reference

Inherits TestFixture.

Inheritance diagram for Utils::Testing::CallableTest:

Inheritance graph
[legend]
Collaboration diagram for Utils::Testing::CallableTest:

Collaboration graph
[legend]
List of all members.

Detailed Description

Tests for numerous Callable template instantiations.

Todo:
test comparison

test assignement

test other specializations

Definition at line 36 of file CallableTest.cpp.

Public Member Functions

 CallableTest ()
void testNullVoidVoid ()
void testNullIntVoid ()
void testCallStaticVoidVoid ()
void testCallStaticIntVoid ()
void testCallMemberVoidVoid ()
void testCallMemberIntVoid ()
void testCallMemberVoidVoidObjectPointer ()
void testCallMemberVoidVoidConst ()
void testCallMemberIntVoidConst ()
void testCallMemberVoidVoidConstObjectPointer ()
void testCallMemberVoidInt ()

Private Member Functions

 CPPUNIT_TEST_SUITE (CallableTest)
 CPPUNIT_TEST (testNullVoidVoid)
 CPPUNIT_TEST (testNullIntVoid)
 CPPUNIT_TEST (testCallStaticVoidVoid)
 CPPUNIT_TEST (testCallStaticIntVoid)
 CPPUNIT_TEST (testCallMemberVoidVoid)
 CPPUNIT_TEST (testCallMemberIntVoid)
 CPPUNIT_TEST (testCallMemberVoidVoidObjectPointer)
 CPPUNIT_TEST (testCallMemberVoidVoidConst)
 CPPUNIT_TEST (testCallMemberIntVoidConst)
 CPPUNIT_TEST (testCallMemberVoidVoidConstObjectPointer)
 CPPUNIT_TEST (testCallMemberVoidInt)
 CPPUNIT_TEST_SUITE_END ()
void memberVoidVoid ()
int memberIntVoid ()
void memberVoidInt (int value)
void memberVoidVoidConst () const
int memberIntVoidConst () const

Static Private Member Functions

static void staticVoidVoid ()
static int staticIntVoid ()

Private Attributes

bool hasCalledMemberVoidVoid
bool hasCalledMemberIntVoid
bool hasCalledMemberVoidInt
bool hasCalledMemberVoidVoidConst
bool hasCalledMemberIntVoidConst

Static Private Attributes

static bool hasCalledStaticVoidVoid = false
static bool hasCalledStaticIntVoid = false


Constructor & Destructor Documentation

Utils::Testing::CallableTest::CallableTest  )  [inline]
 

Definition at line 99 of file CallableTest.cpp.


Member Function Documentation

Utils::Testing::CallableTest::CPPUNIT_TEST testCallMemberVoidInt   )  [private]
 

Utils::Testing::CallableTest::CPPUNIT_TEST testCallMemberVoidVoidConstObjectPointer   )  [private]
 

Utils::Testing::CallableTest::CPPUNIT_TEST testCallMemberIntVoidConst   )  [private]
 

Utils::Testing::CallableTest::CPPUNIT_TEST testCallMemberVoidVoidConst   )  [private]
 

Utils::Testing::CallableTest::CPPUNIT_TEST testCallMemberVoidVoidObjectPointer   )  [private]
 

Utils::Testing::CallableTest::CPPUNIT_TEST testCallMemberIntVoid   )  [private]
 

Utils::Testing::CallableTest::CPPUNIT_TEST testCallMemberVoidVoid   )  [private]
 

Utils::Testing::CallableTest::CPPUNIT_TEST testCallStaticIntVoid   )  [private]
 

Utils::Testing::CallableTest::CPPUNIT_TEST testCallStaticVoidVoid   )  [private]
 

Utils::Testing::CallableTest::CPPUNIT_TEST testNullIntVoid   )  [private]
 

Utils::Testing::CallableTest::CPPUNIT_TEST testNullVoidVoid   )  [private]
 

Utils::Testing::CallableTest::CPPUNIT_TEST_SUITE CallableTest   )  [private]
 

Utils::Testing::CallableTest::CPPUNIT_TEST_SUITE_END  )  [private]
 

int Utils::Testing::CallableTest::memberIntVoid  )  [inline, private]
 

Definition at line 72 of file CallableTest.cpp.

int Utils::Testing::CallableTest::memberIntVoidConst  )  const [inline, private]
 

Definition at line 92 of file CallableTest.cpp.

void Utils::Testing::CallableTest::memberVoidInt int  value  )  [inline, private]
 

Definition at line 79 of file CallableTest.cpp.

void Utils::Testing::CallableTest::memberVoidVoid  )  [inline, private]
 

Definition at line 66 of file CallableTest.cpp.

void Utils::Testing::CallableTest::memberVoidVoidConst  )  const [inline, private]
 

Definition at line 86 of file CallableTest.cpp.

static int Utils::Testing::CallableTest::staticIntVoid  )  [inline, static, private]
 

Definition at line 59 of file CallableTest.cpp.

static void Utils::Testing::CallableTest::staticVoidVoid  )  [inline, static, private]
 

Definition at line 53 of file CallableTest.cpp.

void Utils::Testing::CallableTest::testCallMemberIntVoid  )  [inline]
 

Definition at line 146 of file CallableTest.cpp.

void Utils::Testing::CallableTest::testCallMemberIntVoidConst  )  [inline]
 

Definition at line 171 of file CallableTest.cpp.

void Utils::Testing::CallableTest::testCallMemberVoidInt  )  [inline]
 

Definition at line 188 of file CallableTest.cpp.

void Utils::Testing::CallableTest::testCallMemberVoidVoid  )  [inline]
 

Definition at line 138 of file CallableTest.cpp.

void Utils::Testing::CallableTest::testCallMemberVoidVoidConst  )  [inline]
 

Definition at line 163 of file CallableTest.cpp.

void Utils::Testing::CallableTest::testCallMemberVoidVoidConstObjectPointer  )  [inline]
 

Definition at line 180 of file CallableTest.cpp.

void Utils::Testing::CallableTest::testCallMemberVoidVoidObjectPointer  )  [inline]
 

Definition at line 155 of file CallableTest.cpp.

void Utils::Testing::CallableTest::testCallStaticIntVoid  )  [inline]
 

Definition at line 129 of file CallableTest.cpp.

void Utils::Testing::CallableTest::testCallStaticVoidVoid  )  [inline]
 

Definition at line 121 of file CallableTest.cpp.

void Utils::Testing::CallableTest::testNullIntVoid  )  [inline]
 

Definition at line 114 of file CallableTest.cpp.

void Utils::Testing::CallableTest::testNullVoidVoid  )  [inline]
 

Definition at line 108 of file CallableTest.cpp.


Member Data Documentation

bool Utils::Testing::CallableTest::hasCalledMemberIntVoid [private]
 

Definition at line 71 of file CallableTest.cpp.

bool Utils::Testing::CallableTest::hasCalledMemberIntVoidConst [mutable, private]
 

Definition at line 91 of file CallableTest.cpp.

bool Utils::Testing::CallableTest::hasCalledMemberVoidInt [private]
 

Definition at line 78 of file CallableTest.cpp.

bool Utils::Testing::CallableTest::hasCalledMemberVoidVoid [private]
 

Definition at line 65 of file CallableTest.cpp.

bool Utils::Testing::CallableTest::hasCalledMemberVoidVoidConst [mutable, private]
 

Definition at line 85 of file CallableTest.cpp.

bool Utils::Testing::CallableTest::hasCalledStaticIntVoid = false [static, private]
 

Definition at line 58 of file CallableTest.cpp.

bool Utils::Testing::CallableTest::hasCalledStaticVoidVoid = false [static, private]
 

Definition at line 52 of file CallableTest.cpp.


The documentation for this class was generated from the following file: