[#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++ iostream facilities, which is typical of test drivers in the `bsl` package group. == Synopsis Declared in `<bsls_bsltestutil.h>` [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. Optionally specify a `leadingString`, which will be printed before `object`, and a `trailingString`, which will be printed after `object`. If `leadingString` is 0, then nothing will be printed before `object`. If `trailingString` is 0, then nothing will be printed after `object`. | xref:BloombergLP/bsls/BslTestUtil/flush.adoc[`flush`] | Write any unwritten text in the output buffer to `stdout`. | xref:BloombergLP/bsls/BslTestUtil/makeFunctionCallNonInline.adoc[`makeFunctionCallNonInline`] | Return the specified `functionPtr` (expected to be a static function pointer) without modification. 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. | xref:BloombergLP/bsls/BslTestUtil/printStringNoFlush.adoc[`printStringNoFlush`] | Print to the console the specified string, `s`. Note that the underlying stream is _not_ flushed. | 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. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#