CppUnitLite
TestResult.h
Go to the documentation of this file.
1
/* ----------------------------------------------------------------------------
2
3
* GTSAM Copyright 2010, Georgia Tech Research Corporation,
4
* Atlanta, Georgia 30332-0415
5
* All Rights Reserved
6
* Authors: Frank Dellaert, et al. (see THANKS for the full author list)
7
8
* See LICENSE for the license information
9
10
* -------------------------------------------------------------------------- */
11
13
//
14
// TESTRESULT.H
15
//
16
// A TestResult is a collection of the history of some test runs. Right now
17
// it just collects failures.
18
//
20
21
#ifndef TESTRESULT_H
22
#define TESTRESULT_H
23
24
class
Failure
;
25
26
class
TestResult
27
{
28
public
:
29
TestResult
();
30
virtual
~TestResult
() {}
31
virtual
void
testsStarted
();
32
virtual
void
addFailure
(
const
Failure
& failure);
33
virtual
void
testsEnded
();
34
35
int
getFailureCount
() {
return
failureCount
;}
36
37
private
:
38
int
failureCount
;
39
};
40
41
#endif
TestResult::~TestResult
virtual ~TestResult()
Definition:
TestResult.h:30
TestResult::testsStarted
virtual void testsStarted()
Definition:
TestResult.cpp:25
TestResult::getFailureCount
int getFailureCount()
Definition:
TestResult.h:35
Failure
Definition:
Failure.h:28
TestResult::failureCount
int failureCount
Definition:
TestResult.h:38
TestResult::TestResult
TestResult()
Definition:
TestResult.cpp:19
TestResult::addFailure
virtual void addFailure(const Failure &failure)
Definition:
TestResult.cpp:30
TestResult
Definition:
TestResult.h:26
TestResult::testsEnded
virtual void testsEnded()
Definition:
TestResult.cpp:51
gtsam
Author(s):
autogenerated on Thu Dec 19 2024 04:07:14