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

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

Issue 2234063002: Move the C bindings tests to the new location. (Closed) Base URL: https://github.com/domokit/mojo.git@work791_mojo_bindings
Patch Set: 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/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>
(...skipping 107 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/tests/bindings/buffer_unittest.cc ('k') | mojo/public/c/tests/bindings/struct_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698