My Project
Loading...
Searching...
No Matches
libpolys
tests
cxxtest
YesNoRunner.h
Go to the documentation of this file.
1
#ifndef __cxxtest__YesNoRunner_h__
2
#define __cxxtest__YesNoRunner_h__
3
4
//
5
// The YesNoRunner is a simple TestListener that
6
// just returns true iff all tests passed.
7
//
8
9
#include <
cxxtest/TestRunner.h
>
10
#include <
cxxtest/TestListener.h
>
11
12
namespace
CxxTest
13
{
14
class
YesNoRunner
:
public
TestListener
15
{
16
public
:
17
YesNoRunner
()
18
{
19
}
20
21
int
run
()
22
{
23
TestRunner::runAllTests
( *
this
);
24
return
tracker
().
failedTests
();
25
}
26
};
27
}
28
29
#endif
// __cxxtest__YesNoRunner_h__
TestListener.h
TestRunner.h
CxxTest::TestListener
Definition:
TestListener.h:18
CxxTest::TestRunner::runAllTests
static void runAllTests(TestListener &listener)
Definition:
TestRunner.h:20
CxxTest::TestTracker::failedTests
unsigned failedTests() const
Definition:
TestTracker.h:37
CxxTest::YesNoRunner
Definition:
YesNoRunner.h:15
CxxTest::YesNoRunner::run
int run()
Definition:
YesNoRunner.h:21
CxxTest::YesNoRunner::YesNoRunner
YesNoRunner()
Definition:
YesNoRunner.h:17
CxxTest
Definition:
Descriptions.cpp:7
CxxTest::tracker
TestTracker & tracker()
Definition:
TestTracker.h:111
Generated on Mon Feb 27 2023 10:53:49 for My Project by
doxygen 1.9.5
for
Singular