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

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

Issue 1043903004: Dart bindings: support struct versioning. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 9 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/dart/test/validation_test.dart
diff --git a/mojo/dart/test/validation_test.dart b/mojo/dart/test/validation_test.dart
index db5460ec95978892c1ab246ed811ecefc38adc16..e747a4a7fab7a4113a6eb6f07f70290e404b38d5 100644
--- a/mojo/dart/test/validation_test.dart
+++ b/mojo/dart/test/validation_test.dart
@@ -35,6 +35,7 @@ class ConformanceTestInterfaceImpl implements ConformanceTestInterface {
method8(List<List<String>> param0) => _complete();
method9(List<List<MojoHandle>> param0) => _complete();
method10(Map<String, int> param0) => _complete();
+ method11(StructG param0) => _complete();
Future close({bool nodefer: false}) => _stub.close(nodefer: nodefer);
}
@@ -81,12 +82,9 @@ runTest(String name, parser.ValidationParseResult test, String expected) {
});
}
-// TODO(zra, yzshen): Some struct versioning tests (with "mthd11" in their
-// names) are skipped.
Iterable<String> getTestFiles(String path, String prefix) => builtin
.enumerateFiles(path)
- .where((s) =>
- s.startsWith(prefix) && s.endsWith(".data") && !s.contains("mthd11"))
+ .where((s) => s.startsWith(prefix) && s.endsWith(".data"))
.map((s) => s.replaceFirst('.data', ''));
main(List args) {

Powered by Google App Engine
This is Rietveld 408576698