chromium/device/fido/fake_fido_discovery_unittest.cc

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

#include "device/fido/fake_fido_discovery.h"

#include <utility>

#include "base/task/single_thread_task_runner.h"
#include "base/test/bind.h"
#include "base/test/task_environment.h"
#include "build/build_config.h"
#include "device/fido/fido_discovery_factory.h"
#include "device/fido/fido_test_data.h"
#include "device/fido/mock_fido_device.h"
#include "device/fido/mock_fido_discovery_observer.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace device {
namespace test {

_;

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

FakeFidoDiscoveryFactoryTest;

TEST_F(FakeFidoDiscoveryTest, Transport) {}

TEST_F(FakeFidoDiscoveryTest, InitialState) {}

TEST_F(FakeFidoDiscoveryTest, StartDiscovery) {}

TEST_F(FakeFidoDiscoveryTest, WaitThenStartStopDiscovery) {}

// Starting discovery and failing: instance stays in "not running" state
TEST_F(FakeFidoDiscoveryTest, StartFail) {}

// Adding device is possible both before and after discovery actually starts.
TEST_F(FakeFidoDiscoveryTest, AddDevice) {}

#if !BUILDFLAG(IS_ANDROID)
TEST_F(FakeFidoDiscoveryFactoryTest, ForgesUsbFactoryFunction) {}
#endif

}  // namespace test
}  // namespace device