Commit b24aac3b authored by Xiaohui Chen's avatar Xiaohui Chen Committed by Commit Bot

assistant: move fake_client to test_support

Bug: None
Test: CQ
Change-Id: I1f513012ecd701a85c1b43282b0ac4ab545fec30
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1881222Reviewed-by: default avatarTao Wu <wutao@chromium.org>
Commit-Queue: Xiaohui Chen <xiaohuic@chromium.org>
Cr-Commit-Position: refs/heads/master@{#709550}
parent 98ef1d68
......@@ -160,9 +160,9 @@ source_set("tests") {
]
sources = [
"fake_client.cc",
"fake_client.h",
"service_unittest.cc",
"test_support/fake_client.cc",
"test_support/fake_client.h",
"test_support/fully_initialized_assistant_state.cc",
"test_support/fully_initialized_assistant_state.h",
]
......
......@@ -3,6 +3,9 @@
// found in the LICENSE file.
#include "chromeos/services/assistant/assistant_manager_service_impl.h"
#include <utility>
#include "base/logging.h"
#include "base/test/bind_test_util.h"
#include "base/test/task_environment.h"
......@@ -12,10 +15,10 @@
#include "chromeos/dbus/power/fake_power_manager_client.h"
#include "chromeos/services/assistant/assistant_manager_service.h"
#include "chromeos/services/assistant/constants.h"
#include "chromeos/services/assistant/fake_client.h"
#include "chromeos/services/assistant/public/mojom/assistant.mojom.h"
#include "chromeos/services/assistant/service_context.h"
#include "chromeos/services/assistant/test_support/fake_assistant_manager_service_delegate.h"
#include "chromeos/services/assistant/test_support/fake_client.h"
#include "chromeos/services/assistant/test_support/fully_initialized_assistant_state.h"
#include "chromeos/services/assistant/test_support/mock_media_manager.h"
#include "libassistant/shared/internal_api/assistant_manager_internal.h"
......
......@@ -12,8 +12,8 @@
#include "base/test/task_environment.h"
#include "chromeos/audio/cras_audio_handler.h"
#include "chromeos/dbus/power/fake_power_manager_client.h"
#include "chromeos/services/assistant/fake_client.h"
#include "chromeos/services/assistant/public/features.h"
#include "chromeos/services/assistant/test_support/fake_client.h"
#include "services/audio/public/cpp/fake_stream_factory.h"
#include "testing/gtest/include/gtest/gtest.h"
......
......@@ -8,7 +8,7 @@
#include "base/run_loop.h"
#include "base/test/task_environment.h"
#include "chromeos/dbus/power/fake_power_manager_client.h"
#include "chromeos/services/assistant/fake_client.h"
#include "chromeos/services/assistant/test_support/fake_client.h"
#include "services/device/public/cpp/test/test_wake_lock_provider.h"
#include "services/device/public/mojom/constants.mojom.h"
#include "testing/gtest/include/gtest/gtest.h"
......
......@@ -9,8 +9,8 @@
#include "base/logging.h"
#include "base/test/task_environment.h"
#include "chromeos/services/assistant/fake_client.h"
#include "chromeos/services/assistant/platform/power_manager_provider_impl.h"
#include "chromeos/services/assistant/test_support/fake_client.h"
#include "mojo/public/cpp/bindings/receiver.h"
#include "services/device/public/mojom/battery_monitor.mojom.h"
#include "testing/gtest/include/gtest/gtest.h"
......
......@@ -23,9 +23,9 @@
#include "chromeos/dbus/power/fake_power_manager_client.h"
#include "chromeos/services/assistant/assistant_state_proxy.h"
#include "chromeos/services/assistant/fake_assistant_manager_service_impl.h"
#include "chromeos/services/assistant/fake_client.h"
#include "chromeos/services/assistant/pref_connection_delegate.h"
#include "chromeos/services/assistant/public/cpp/assistant_prefs.h"
#include "chromeos/services/assistant/test_support/fake_client.h"
#include "chromeos/services/assistant/test_support/fully_initialized_assistant_state.h"
#include "components/prefs/testing_pref_service.h"
#include "mojo/public/cpp/bindings/interface_ptr_set.h"
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chromeos/services/assistant/fake_client.h"
#include "chromeos/services/assistant/test_support/fake_client.h"
namespace chromeos {
namespace assistant {
......
......@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROMEOS_SERVICES_ASSISTANT_FAKE_CLIENT_H_
#define CHROMEOS_SERVICES_ASSISTANT_FAKE_CLIENT_H_
#ifndef CHROMEOS_SERVICES_ASSISTANT_TEST_SUPPORT_FAKE_CLIENT_H_
#define CHROMEOS_SERVICES_ASSISTANT_TEST_SUPPORT_FAKE_CLIENT_H_
#include "base/macros.h"
#include "chromeos/services/assistant/public/mojom/assistant.mojom.h"
......@@ -82,4 +82,4 @@ class FakeClient : public mojom::Client {
} // namespace assistant
} // namespace chromeos
#endif // CHROMEOS_SERVICES_ASSISTANT_FAKE_CLIENT_H_
#endif // CHROMEOS_SERVICES_ASSISTANT_TEST_SUPPORT_FAKE_CLIENT_H_
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment