Menu

[r197]: / trunk / cppunit / include / cppunit / Asserter.h  Maximize  Restore  History

Download this file

37 lines (26 with data), 932 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#ifndef CPPUNIT_ASSERTER_H
#define CPPUNIT_ASSERTER_H
#include <cppunit/Portability.h>
#include <cppunit/SourceLine.h>
#include <string>
namespace CppUnit
{
namespace Asserter
{
void fail( std::string message,
SourceLine sourceLine = SourceLine() );
void failIf( bool shouldFail,
std::string message,
SourceLine sourceLine = SourceLine() );
void failNotEqual( std::string expected,
std::string actual,
SourceLine sourceLine = SourceLine(),
std::string additionalMessage ="" );
void failNotEqualIf( bool shouldFail,
std::string expected,
std::string actual,
SourceLine sourceLine = SourceLine(),
std::string additionalMessage ="" );
} // namespace Asserter
} // namespace CppUnit
#endif // CPPUNIT_ASSERTER_H
MongoDB Logo MongoDB