My Project
Loading...
Searching...
No Matches
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
11
12namespace CxxTest
13{
15 {
16 public:
18 {
19 }
20
21 int run()
22 {
24 return tracker().failedTests();
25 }
26 };
27}
28
29#endif // __cxxtest__YesNoRunner_h__
static void runAllTests(TestListener &listener)
Definition: TestRunner.h:20
unsigned failedTests() const
Definition: TestTracker.h:37
TestTracker & tracker()
Definition: TestTracker.h:111