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

Unified Diff: pkg/testing/lib/src/chain.dart

Issue 2693893002: Add a new kind of suite to ease test.dart integration. (Closed)
Patch Set: Fix Linux and Windows paths. Created 3 years, 10 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 | « pkg/front_end/test/fasta/testing.json ('k') | pkg/testing/lib/src/run.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/testing/lib/src/chain.dart
diff --git a/pkg/testing/lib/src/chain.dart b/pkg/testing/lib/src/chain.dart
index a74462e82841a68ce227711c5888877c00719d4f..4f970c12bfd7c5e1da805cfe990deb1f0869b588 100644
--- a/pkg/testing/lib/src/chain.dart
+++ b/pkg/testing/lib/src/chain.dart
@@ -70,8 +70,7 @@ class Chain extends Suite {
this.pattern, this.exclude, this.processMultitests)
: super(name, kind, statusFile);
- factory Chain.fromJsonMap(
- Uri base, Map json, String name, String kind) {
+ factory Chain.fromJsonMap(Uri base, Map json, String name, String kind) {
Uri source = base.resolve(json["source"]);
Uri uri = base.resolve(json["path"]);
Uri statusFile = base.resolve(json["status"]);
@@ -80,8 +79,8 @@ class Chain extends Suite {
List<RegExp> exclude = new List<RegExp>.from(
json["exclude"].map((String p) => new RegExp(p)));
bool processMultitests = json["process-multitests"] ?? false;
- return new Chain(
- name, kind, source, uri, statusFile, pattern, exclude, processMultitests);
+ return new Chain(name, kind, source, uri, statusFile, pattern, exclude,
+ processMultitests);
}
void writeImportOn(StringSink sink) {
« no previous file with comments | « pkg/front_end/test/fasta/testing.json ('k') | pkg/testing/lib/src/run.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698