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

Unified Diff: mojo/public/rust/tests/validation.rs

Issue 2240003002: Rust: Polish off communication across Mojom interfaces (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Upload newest version of code gen 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 side-by-side diff with in-line comments
Download patch
Index: mojo/public/rust/tests/validation.rs
diff --git a/mojo/public/rust/tests/validation.rs b/mojo/public/rust/tests/validation.rs
index 2362dbd97edcab3ac33e387c6c7d847c79df5cc4..5b855825f92a72545b8c4a1f5a769b7305f8b6a6 100644
--- a/mojo/public/rust/tests/validation.rs
+++ b/mojo/public/rust/tests/validation.rs
@@ -25,7 +25,8 @@ use util::mojom_validation::*;
/// Given a test name, it will generate a test function. In this test function
/// we perform the following steps:
/// 1. Decode the header of the validation input.
-/// 3. Decode the payload of the validation input.
+/// 2. Decode the payload of the validation input, expecting a validation
+/// error.
///
macro_rules! validation_tests {
($($name:ident => $req_type:ident;)*) => {
@@ -124,4 +125,7 @@ validation_tests! {
resp_conformance_msghdr_invalid_response_flags1 => ConformanceTestInterfaceResponseOption;
resp_conformance_msghdr_invalid_response_flags2 => ConformanceTestInterfaceResponseOption;
resp_conformance_msghdr_no_such_method => ConformanceTestInterfaceResponseOption;
+ integration_intf_resp_mthd0_unexpected_array_header => IntegrationTestInterfaceResponseOption;
+ integration_intf_rqst_mthd0_unexpected_struct_header => IntegrationTestInterfaceRequestOption;
+ integration_msghdr_invalid_flags => IntegrationTestInterfaceRequestOption;
}

Powered by Google App Engine
This is Rietveld 408576698