1#ifndef TENDUKE_TEST_FAKES_FAKEBROWSER_H
2#define TENDUKE_TEST_FAKES_FAKEBROWSER_H
4#include "osa/BrowserIntegration.h"
5#include "./FakeHttpServer.h"
11namespace tenduke {
namespace test {
namespace fakes {
18 const std::shared_ptr<tenduke::test::fakes::FakeHttpServer> &httpServer,
19 const std::chrono::milliseconds &simulatedUserInteractionTime = std::chrono::milliseconds(30)
23 void openUrl(
const std::string &url)
const override;
26 std::chrono::milliseconds simulatedUserInteractionTime;
27 const std::string redirUrl;
28 const std::shared_ptr<std::vector<std::string>> openedUrls;
29 const std::shared_ptr<tenduke::test::fakes::FakeHttpServer> httpServer;
Service for opening URL in a browser.
Definition BrowserIntegration.h:11
Definition FakeBrowser.h:14
void openUrl(const std::string &url) const override
Opens URL in a browser.
Definition FakeBrowser.cpp:6
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4