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

Unified Diff: lib/src/backend/suite.dart

Issue 983573002: Add support for running browser tests to the test runner. (Closed) Base URL: git@github.com:dart-lang/unittest@master
Patch Set: Created 5 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
Index: lib/src/backend/suite.dart
diff --git a/lib/src/backend/suite.dart b/lib/src/backend/suite.dart
index d8faef46dd1aff4d0d3d58f8cb315fe5a35ee022..b2f3aff78581e0f5b10be1b81675273fa0c52555 100644
--- a/lib/src/backend/suite.dart
+++ b/lib/src/backend/suite.dart
@@ -13,12 +13,18 @@ import 'test.dart';
/// A test suite is a set of tests that are intended to be run together and that
/// share default configuration.
class Suite {
- /// The name of the test suite.
- final String name;
+ /// A description of the platform on which the suite is running, or `null` if
+ /// that platform is unknown.
+ final String platform;
+
+ /// The path to the Dart test suite, or `null` if that path is unknown.
+ final String path;
/// The tests in the test suite.
final List<Test> tests;
- Suite(this.name, Iterable<Test> tests)
- : tests = new UnmodifiableListView<Test>(tests.toList());
+ Suite(Iterable<Test> tests, {String path, String platform})
+ : path = path,
+ platform = platform,
+ tests = new UnmodifiableListView<Test>(tests.toList());
}

Powered by Google App Engine
This is Rietveld 408576698