[#BloombergLP-bsls-ProtocolTest-testNoDataMembers] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/ProtocolTest.adoc[ProtocolTest]::testNoDataMembers :relfileprefix: ../../../ :mrdocs: Return `true` (i.e., the test passed) if the protocol class being tested contains no data fields and return `false` (i.e., the test failed) otherwise. Increase the count of `failures` and set `lastStatus` to `false` on failure. == Synopsis Declared in `<bsls_protocoltest.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool testNoDataMembers(); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#