Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

UnitTest.hh File Reference

#include "TestForward.hh"
#include "TestComponent.hh"
#include <iosfwd>
#include <string>

Go to the source code of this file.


namespace  ccunit


#define _test(cond)   do_test(cond, #cond, __FILE__, __FUNCTION__, __LINE__)
#define _fail(str)   do_fail(str, __FILE__, __FUNCTION__, __LINE__)

Define Documentation

#define _fail str       do_fail(str, __FILE__, __FUNCTION__, __LINE__)

Public interface to count failure (i.e., logical or exception failures)

Definition at line 43 of file UnitTest.hh.

Referenced by StackTest::testBadSize, StackTest::testOverflow, StackTest::testPopulate, and StackTest::testUnderflow.

#define _test cond       do_test(cond, #cond, __FILE__, __FUNCTION__, __LINE__)

Public interface to the base test assertion.

Definition at line 38 of file UnitTest.hh.

Referenced by VoidTest::run_tests, VoidTest::testAdd, ComplexTest::testAdd, ComplexTest::testEqual, StackTest::testPop, StackTest::testPopulate, and StackTest::testUnderflow.

Generated on Tue Apr 2 15:33:23 2002 for libccunit by doxygen 1.2.14 written by Dimitri van Heesch, © 1997-2002

Project hosted on sourceforge SourceForge Logo