Zen
A cross-platform functional programming language

TestResult Class Reference

Test result class. More...

#include <zrt.hpp>

List of all members.

Public Member Functions

 TestResult ()
 Default constructor.
void add (const z::string &name, const int &passed)
 Add a test result.
void writeSummary ()
 Write test summary.

Private Attributes

z::dict< z::string, int > _result
 List of results.
int _passed
 Total passed tests.
int _total
 Total tests.

Detailed Description

Test result class.


Member Function Documentation

void add ( const z::string name,
const int &  passed 
)

Add a test result.

Parameters:
nameTest name
passedResult of test

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines