6#include <userver/components/component_fwd.hpp>
7#include <userver/testsuite/cache_control.hpp>
8#include <userver/testsuite/component_control.hpp>
9#include <userver/testsuite/dump_control.hpp>
10#include <userver/testsuite/grpc_control.hpp>
11#include <userver/testsuite/http_allowed_urls_extra.hpp>
12#include <userver/testsuite/periodic_task_control.hpp>
13#include <userver/testsuite/postgres_control.hpp>
14#include <userver/testsuite/redis_control.hpp>
15#include <userver/testsuite/testpoint_control.hpp>
17USERVER_NAMESPACE_BEGIN
52class TestsuiteSupport
final :
public components::impl::ComponentBase {
58 TestsuiteSupport(
const components::ComponentConfig& component_config,
59 const components::ComponentContext& component_context);
60 ~TestsuiteSupport()
override;
62 testsuite::CacheControl& GetCacheControl();
63 testsuite::ComponentControl& GetComponentControl();
65 testsuite::PeriodicTaskControl& GetPeriodicTaskControl();
66 testsuite::TestpointControl& GetTestpointControl();
69 testsuite::TestsuiteTasks& GetTestsuiteTasks();
70 testsuite::HttpAllowedUrlsExtra& GetHttpAllowedUrlsExtra();
76 void OnAllComponentsAreStopping()
override;
79 testsuite::ComponentControl component_control_;
81 testsuite::PeriodicTaskControl periodic_task_control_;
82 testsuite::TestpointControl testpoint_control_;
85 std::unique_ptr<testsuite::TestsuiteTasks> testsuite_tasks_;
86 testsuite::HttpAllowedUrlsExtra http_allowed_urls_extra_;
91inline constexpr bool kHasValidate<TestsuiteSupport> =
true;