#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) { … }
}