|
| void | validateExpectSuccess (const Data &data, const std::string &message) |
| | Call fixture_.validator_.validate and if it calls the failureCallback then fail the test with the given message. More...
|
| |
| void | validateExpectFailure (const Data &data, const std::string &message) |
| | Call fixture_.validator_.validate and if it calls the successCallback then fail the test with the given message. More...
|
| |
|
void | dataShouldSucceed (const Data &data) |
| |
|
void | dataShouldNotSucceed (const Data &data, const std::string &message) |
| |
|
void | dataShouldFail (const Data &data, const ValidationError &error) |
| |
|
void | dataShouldNotFail (const Data &data, const ValidationError &error, const std::string &message) |
| |
|
void | processInterestAsInfiniteCertificateChain (const ndn::Interest &interest, const ndn::OnData &onData, const ndn::OnTimeout &onTimeout, const ndn::OnNetworkNack &onNetworkNack) |
| |
|
void | makeCertificate (PibKey &key, const ptr_lib::shared_ptr< PibKey > &signer) |
| |
| void TestValidator::validateExpectFailure |
( |
const Data & |
data, |
|
|
const std::string & |
message |
|
) |
| |
|
inline |
Call fixture_.validator_.validate and if it calls the successCallback then fail the test with the given message.
- Parameters
-
| data | The Data to validate. |
| message | The message to show if the test succeeds. |
| void TestValidator::validateExpectSuccess |
( |
const Data & |
data, |
|
|
const std::string & |
message |
|
) |
| |
|
inline |
Call fixture_.validator_.validate and if it calls the failureCallback then fail the test with the given message.
- Parameters
-
| data | The Data to validate. |
| message | The message to show if the test fails. |
The documentation for this class was generated from the following file:
- tests/unit-tests/test-validator.cpp