ExpectedFunctionTest.cpp File Reference

#include "Qt.h" [code]
#include "../ExpectedFunction.h" [code]
#include "../BoundFunction.h" [code]
#include "Imports.cpp" [code]

Include dependency graph for ExpectedFunctionTest.cpp:

Go to the source code of this file.

Namespaces

namespace  Utils
namespace  Utils::CalitkoMocks
namespace  Utils::CalitkoMocks::Testing

Classes

class  Utils::CalitkoMocks::Testing::ExpectedFunctionTest
 Tests for class ExpectedFunction. More...

Defines

#define TEST_MESSAGE(summary, description)   CPPUNIT_ASSERT (e.message() == Message (summary, description))
 A macro to easier test that a thrown exception has the correct message set.
#define TEST_SOURCELINE(filename, line)   CPPUNIT_ASSERT (e.sourceLine() == SourceLine (filename, line))
 A macro to easier test if a thrown exception has the correct soureline set.

Functions

 Utils::CalitkoMocks::Testing::CPPUNIT_TEST_SUITE_REGISTRATION (ExpectedFunctionTest)


Define Documentation

#define TEST_MESSAGE summary,
description   )     CPPUNIT_ASSERT (e.message() == Message (summary, description))
 

A macro to easier test that a thrown exception has the correct message set.

Definition at line 29 of file ExpectedFunctionTest.cpp.

#define TEST_SOURCELINE filename,
line   )     CPPUNIT_ASSERT (e.sourceLine() == SourceLine (filename, line))
 

A macro to easier test if a thrown exception has the correct soureline set.

Definition at line 33 of file ExpectedFunctionTest.cpp.