Vault  4.1
Classes | Defines | Typedefs
vunit.h File Reference
#include "vtypes.h"
#include "vstring.h"
#include "vinstant.h"
#include "vchar.h"
#include "vcolor.h"

Go to the source code of this file.

Classes

class  VTestInfo
 VTestInfo is used internally by VUnit to hold a single test's info and result. More...
class  VUnitOutputWriter
 VUnitOutputWriter provides an abstract API for providing test results in various formats. More...
class  VUnit
 VUnit is a simple abstract base class used to build unit tests for the Vault classes. More...
class  VTestRunner
 VTestRunner is an abstract interface for running a single unit test class. More...
class  VTestSuitesWrapper
 VTestSuitesRunner is a helper/wrapper class that handles proper setup and teardown of an entire set of test suites. More...
class  VFailureEmitter
 There are some types of unit tests where you have to do some setup before actually invoking the VUnit subclass, where the setup can fail. More...
class  VUnitJUnitXMLOutput
 This outputter writes test results in a JUnit-compatible XML format. More...
class  VUnitSimpleTextOutput
 This outputter writes test results in a simple human-readable text format. More...
class  VUnitTeamCityOutput
 This outputter writes test results in a TeamCity stdout reporting format. More...
class  VUnitTeamCityBuildStatusOutput
 This outputter writes test results in a TeamCity build status XML file format. More...

Defines

#define VUNIT_ASSERT_SUCCESS(suffix)   this->assertSuccess(suffix, __FILE__, __LINE__)
#define VUNIT_ASSERT_FAILURE(suffix)   this->assertFailure(suffix, __FILE__, __LINE__)
#define VUNIT_ASSERT_EQUAL(a, b)   this->assertEqual(a, b, VString::EMPTY(), __FILE__, __LINE__)
#define VUNIT_ASSERT_EQUAL_LABELED(a, b, suffix)   this->assertEqual(a, b, suffix, __FILE__, __LINE__)
#define VUNIT_ASSERT_TRUE(v)   this->assertTrue(v, VString::EMPTY(), __FILE__, __LINE__)
#define VUNIT_ASSERT_TRUE_LABELED(v, suffix)   this->assertTrue(v, suffix, __FILE__, __LINE__)
#define VUNIT_ASSERT_NOT_EQUAL(a, b)   this->assertNotEqual(a, b, VString::EMPTY(), __FILE__, __LINE__)
#define VUNIT_ASSERT_NOT_EQUAL_LABELED(a, b, suffix)   this->assertNotEqual(a, b, suffix, __FILE__, __LINE__)
#define VUNIT_ASSERT_FALSE(v)   this->assertFalse(v, VString::EMPTY(), __FILE__, __LINE__)
#define VUNIT_ASSERT_FALSE_LABELED(v, suffix)   this->assertFalse(v, suffix, __FILE__, __LINE__)
#define VUNIT_ASSERT_NULL(ptrValue)   this->assertTrue(ptrValue == NULL, VString::EMPTY(), __FILE__, __LINE__)
#define VUNIT_ASSERT_NULL_LABELED(ptrValue, suffix)   this->assertTrue(ptrValue == NULL, suffix, __FILE__, __LINE__)
#define VUNIT_ASSERT_NOT_NULL(ptrValue)   this->assertFalse(ptrValue == NULL, VString::EMPTY(), __FILE__, __LINE__)
#define VUNIT_ASSERT_NOT_NULL_LABELED(ptrValue, suffix)   this->assertFalse(ptrValue == NULL, suffix, __FILE__, __LINE__)
#define VUNIT_ASSERT_EQUAL_LABELED(a, b, suffix)   this->assertEqual(a, b, suffix, __FILE__, __LINE__)

Typedefs

typedef std::vector< VTestInfoTestInfoVector
typedef std::vector
< VUnitOutputWriter * > 
VUnitOutputWriterList
typedef std::vector
< VLogAppender * > 
VUnitLogAppenderList

Detailed Description

Definition in file vunit.h.


Copyright ©1997-2014 Trygve Isaacson. All rights reserved. This documentation was generated with Doxygen.