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

Unified Diff: utils/tests/pub/pub_test.dart

Issue 12782005: Revert "Use scheduled_test for Pub tests." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 | « utils/tests/pub/pub_lish_test.dart ('k') | utils/tests/pub/pub_uploader_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/tests/pub/pub_test.dart
diff --git a/utils/tests/pub/pub_test.dart b/utils/tests/pub/pub_test.dart
index 49d70635d81c5e5217cf095a9c974fe02c636ca8..06963446ee1b20e4a622aea5e7e836e00aa7d0cb 100644
--- a/utils/tests/pub/pub_test.dart
+++ b/utils/tests/pub/pub_test.dart
@@ -6,10 +6,8 @@ library pub_tests;
import 'dart:io';
-import '../../../pkg/scheduled_test/lib/scheduled_test.dart';
-
-import 'descriptor.dart' as d;
import 'test_pub.dart';
+import '../../../pkg/unittest/lib/unittest.dart';
final USAGE_STRING = """
Pub is a package manager for Dart.
@@ -132,9 +130,9 @@ main() {
});
integration('parses a release-style version', () {
- d.dir(sdkPath, [
- d.file('version', '0.1.2.0_r17645'),
- ]).create();
+ dir(sdkPath, [
+ file('version', '0.1.2.0_r17645'),
+ ]).scheduleCreate();
schedulePub(args: ['version'], output: "Pub 0.1.2+0.r17645\n");
});
@@ -142,9 +140,9 @@ main() {
integration('parses a dev-only style version', () {
// The "version" file generated on developer builds is a little funky and
// we need to make sure we don't choke on it.
- d.dir(sdkPath, [
- d.file('version', '0.1.2.0_r16279_bobross'),
- ]).create();
+ dir(sdkPath, [
+ file('version', '0.1.2.0_r16279_bobross'),
+ ]).scheduleCreate();
schedulePub(args: ['version'], output: "Pub 0.1.2+0.r16279.bobross\n");
});
« no previous file with comments | « utils/tests/pub/pub_lish_test.dart ('k') | utils/tests/pub/pub_uploader_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698