#include "remoting/host/ftl_signaling_connector.h"
#include <memory>
#include "base/test/mock_callback.h"
#include "base/test/task_environment.h"
#include "remoting/signaling/fake_signal_strategy.h"
#include "remoting/signaling/signaling_address.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace remoting {
namespace {
_;
constexpr char kLocalFtlId[] = …;
}
class FtlSignalingConnectorTest : public testing::Test { … };
TEST_F(FtlSignalingConnectorTest, StartAndSucceed) { … }
TEST_F(FtlSignalingConnectorTest, StartAndAuthFailed) { … }
TEST_F(FtlSignalingConnectorTest, StartAndFailedThenRetryAndSucceeded) { … }
TEST_F(FtlSignalingConnectorTest,
StartAndImmediatelyDisconnected_RetryWithBackoff) { … }
TEST_F(FtlSignalingConnectorTest, AutoConnectOnNetworkChange) { … }
}