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

Unified Diff: pkg/scheduled_test/test/descriptor/async_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: CR feedback 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/descriptor/async_test.dart
diff --git a/pkg/scheduled_test/test/descriptor/async_test.dart b/pkg/scheduled_test/test/descriptor/async_test.dart
index 8c1f80c75fde8cb9d374e45975df847f08b5497a..853ca55e9e15299ee655f3a690156f91f301adff 100644
--- a/pkg/scheduled_test/test/descriptor/async_test.dart
+++ b/pkg/scheduled_test/test/descriptor/async_test.dart
@@ -5,10 +5,12 @@
import 'package:scheduled_test/descriptor.dart' as d;
import 'package:scheduled_test/scheduled_test.dart';
-import '../metatest.dart';
+import 'package:metatest/metatest.dart';
nweiz 2014/09/10 21:04:42 Move "package:" imports with other "package:" impo
kevmoo 2014/09/17 21:16:29 Done.
import 'utils.dart';
-void main(_, message) {
+void main() => initTests(_test);
+
+void _test(message) {
initMetatest(message);
setUpTimeout();

Powered by Google App Engine
This is Rietveld 408576698