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

Unified Diff: mojo/dart/test/validation_test.dart

Issue 1060193002: Provide mechanism to close immediately to Dart bindings (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « DEPS ('k') | mojo/public/dart/src/application.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/dart/test/validation_test.dart
diff --git a/mojo/dart/test/validation_test.dart b/mojo/dart/test/validation_test.dart
index e747a4a7fab7a4113a6eb6f07f70290e404b38d5..d4ab222535277005ca1d0195c096fba2e5bdbb9f 100644
--- a/mojo/dart/test/validation_test.dart
+++ b/mojo/dart/test/validation_test.dart
@@ -37,7 +37,7 @@ class ConformanceTestInterfaceImpl implements ConformanceTestInterface {
method10(Map<String, int> param0) => _complete();
method11(StructG param0) => _complete();
- Future close({bool nodefer: false}) => _stub.close(nodefer: nodefer);
+ Future close({bool immediate: false}) => _stub.close(immediate: immediate);
}
parser.ValidationParseResult readAndParseTest(String test) {
@@ -65,7 +65,7 @@ runTest(String name, parser.ValidationParseResult test, String expected) {
assert(e is MojoCodecError);
// TODO(zra): Make the error messages conform?
// assert(e == expected);
- conformanceImpl.close(nodefer: true);
+ conformanceImpl.close(immediate: true);
pipe.endpoints[0].handle.close();
handles.forEach((h) => h.close());
});
« no previous file with comments | « DEPS ('k') | mojo/public/dart/src/application.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698