OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_print_printer_list.h" | 5 #include "chrome/browser/local_discovery/cloud_print_printer_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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 | 73 |
72 EXPECT_EQ("someID", devices[0].id); | 74 EXPECT_EQ("someID", devices[0].id); |
73 EXPECT_EQ("someDisplayName", devices[0].display_name); | 75 EXPECT_EQ("someDisplayName", devices[0].display_name); |
74 EXPECT_EQ("someDescription", devices[0].description); | 76 EXPECT_EQ("someDescription", devices[0].description); |
75 EXPECT_EQ("printer", devices[0].type); | 77 EXPECT_EQ("printer", devices[0].type); |
76 } | 78 } |
77 | 79 |
78 } // namespace | 80 } // namespace |
79 | 81 |
80 } // namespace local_discovery | 82 } // namespace local_discovery |
OLD | NEW |