UnitTest.cpp File Reference

Functions for writing simple unit tests. More...

#include "Common.hpp"
#include "StringUtils.hpp"
#include <iostream>

Namespaces

namespace  Core

Functions

void __stdcall DebugBreak ()
int __stdcall IsDebuggerPresent ()
void Core::WriteTestResult (const char *pszFile, size_t nLine, const tchar *pszExpression, bool bPassed)
 Write the test results to stdout.
void Core::WriteTestsSummary ()
 Write the summary of the test results to stdout.
int Core::GetTestProcessResult ()
 Get the test process result code.

Variables

static size_t Core::s_nPassed = 0
 The number of tests that passed.
static size_t Core::s_nFailed = 0
 The number of tests that failed.


Detailed Description

Functions for writing simple unit tests.

Author:
Chris Oldwood

Function Documentation

void __stdcall DebugBreak (  ) 

int __stdcall IsDebuggerPresent (  ) 


Generated on Wed Feb 13 22:53:28 2008 for Core Library by  doxygen 1.5.2