69 const std::string&
name(
void)
const;
71 const std::string&
message(
void)
const;
73 const std::string&
type(
void)
const;
107 return (
"GTestCase");
void init_members(void)
Initialise class members.
virtual ~GTestCase(void)
Destructor.
Definition of interface for all GammaLib classes.
std::string m_message
Test message.
GTestCase * clone(void) const
Clone test case.
std::string m_type
Test type.
std::string m_name
Test name.
std::string classname(void) const
Return class name.
void clear(void)
Clear test case.
const ErrorKind & kind(void) const
Return kind of test case.
const double & duration(void) const
Return test case duration.
double m_duration
Test duration.
Interface class for all GammaLib classes.
GTestCase(void)
Void constructor.
void copy_members(const GTestCase &test)
Copy class members.
GTestCase & operator=(const GTestCase &test)
Assignment operator.
const std::string & message(void) const
Return test case message.
const std::string & type(void) const
Return test case type.
const bool & has_passed(void) const
Return whether the test passed.
const std::string & name(void) const
Return test case name.
bool m_has_passed
Boolean to check test success.
void free_members(void)
Delete class members.
std::string print(const GChatter &chatter=NORMAL) const
Print test case result.
ErrorKind m_kind
Kind of test case (failure or error test)