Base testpoint client. Used to report TESTPOINT executions to testsuite.
More...
#include <userver/testsuite/testpoint_control.hpp>
|
void | Unregister () noexcept |
| Must be called in destructors of derived classes.
|
|
Base testpoint client. Used to report TESTPOINT executions to testsuite.
Do not use directly unless you are writing a component for handling testpoints.
Definition at line 21 of file testpoint_control.hpp.
◆ Callback
◆ Execute()
virtual void testsuite::TestpointClientBase::Execute |
( |
const std::string & |
name, |
|
|
const formats::json::Value & |
json, |
|
|
const Callback & |
callback |
|
) |
| const |
|
pure virtual |
- Parameters
-
name | the name of the testpoint |
json | the request that will be passed to testsuite handler |
callback | will be invoked with the response if the testpoint has been handled on the testsuite side successfully |
The documentation for this class was generated from the following file: