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

Return the number of failures encountered during testing of a protocol class&period; The returned value is 0 if all tests succeeded, or no tests ran&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
failures() const;
----

== Return Value

number of test failures so far


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