Chromium Code Reviews

Unified Diff: test/build/outputs_results_to_json_test.dart

Issue 1215833002: Use the new test runner. (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: test/build/outputs_results_to_json_test.dart
diff --git a/test/build/outputs_results_to_json_test.dart b/test/build/outputs_results_to_json_test.dart
index 3fb7c1c7c37557f88fc194904518ae36dde93881..d20e713af0e71e707f38627c7d70b8ab37a80a13 100644
--- a/test/build/outputs_results_to_json_test.dart
+++ b/test/build/outputs_results_to_json_test.dart
@@ -2,19 +2,17 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
+// Dart2js can take a long time to compile dart code, so we increase the timeout
+// to cope with that.
+@Timeout.factor(3)
+
import 'package:scheduled_test/scheduled_test.dart';
import '../descriptor.dart' as d;
import '../test_pub.dart';
main() {
- initConfig();
-
integration("outputs results to JSON in a successful build", () {
- // Dart2js can take a long time to compile dart code, so we increase the
- // timeout to cope with that.
- currentSchedule.timeout *= 3;
-
d.dir(appPath, [
d.appPubspec(),
d.dir('web', [

Powered by Google App Engine