| OLD | NEW |
| 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 #include "remoting/test/app_remoting_test_driver_environment.h" | 5 #include "remoting/test/app_remoting_test_driver_environment.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 |
| 7 #include <algorithm> | 9 #include <algorithm> |
| 8 | 10 |
| 9 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
| 12 #include "base/macros.h" |
| 10 #include "remoting/test/fake_access_token_fetcher.h" | 13 #include "remoting/test/fake_access_token_fetcher.h" |
| 11 #include "remoting/test/fake_app_remoting_report_issue_request.h" | 14 #include "remoting/test/fake_app_remoting_report_issue_request.h" |
| 12 #include "remoting/test/fake_refresh_token_store.h" | 15 #include "remoting/test/fake_refresh_token_store.h" |
| 13 #include "remoting/test/fake_remote_host_info_fetcher.h" | 16 #include "remoting/test/fake_remote_host_info_fetcher.h" |
| 14 #include "remoting/test/mock_access_token_fetcher.h" | 17 #include "remoting/test/mock_access_token_fetcher.h" |
| 15 #include "remoting/test/refresh_token_store.h" | 18 #include "remoting/test/refresh_token_store.h" |
| 16 #include "testing/gmock/include/gmock/gmock.h" | 19 #include "testing/gmock/include/gmock/gmock.h" |
| 17 #include "testing/gtest/include/gtest/gtest.h" | 20 #include "testing/gtest/include/gtest/gtest.h" |
| 18 | 21 |
| 19 namespace { | 22 namespace { |
| (...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 461 std::sort(expected_host_list.begin(), expected_host_list.end()); | 464 std::sort(expected_host_list.begin(), expected_host_list.end()); |
| 462 | 465 |
| 463 EXPECT_EQ(actual_host_list.size(), expected_host_list.size()); | 466 EXPECT_EQ(actual_host_list.size(), expected_host_list.size()); |
| 464 for (size_t i = 0; i < actual_host_list.size(); ++i) { | 467 for (size_t i = 0; i < actual_host_list.size(); ++i) { |
| 465 EXPECT_EQ(actual_host_list[i], expected_host_list[i]); | 468 EXPECT_EQ(actual_host_list[i], expected_host_list[i]); |
| 466 } | 469 } |
| 467 } | 470 } |
| 468 | 471 |
| 469 } // namespace test | 472 } // namespace test |
| 470 } // namespace remoting | 473 } // namespace remoting |
| OLD | NEW |