Testsuite integration.
Classes | |
class | CacheControl |
Testsuite interface for caches and cache-like components. More... | |
class | CacheResetRegistration |
RAII helper for testsuite registration. Must be kept alive to keep supporting cache resetting. More... | |
class | DumpControl |
Dumper control interface for testsuite. More... | |
class | DumperRegistrationHolder |
RAII helper for testsuite registration. More... | |
class | ExceptionsHandlingMiddleware |
class | GrpcControl |
class | HttpAllowedUrlsExtra |
class | PeriodicTaskControl |
Periodic task control interface for testsuite. More... | |
class | PeriodicTaskRegistrationHolder |
RAII helper for testsuite registration. More... | |
class | PostgresControl |
struct | RedisControl |
class | TaskAlreadyRunning |
class | TaskNotFound |
class | TestpointClientBase |
Base testpoint client. Used to report TESTPOINT executions to testsuite. More... | |
class | TestpointControl |
Testpoint control interface for testsuite. More... | |
class | TestsuiteTasks |
Testsuite tasks support. More... | |
Typedefs | |
using | ExceptionsHandlingMiddlewareFactory |
using | TestpointCallback = utils::function_ref<void(const formats::json::Value&)> |
Functions | |
CacheControl & | FindCacheControl (const components::ComponentContext &context) |
template<typename Component > | |
CacheResetRegistration | RegisterCache (const components::ComponentConfig &config, const components::ComponentContext &context, Component *self, void(Component::*reset_method)()) |
The method for registering a cache from component constructor. The returned handle must be kept alive to keep supporting cache resetting. | |
TestsuiteTasks & | GetTestsuiteTasks (const components::ComponentContext &component_context) |
Get reference to TestsuiteTasks instance. | |
bool | AreTestpointsAvailable () noexcept |
Returns true if testpoints are available in runtime. | |
Definition at line 21 of file middlewares.hpp.
using testsuite::TestpointCallback = utils::function_ref<void(const formats::json::Value&)> |
Definition at line 19 of file testpoint.hpp.
CacheControl & testsuite::FindCacheControl | ( | const components::ComponentContext & | context | ) |
The method for acquiring testsuite::CacheControl in the component system.
TestsuiteTasks & testsuite::GetTestsuiteTasks | ( | const components::ComponentContext & | component_context | ) |
Get reference to TestsuiteTasks instance.
component_context |
CacheResetRegistration testsuite::RegisterCache | ( | const components::ComponentConfig & | config, |
const components::ComponentContext & | context, | ||
Component * | self, | ||
void(Component::*)() | reset_method ) |
The method for registering a cache from component constructor. The returned handle must be kept alive to keep supporting cache resetting.
Definition at line 185 of file cache_control.hpp.