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

Side by Side Diff: mojo/public/c/bindings/tests/message_unittest.cc

Issue 2232833003: Change the canonical way to include the C bindings headers to <mojo/bindings/*.h>. (Closed) Base URL: https://github.com/domokit/mojo.git@work791_mojo_tests
Patch Set: rebased Created 4 years, 4 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "mojo/public/c/bindings/message.h" 5 #include <mojo/bindings/message.h>
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "mojo/public/cpp/bindings/tests/validation_test_input_parser.h" 12 #include "mojo/public/cpp/bindings/tests/validation_test_input_parser.h"
13 #include "mojo/public/cpp/system/macros.h" 13 #include "mojo/public/cpp/system/macros.h"
14 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
15 15
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 ASSERT_TRUE(mojo::test::ParseValidationTestInput( 118 ASSERT_TRUE(mojo::test::ParseValidationTestInput(
119 cases[i].test_case, &data, &num_handles, &parser_error_message)) 119 cases[i].test_case, &data, &num_handles, &parser_error_message))
120 << parser_error_message << " case " << i; 120 << parser_error_message << " case " << i;
121 EXPECT_EQ(MOJOM_VALIDATION_ERROR_NONE, 121 EXPECT_EQ(MOJOM_VALIDATION_ERROR_NONE,
122 MojomMessage_ValidateHeader(data.data(), cases[i].size)) 122 MojomMessage_ValidateHeader(data.data(), cases[i].size))
123 << " case " << i; 123 << " case " << i;
124 } 124 }
125 } 125 }
126 126
127 } // namespace 127 } // namespace
OLDNEW
« no previous file with comments | « mojo/public/c/bindings/tests/buffer_unittest.cc ('k') | mojo/public/c/bindings/tests/struct_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698