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 <stdint.h> |
| 6 |
5 #include <queue> | 7 #include <queue> |
6 #include <utility> | 8 #include <utility> |
7 | 9 |
| 10 #include "base/macros.h" |
8 #include "device/serial/data_sink_receiver.h" | 11 #include "device/serial/data_sink_receiver.h" |
9 #include "device/serial/data_stream.mojom.h" | 12 #include "device/serial/data_stream.mojom.h" |
10 #include "extensions/renderer/api_test_base.h" | 13 #include "extensions/renderer/api_test_base.h" |
11 #include "grit/extensions_renderer_resources.h" | 14 #include "grit/extensions_renderer_resources.h" |
12 | 15 |
13 namespace extensions { | 16 namespace extensions { |
14 | 17 |
15 // Runs tests defined in extensions/test/data/data_sender_unittest.js | 18 // Runs tests defined in extensions/test/data/data_sender_unittest.js |
16 class DataSenderTest : public ApiTestBase { | 19 class DataSenderTest : public ApiTestBase { |
17 public: | 20 public: |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 | 180 |
178 TEST_F(DataSenderTest, SerializeWaitsForCancel) { | 181 TEST_F(DataSenderTest, SerializeWaitsForCancel) { |
179 RunTest("data_sender_unittest.js", "testSerializeWaitsForCancel"); | 182 RunTest("data_sender_unittest.js", "testSerializeWaitsForCancel"); |
180 } | 183 } |
181 | 184 |
182 TEST_F(DataSenderTest, SerializeAfterClose) { | 185 TEST_F(DataSenderTest, SerializeAfterClose) { |
183 RunTest("data_sender_unittest.js", "testSerializeAfterClose"); | 186 RunTest("data_sender_unittest.js", "testSerializeAfterClose"); |
184 } | 187 } |
185 | 188 |
186 } // namespace extensions | 189 } // namespace extensions |
OLD | NEW |