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

Unified Diff: samples/third_party/dromaeo/Suites.dart

Issue 11783009: Big merge from experimental to bleeding edge. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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 | « samples/third_party/dromaeo/Dromaeo.dart ('k') | samples/third_party/dromaeo/common/BenchUtil.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/third_party/dromaeo/Suites.dart
diff --git a/samples/third_party/dromaeo/Suites.dart b/samples/third_party/dromaeo/Suites.dart
index 1e236b49da91bcee64d3aab8c11515543629b534..7e6ad08d8df2d0cc8a86e84a1e0c358180df421d 100644
--- a/samples/third_party/dromaeo/Suites.dart
+++ b/samples/third_party/dromaeo/Suites.dart
@@ -136,7 +136,7 @@ class Suites {
tags = tags.replaceAll('OR', '|').replaceAll('AND', '&');
// A disjunction of conjunctions (e.g.,
// 'js&modify|dart&dom&modify').
- final taglist = tags.split('|').map((tag) => tag.split('&'));
+ final taglist = tags.split('|').mappedBy((tag) => tag.split('&')).toList();
bool match(suite) {
// If any conjunction matches, return true.
@@ -147,7 +147,7 @@ class Suites {
}
return false;
}
- final suites = SUITE_DESCRIPTIONS.filter(match);
+ final suites = SUITE_DESCRIPTIONS.where(match).toList();
suites.sort((s1, s2) => s1.name.compareTo(s2.name));
return suites;
« no previous file with comments | « samples/third_party/dromaeo/Dromaeo.dart ('k') | samples/third_party/dromaeo/common/BenchUtil.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698