| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "chrome/browser/local_discovery/cloud_device_list.h" | 5 #include "chrome/browser/local_discovery/cloud_device_list.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 |
| 7 #include <set> | 9 #include <set> |
| 8 | 10 |
| 9 #include "base/json/json_reader.h" | 11 #include "base/json/json_reader.h" |
| 10 #include "chrome/browser/local_discovery/cloud_device_list_delegate.h" | 12 #include "chrome/browser/local_discovery/cloud_device_list_delegate.h" |
| 11 #include "testing/gmock/include/gmock/gmock.h" | 13 #include "testing/gmock/include/gmock/gmock.h" |
| 12 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
| 13 | 15 |
| 14 using testing::Mock; | 16 using testing::Mock; |
| 15 using testing::SaveArg; | 17 using testing::SaveArg; |
| 16 using testing::StrictMock; | 18 using testing::StrictMock; |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 | 87 |
| 86 EXPECT_EQ("someID", devices[0].id); | 88 EXPECT_EQ("someID", devices[0].id); |
| 87 EXPECT_EQ("someDisplayName", devices[0].display_name); | 89 EXPECT_EQ("someDisplayName", devices[0].display_name); |
| 88 EXPECT_EQ("someDescription", devices[0].description); | 90 EXPECT_EQ("someDescription", devices[0].description); |
| 89 EXPECT_EQ("someType", devices[0].type); | 91 EXPECT_EQ("someType", devices[0].type); |
| 90 } | 92 } |
| 91 | 93 |
| 92 } // namespace | 94 } // namespace |
| 93 | 95 |
| 94 } // namespace local_discovery | 96 } // namespace local_discovery |
| OLD | NEW |