[#BloombergLP-bsls-FuzzTest_TestUtil]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::FuzzTest&lowbar;TestUtil
:relfileprefix: ../../
:mrdocs:

Provide sample functions that trigger assert and review violations&period;

== Synopsis

Declared in `&lt;bsls&lowbar;fuzztest&lowbar;testutil&period;h&gt;`

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

== Description

This utility class provides sample functions to demonstrate an `AssertViolation` or a `ReviewViolation` originating from a different component to facilitate testing of `bsls&lowbar;fuzztest` component&period;

== Static Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bsls/FuzzTest_TestUtil/triggerAssert.adoc[`triggerAssert`] 
| Trigger an `AssertViolation` by calling `BSLS&lowbar;ASSERT&lowbar;INVOKE`&period;
| xref:BloombergLP/bsls/FuzzTest_TestUtil/triggerReview.adoc[`triggerReview`] 
| Trigger a `ReviewViolation` by calling `BSLS&lowbar;REVIEW&lowbar;INVOKE`&period;
|===



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