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

Side by Side Diff: device/serial/serial_io_handler_posix_unittest.cc

Issue 1542163002: Switch to standard integer types in device/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: win Created 4 years, 12 months 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
« no previous file with comments | « device/serial/serial_io_handler_posix.cc ('k') | device/serial/serial_io_handler_win.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "base/macros.h"
5 #include "device/serial/serial_io_handler_posix.h" 6 #include "device/serial/serial_io_handler_posix.h"
6 #include "testing/gtest/include/gtest/gtest.h" 7 #include "testing/gtest/include/gtest/gtest.h"
7 8
8 namespace device { 9 namespace device {
9 10
10 class SerialIoHandlerPosixTest : public testing::Test { 11 class SerialIoHandlerPosixTest : public testing::Test {
11 public: 12 public:
12 SerialIoHandlerPosixTest() {} 13 SerialIoHandlerPosixTest() {}
13 14
14 void SetUp() override { 15 void SetUp() override {
(...skipping 996 matching lines...) Expand 10 before | Expand all | Expand 10 after
1011 "\377\0", 2, "\377", 1, false, false); 1012 "\377\0", 2, "\377", 1, false, false);
1012 1013
1013 char buffer_3[30] = {'a', 'd', 'e'}; 1014 char buffer_3[30] = {'a', 'd', 'e'};
1014 bytes_read = 3; 1015 bytes_read = 3;
1015 TestHelper(buffer_3, buffer_len, bytes_read, ErrorDetectState::NO_ERROR, "", 1016 TestHelper(buffer_3, buffer_len, bytes_read, ErrorDetectState::NO_ERROR, "",
1016 0, "de", 2, false, true); 1017 0, "de", 2, false, true);
1017 } 1018 }
1018 } 1019 }
1019 1020
1020 } // namespace device 1021 } // namespace device
OLDNEW
« no previous file with comments | « device/serial/serial_io_handler_posix.cc ('k') | device/serial/serial_io_handler_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698