BloombergLP::ball::TestObserver::TestObserver

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);
» more...

Create a test observer writing to the specified stream.

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

Parameters

NameDescription
streamdestination for diagnostic output from publish
basicAllocatormemory allocator; null uses the default