Return the number of failures encountered during testing of a protocol class, which is 0 if all tests succeeded or if no tests ran.
Declared in <bsls_protocoltest.h>
<bsls_protocoltest.h>
int failures() const;