Jon Test
C++ Unit Test Tool. Not for production -- sample code only
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
JonTest::Count Class Reference

Count of tests run, and fails. More...

#include <Count.h>

Collaboration diagram for JonTest::Count:
Collaboration graph

Public Member Functions

Countoperator+= (const Count &right)
 Add another Count into this one, as Count += right.
 

Public Attributes

int count = 0
 Number of tests that have been run.
 
int fails = 0
 Number of tests that have failed.
 

Detailed Description

Count of tests run, and fails.

Examples
SimpleTest.cpp, TestCaseOrder.cpp, and main.cpp.

Definition at line 9 of file Count.h.

Member Function Documentation

◆ operator+=()

Count & JonTest::Count::operator+= ( const Count right)
inline

Add another Count into this one, as Count += right.

Returns
this Count, the left side of Count += Count
Parameters
rightThe Count to add to this

Definition at line 23 of file Count.h.

Member Data Documentation

◆ count

int JonTest::Count::count = 0

Number of tests that have been run.

Definition at line 14 of file Count.h.

◆ fails

int JonTest::Count::fails = 0

Number of tests that have failed.

Examples
SimpleTest.cpp, TestCaseOrder.cpp, and main.cpp.

Definition at line 18 of file Count.h.


The documentation for this class was generated from the following file: