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

Connect this protocol test object with the specified `testStatus` object, which will be used for test failure reporting&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
setTestStatus(xref:BloombergLP/bsls/ProtocolTest_Status.adoc[ProtocolTest&lowbar;Status]* testStatus) const;
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *testStatus*
| status object used to report test failures
|===


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