OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 <gtest/gtest.h> | 5 #include <gtest/gtest.h> |
| 6 #include <stddef.h> |
6 | 7 |
7 #include <queue> | 8 #include <queue> |
8 #include <string> | 9 #include <string> |
9 #include <vector> | 10 #include <vector> |
10 | 11 |
11 #include "base/bind.h" | 12 #include "base/bind.h" |
12 #include "base/callback.h" | 13 #include "base/callback.h" |
13 #include "base/files/file_util.h" | 14 #include "base/files/file_util.h" |
14 #include "base/location.h" | 15 #include "base/location.h" |
15 #include "base/posix/eintr_wrapper.h" | 16 #include "base/posix/eintr_wrapper.h" |
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 // This will send '\0' to output watcher. | 313 // This will send '\0' to output watcher. |
313 test_cases.push_back(TestCase("", true)); | 314 test_cases.push_back(TestCase("", true)); |
314 // Let's verify that next input also gets detected (i.e. output watcher does | 315 // Let's verify that next input also gets detected (i.e. output watcher does |
315 // not exit after seeing '\0' from previous test case). | 316 // not exit after seeing '\0' from previous test case). |
316 test_cases.push_back(TestCase("a", true)); | 317 test_cases.push_back(TestCase("a", true)); |
317 | 318 |
318 RunTest(test_cases); | 319 RunTest(test_cases); |
319 } | 320 } |
320 | 321 |
321 } // namespace chromeos | 322 } // namespace chromeos |
OLD | NEW |