Provide a means for test drivers to redirect and inspect output.
More...
Namespaces |
namespace | bsls |
Detailed Description
- Outline
-
-
- Purpose:
- Provide a means for test drivers to redirect and inspect output.
-
- Classes:
-
-
- Description:
- This component provides a mechanism,
bsls::OutputRedirector
, to redirect output sent to either of the standard out or error streams and capture that output so that it can be read back and parsed, such as to allow a test driver to verify the expected output of a streaming operation.
- THIS COMPONENT MUST NOT BE USED OUTSIDE OF BDE TEST DRIVERS
-
- Usage:
- This component is an implementation detail of
bsls
and is not intended for direct client use. It is subject to change without notice. As such, a usage example is not provided.