Create a test observer writing to the specified stream.

Synopses

Declared in <ball_testobserver.h>

Create a test observer writing to the specified stream.

explicit
TestObserver(
    std::ostream& stream,
    bslma::Allocator* basicAllocator = 0);

Create a test observer writing to the specified stream.

explicit
TestObserver(
    std::ostream* stream,
    bslma::Allocator* basicAllocator = 0);

Parameters

Name

Description

stream

destination for diagnostic output from publish

basicAllocator

memory allocator; null uses the default

Created with MrDocs