chromium/components/reporting/util/disconnectable_client_unittest.cc

// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/reporting/util/disconnectable_client.h"

#include <memory>
#include <utility>

#include "base/task/sequenced_task_runner.h"
#include "base/test/task_environment.h"
#include "base/time/time.h"
#include "components/reporting/util/status.h"
#include "components/reporting/util/statusor.h"
#include "components/reporting/util/test_support_callbacks.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

Eq;

namespace reporting {

class MockDelegate : public DisconnectableClient::Delegate {};

class FailDelegate : public DisconnectableClient::Delegate {};

class DisconnectableClientTest : public ::testing::Test {};

TEST_F(DisconnectableClientTest, NormalConnection) {}

TEST_F(DisconnectableClientTest, NoConnection) {}

TEST_F(DisconnectableClientTest, FailedCallOnNormalConnection) {}

TEST_F(DisconnectableClientTest, DroppedConnection) {}

TEST_F(DisconnectableClientTest, FailedCallOnDroppedConnection) {}

TEST_F(DisconnectableClientTest, ConnectionDroppedThenRestored) {}

}  // namespace reporting