[#BloombergLP-bsls-BslTestUtil]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::BslTestUtil
:relfileprefix: ../../
:mrdocs:

This class provides a namespace for utilities that are useful when writing a test driver that is not permitted to use the standard C&plus;&plus; iostream facilities, which is typical of test drivers in the `bsl` package group&period;

== Synopsis

Declared in `&lt;bsls&lowbar;bsltestutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct BslTestUtil;
----

== Static Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bsls/BslTestUtil/callDebugprint.adoc[`callDebugprint`] 
| Print the value of the specified `object` of the parameterized `TYPE` to the console&period; Optionally specify a `leadingString`, which will be printed before `object`, and a `trailingString`, which will be printed after `object`&period; If `leadingString` is 0, then nothing will be printed before `object`&period; If `trailingString` is 0, then nothing will be printed after `object`&period;
| xref:BloombergLP/bsls/BslTestUtil/flush.adoc[`flush`] 
| Write any unwritten text in the output buffer to `stdout`&period;
| xref:BloombergLP/bsls/BslTestUtil/makeFunctionCallNonInline.adoc[`makeFunctionCallNonInline`] 
| Return the specified `functionPtr` (expected to be a static function pointer) without modification&period; The value of `functionPtr` is transformed through `identityPtr` so that if the caller is in a different module, the compiler will have no way of knowing that this is an identity transform and thus no way of inlining the call&period;
| xref:BloombergLP/bsls/BslTestUtil/printStringNoFlush.adoc[`printStringNoFlush`] 
| Print to the console the specified string, `s`&period; Note that the underlying stream is _not_ flushed&period;
| xref:BloombergLP/bsls/BslTestUtil/printTab.adoc[`printTab`] 
| Print to the console a tab character, and then `flush` the underlying stream to ensure the text is written&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
