OLD | NEW |
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 <stddef.h> |
| 6 #include <stdint.h> |
| 7 |
5 #include <vector> | 8 #include <vector> |
6 | 9 |
7 #include "base/files/file.h" | 10 #include "base/files/file.h" |
8 #include "components/filesystem/files_test_base.h" | 11 #include "components/filesystem/files_test_base.h" |
9 #include "mojo/platform_handle/platform_handle_functions.h" | 12 #include "mojo/platform_handle/platform_handle_functions.h" |
10 #include "mojo/public/cpp/bindings/interface_request.h" | 13 #include "mojo/public/cpp/bindings/interface_request.h" |
11 #include "mojo/public/cpp/bindings/type_converter.h" | 14 #include "mojo/public/cpp/bindings/type_converter.h" |
12 #include "mojo/util/capture_util.h" | 15 #include "mojo/util/capture_util.h" |
13 | 16 |
14 using mojo::Capture; | 17 using mojo::Capture; |
(...skipping 665 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
680 EXPECT_EQ(static_cast<uint8_t>('h'), bytes_read[0]); | 683 EXPECT_EQ(static_cast<uint8_t>('h'), bytes_read[0]); |
681 EXPECT_EQ(static_cast<uint8_t>('e'), bytes_read[1]); | 684 EXPECT_EQ(static_cast<uint8_t>('e'), bytes_read[1]); |
682 EXPECT_EQ(static_cast<uint8_t>('l'), bytes_read[2]); | 685 EXPECT_EQ(static_cast<uint8_t>('l'), bytes_read[2]); |
683 EXPECT_EQ(static_cast<uint8_t>('l'), bytes_read[3]); | 686 EXPECT_EQ(static_cast<uint8_t>('l'), bytes_read[3]); |
684 EXPECT_EQ(static_cast<uint8_t>('o'), bytes_read[4]); | 687 EXPECT_EQ(static_cast<uint8_t>('o'), bytes_read[4]); |
685 } | 688 } |
686 } | 689 } |
687 | 690 |
688 } // namespace | 691 } // namespace |
689 } // namespace filesystem | 692 } // namespace filesystem |
OLD | NEW |