[#BloombergLP-bslim-TestUtil]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslim.adoc[bslim]::TestUtil
:relfileprefix: ../../
:mrdocs:

This `struct` provides a namespace for a suite of utility functions that facilitate the creation of BDE&hyphen;style test drivers&period;

== Synopsis

Declared in `&lt;bslim&lowbar;testutil&period;h&gt;`

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

== Static Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslim/TestUtil/compareText.adoc[`compareText`] 
| Return `true` if the specified `lhs` has the same value as the specified `rhs`, and `false` otherwise&period; Optionally specify an `errorStream` on which, if `lhs` and `rhs` are not the same&apos;, a description of how the two strings differ will be written&period; If `errorStream` is not supplied, `stdout` is used&period;
| xref:BloombergLP/bslim/TestUtil/debugRep-09.adoc[`debugRep`] 
| `debugRep` overloads
| xref:BloombergLP/bslim/TestUtil/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;
|===



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