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

Unified Diff: lib/src/runner/load_exception_suite.dart

Issue 1390883002: Make Suite contain a single Group. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Code review changes Created 5 years, 2 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 | « lib/src/runner/engine.dart ('k') | lib/src/runner/load_suite.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/runner/load_exception_suite.dart
diff --git a/lib/src/runner/load_exception_suite.dart b/lib/src/runner/load_exception_suite.dart
index 40589bbd99e555094ba36fe396f9ac2c62b7ba61..2808daf072545a89bf07c82c0ca732bce6f38bde 100644
--- a/lib/src/runner/load_exception_suite.dart
+++ b/lib/src/runner/load_exception_suite.dart
@@ -6,6 +6,7 @@ library test.runner.load_exception_suite;
import 'dart:async';
+import '../backend/group.dart';
import '../backend/invoker.dart';
import '../backend/metadata.dart';
import '../backend/suite.dart';
@@ -23,8 +24,8 @@ class LoadExceptionSuite extends Suite {
LoadExceptionSuite(LoadException exception, stackTrace)
: exception = exception,
stackTrace = stackTrace,
- super([
+ super(new Group.root([
new LocalTest("load error", new Metadata(),
() => new Future.error(exception, stackTrace))
- ], path: exception.path);
+ ]), path: exception.path);
}
« no previous file with comments | « lib/src/runner/engine.dart ('k') | lib/src/runner/load_suite.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698