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

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

Issue 1036943002: Add a testOn parameter to test() and group(). (Closed) Base URL: git@github.com:dart-lang/unittest@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
« no previous file with comments | « lib/src/backend/suite.dart ('k') | lib/src/runner/browser/browser_manager.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/backend/test.dart
diff --git a/lib/src/backend/test.dart b/lib/src/backend/test.dart
index cfc0c30072182714e13ca4db3a024b29d3f1ee48..bbf14348ef48ab3d5d2361bf2378587975de5899 100644
--- a/lib/src/backend/test.dart
+++ b/lib/src/backend/test.dart
@@ -5,6 +5,7 @@
library unittest.backend.test;
import 'live_test.dart';
+import 'metadata.dart';
import 'suite.dart';
/// A single test.
@@ -16,6 +17,9 @@ abstract class Test {
/// The name of the test.
String get name;
+ /// The metadata for the test.
+ Metadata get metadata;
+
/// Loads a live version of this test, which can be used to run it a single
/// time.
///
« no previous file with comments | « lib/src/backend/suite.dart ('k') | lib/src/runner/browser/browser_manager.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698