Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(62)

Side by Side Diff: remoting/test/BUILD.gn

Issue 1237883002: Added chromoting test environment for the tests to share data. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added unittest, display connection stats ability, and error check for transition delay. Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 source_set("test_support") { 5 source_set("test_support") {
6 testonly = true 6 testonly = true
7 7
8 sources = [ 8 sources = [
9 "access_token_fetcher.cc", 9 "access_token_fetcher.cc",
10 "access_token_fetcher.h", 10 "access_token_fetcher.h",
11 "app_remoting_report_issue_request.cc", 11 "app_remoting_report_issue_request.cc",
12 "app_remoting_report_issue_request.h", 12 "app_remoting_report_issue_request.h",
13 "app_remoting_service_urls.cc", 13 "app_remoting_service_urls.cc",
14 "app_remoting_service_urls.h", 14 "app_remoting_service_urls.h",
15 "chromoting_test_driver_environment.cc",
16 "chromoting_test_driver_environment.h",
15 "connection_setup_info.cc", 17 "connection_setup_info.cc",
16 "connection_setup_info.h", 18 "connection_setup_info.h",
17 "fake_access_token_fetcher.cc", 19 "fake_access_token_fetcher.cc",
18 "fake_access_token_fetcher.h", 20 "fake_access_token_fetcher.h",
19 "fake_app_remoting_report_issue_request.cc", 21 "fake_app_remoting_report_issue_request.cc",
20 "fake_app_remoting_report_issue_request.h", 22 "fake_app_remoting_report_issue_request.h",
23 "fake_host_list_fetcher.cc",
24 "fake_host_list_fetcher.h",
21 "fake_network_dispatcher.cc", 25 "fake_network_dispatcher.cc",
22 "fake_network_dispatcher.h", 26 "fake_network_dispatcher.h",
23 "fake_network_manager.cc", 27 "fake_network_manager.cc",
24 "fake_network_manager.h", 28 "fake_network_manager.h",
25 "fake_port_allocator.cc", 29 "fake_port_allocator.cc",
26 "fake_port_allocator.h", 30 "fake_port_allocator.h",
31 "fake_refresh_token_store.cc",
32 "fake_refresh_token_store.h",
27 "fake_remote_host_info_fetcher.cc", 33 "fake_remote_host_info_fetcher.cc",
28 "fake_remote_host_info_fetcher.h", 34 "fake_remote_host_info_fetcher.h",
29 "fake_socket_factory.cc", 35 "fake_socket_factory.cc",
30 "fake_socket_factory.h", 36 "fake_socket_factory.h",
31 "host_info.cc", 37 "host_info.cc",
32 "host_info.h", 38 "host_info.h",
33 "host_list_fetcher.cc", 39 "host_list_fetcher.cc",
34 "host_list_fetcher.h", 40 "host_list_fetcher.h",
35 "leaky_bucket.cc", 41 "leaky_bucket.cc",
36 "leaky_bucket.h", 42 "leaky_bucket.h",
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 "//testing/gtest", 124 "//testing/gtest",
119 ] 125 ]
120 } 126 }
121 127
122 source_set("unit_tests") { 128 source_set("unit_tests") {
123 testonly = true 129 testonly = true
124 130
125 sources = [ 131 sources = [
126 "access_token_fetcher_unittest.cc", 132 "access_token_fetcher_unittest.cc",
127 "app_remoting_report_issue_request_unittest.cc", 133 "app_remoting_report_issue_request_unittest.cc",
134 "chromoting_test_driver_environment_unittest.cc",
128 "host_list_fetcher_unittest.cc", 135 "host_list_fetcher_unittest.cc",
129 "remote_host_info_fetcher_unittest.cc", 136 "remote_host_info_fetcher_unittest.cc",
130 "test_chromoting_client_unittest.cc", 137 "test_chromoting_client_unittest.cc",
131 "test_video_renderer_unittest.cc", 138 "test_video_renderer_unittest.cc",
132 139
133 # TODO(sergeyu): app_remoting_test_driver_environment_unittest.cc 140 # TODO(sergeyu): app_remoting_test_driver_environment_unittest.cc
134 # depends on ar_test_driver_common target and that target implicitly 141 # depends on ar_test_driver_common target and that target implicitly
135 # depends on app_remoting_test_driver_environment_app_details.cc to 142 # depends on app_remoting_test_driver_environment_app_details.cc to
136 # allow some parameters to be overridden (i.e. *app_details.cc file can 143 # allow some parameters to be overridden (i.e. *app_details.cc file can
137 # be replace with a different one). This means that app_deails.cc file 144 # be replace with a different one). This means that app_deails.cc file
138 # has to be included here explicitly. Fix 145 # has to be included here explicitly. Fix
139 # app_remoting_test_driver_environment.cc to avoid this implicit 146 # app_remoting_test_driver_environment.cc to avoid this implicit
140 # dependency on *app_details.cc . 147 # dependency on *app_details.cc .
141 # http://crbug.com/510887 148 # http://crbug.com/510887
142 "app_remoting_test_driver_environment_app_details.cc", 149 "app_remoting_test_driver_environment_app_details.cc",
143 "app_remoting_test_driver_environment_unittest.cc", 150 "app_remoting_test_driver_environment_unittest.cc",
144 ] 151 ]
145 152
146 deps = [ 153 deps = [
147 ":test_support", 154 ":test_support",
148 ":ar_test_driver_common", 155 ":ar_test_driver_common",
149 "//base", 156 "//base",
150 "//net:test_support", 157 "//net:test_support",
151 "//testing/gmock", 158 "//testing/gmock",
152 "//testing/gtest", 159 "//testing/gtest",
153 "//third_party/libyuv", 160 "//third_party/libyuv",
154 "//third_party/webrtc/modules/desktop_capture", 161 "//third_party/webrtc/modules/desktop_capture",
155 ] 162 ]
156 } 163 }
OLDNEW
« no previous file with comments | « remoting/remoting_test.gypi ('k') | remoting/test/app_remoting_test_driver_environment_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698