// Copyright 2019 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/sharing_message/sharing_device_source.h" #include "base/functional/callback.h" #include "base/test/bind.h" #include "components/sharing_message/mock_sharing_device_source.h" #include "components/sync_device_info/device_info.h" #include "testing/gmock/include/gmock/gmock.h" #include "testing/gtest/include/gtest/gtest.h" TEST(SharingDeviceSourceTest, RunsCallbackImmediatelyIfReady) { … } TEST(SharingDeviceSourceTest, RunsCallbackAfterIsReady) { … }