test_driver::result Struct Reference

A structure used to report the summary of tests passed and failed. More...

#include <testsuite.h>

List of all members.

Public Member Functions

 result ()
resultoperator+= (const result &o)
void reset ()

Public Attributes

unsigned int succeeded
 The number of tests which succeeded.
unsigned int failed
 The number of tests which failed.
unsigned int skipped
 The number of tests which were skipped.


Detailed Description

A structure used to report the summary of tests passed and failed.

Definition at line 99 of file testsuite.h.


Constructor & Destructor Documentation

test_driver::result::result (  )  [inline]

Definition at line 109 of file testsuite.h.


Member Function Documentation

result& test_driver::result::operator+= ( const result o  )  [inline]

Definition at line 111 of file testsuite.h.

References failed, skipped, and succeeded.

void test_driver::result::reset (  )  [inline]

Definition at line 118 of file testsuite.h.

References failed, skipped, and succeeded.


Member Data Documentation

unsigned int test_driver::result::succeeded

The number of tests which succeeded.

Definition at line 101 of file testsuite.h.

Referenced by operator+=(), and reset().

unsigned int test_driver::result::failed

The number of tests which failed.

Definition at line 104 of file testsuite.h.

Referenced by operator+=(), reset(), and test_driver::run().

unsigned int test_driver::result::skipped

The number of tests which were skipped.

Definition at line 107 of file testsuite.h.

Referenced by operator+=(), and reset().


The documentation for this struct was generated from the following file:
Documentation for Xapian (version 1.0.10).
Generated on 24 Dec 2008 by Doxygen 1.5.2.