John Bailey / TestSupportLite

Dependents:   CircularBufferTest

Embed: (wiki syntax)

« Back to documentation index

TestResults Class Reference

TestResults Class Reference

Currently a very simple class just to encapsulate a few test statistics. More...

#include <TestSupportLite.hpp>

Public Member Functions

 TestResults (void)
 Copyright 2014 John Bailey.

Protected Attributes

std::size_t m_passed
 Number of tests that have passed.
std::size_t m_total
 Total number of tests run so far.

Detailed Description

Currently a very simple class just to encapsulate a few test statistics.

Implemented as a class rather than a set of global variables to simplify multiple instatitation

Definition at line 63 of file TestSupportLite.hpp.


Constructor & Destructor Documentation

TestResults ( void   )

Copyright 2014 John Bailey.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition at line 21 of file TestSupportLite.cpp.


Field Documentation

std::size_t m_passed [protected]

Number of tests that have passed.

Definition at line 67 of file TestSupportLite.hpp.

std::size_t m_total [protected]

Total number of tests run so far.

Definition at line 69 of file TestSupportLite.hpp.