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

Unified Diff: pkg/scheduled_test/test/scheduled_stream/stream_matcher_test.dart

Issue 524153002: Sharing metatest logic between unittest and scheduled_test (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: status fixes Created 6 years, 3 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: pkg/scheduled_test/test/scheduled_stream/stream_matcher_test.dart
diff --git a/pkg/scheduled_test/test/scheduled_stream/stream_matcher_test.dart b/pkg/scheduled_test/test/scheduled_stream/stream_matcher_test.dart
index d7127443d0e50b94277bd7c31205ea5660f56779..b34e0759ad31b227d1b58c9f8cc27eab4294298d 100644
--- a/pkg/scheduled_test/test/scheduled_stream/stream_matcher_test.dart
+++ b/pkg/scheduled_test/test/scheduled_stream/stream_matcher_test.dart
@@ -10,7 +10,7 @@ import 'package:scheduled_test/scheduled_stream.dart';
import 'package:scheduled_test/scheduled_test.dart';
import 'package:scheduled_test/src/utils.dart';
-import '../metatest.dart';
+import 'package:metatest/metatest.dart';
import '../utils.dart';
/// Returns a [ScheduledStream] that asynchronously emits the numbers 1 through
@@ -31,7 +31,9 @@ ScheduledStream createStream() {
return stream;
}
-void main(_, message) {
+void main() => initTests(_test);
+
+void _test(message) {
initMetatest(message);
setUpTimeout();
« no previous file with comments | « pkg/scheduled_test/test/scheduled_server_test.dart ('k') | pkg/scheduled_test/test/scheduled_test/abort_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698