chromium/remoting/protocol/pairing_registry_unittest.cc

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

#include "remoting/protocol/pairing_registry.h"

#include <stdlib.h>

#include <algorithm>
#include <utility>

#include "base/compiler_specific.h"
#include "base/functional/bind.h"
#include "base/run_loop.h"
#include "base/task/single_thread_task_runner.h"
#include "base/test/task_environment.h"
#include "base/values.h"
#include "remoting/protocol/protocol_mock_objects.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

Sequence;

namespace {

PairingRegistry;

class MockPairingRegistryCallbacks {};

// Verify that a pairing Dictionary has correct entries, but doesn't include
// any shared secret.
void VerifyPairing(PairingRegistry::Pairing expected,
                   const base::Value::Dict& actual) {}

}  // namespace

namespace remoting::protocol {

class PairingRegistryTest : public testing::Test {};

TEST_F(PairingRegistryTest, CreateAndGetPairings) {}

TEST_F(PairingRegistryTest, GetAllPairings) {}

TEST_F(PairingRegistryTest, DeletePairing) {}

TEST_F(PairingRegistryTest, ClearAllPairings) {}

ACTION_P(QuitMessageLoop, callback) {}

MATCHER_P(EqualsClientName, client_name, "") {}

MATCHER(NoPairings, "") {}

TEST_F(PairingRegistryTest, SerializedRequests) {}

}  // namespace remoting::protocol