LRT14
1.0
Main Page
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Functions
Variables
Enumerations
Enumerator
RUnitException.h
1
#ifndef RUNIT_EXCEPTION_H_
2
#define RUNIT_EXCEPTION_H_
3
4
#include <string>
5
6
namespace
RUnit
7
{
8
9
class
RUnitException
10
{
11
public
:
12
RUnitException(std::string should, std::string actual, std::string errorMsg)
13
: m_shouldBe(should), m_actually(actual), m_errorMsg(errorMsg)
14
{
15
16
}
17
18
std::string should()
19
{
20
return
m_shouldBe;
21
}
22
23
std::string actual()
24
{
25
return
m_actually;
26
}
27
28
std::string errorMsg()
29
{
30
return
m_errorMsg;
31
}
32
33
private
:
34
std::string m_shouldBe;
35
std::string m_actually;
36
std::string m_errorMsg;
37
};
38
39
}
40
#endif
UnitTests
RUnit
RUnitException.h
Generated on Tue Feb 11 2014 00:29:50 for LRT14 by
1.8.3