Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(212)

Side by Side Diff: chromeos/process_proxy/process_output_watcher_unittest.cc

Issue 1540803002: Switch to standard integer types in chromeos/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more includes Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « chromeos/process_proxy/process_output_watcher.cc ('k') | chromeos/process_proxy/process_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698