CppTest home page CppTest project page

Classes | Public Types | Public Member Functions
Test::CompilerOutput Class Reference

Compiler-like output handler. More...

#include <cpptest-compileroutput.h>

Inheritance diagram for Test::CompilerOutput:
Test::Output

List of all members.

Classes

Public Types

Public Member Functions


Detailed Description

Compiler-like output handler.

Test suite output handler that only outputs failures in compiler warning/error format. This way, you can use your IDE to browse between failures.

The output format is configurable to be able to emulate different compiler outputs. The following modifiers exist:


Member Enumeration Documentation

Pre-defined compiler output formats.

Enumerator:
Generic 

Generic compiler format, which equals: %file:%line: %text

BCC 

Borland C++ Compiler (BCC) format, which equals: Error cpptest %file %line: %text.

GCC 

GNU Compiler Collection (GCC) format, which equals: %file:%line: %text

MSVC 

Microsoft Visual C++ (MSVC) format, which equals: %file(%line) : %text


Member Function Documentation

void Test::CompilerOutput::assertment ( const Source s) [virtual]

Called when an assertment is issued.

Parameters:
sAssert point information.

Reimplemented from Test::Output.

References Test::Source::file(), Test::Source::line(), and Test::Source::message().


The documentation for this class was generated from the following files:

Supported by:

SourceForge Logo