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

Unified Diff: tests/compiler/dart2js/serialization/test_data.dart

Issue 2121193002: Move long-running test to its own test-file. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 5 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 | « tests/compiler/dart2js/serialization/compilation1_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/serialization/test_data.dart
diff --git a/tests/compiler/dart2js/serialization/test_data.dart b/tests/compiler/dart2js/serialization/test_data.dart
index 9a24d6570f04dc9476135d3d18fc78c1ef5a7bf8..83cf2da65fd7a70764a7ce9383ba196db942d111 100644
--- a/tests/compiler/dart2js/serialization/test_data.dart
+++ b/tests/compiler/dart2js/serialization/test_data.dart
@@ -5,6 +5,18 @@
library dart2js.serialization_test_data;
const List<Test> TESTS = const <Test>[
+ // This test is very long-running and put here first to compile it on its own
+ // in compilation0_test.dart
+ const Test('Disable tree shaking through reflection', const {
+ 'main.dart': '''
+import 'dart:mirrors';
+
+main() {
+ reflect(null).invoke(#toString, []).reflectee;
+}
+''',
+ }, expectedWarningCount: 1),
+
const Test('Empty program', const {
'main.dart': 'main() {}'
}),
@@ -376,16 +388,6 @@ main() => const String.fromEnvironment("foo");
''',
}),
- const Test('Disable tree shaking through reflection', const {
- 'main.dart': '''
-import 'dart:mirrors';
-
-main() {
- reflect(null).invoke(#toString, []).reflectee;
-}
-''',
- }, expectedWarningCount: 1),
-
const Test('Unused noSuchMethod', const {
'main.dart': '''
import 'a.dart';
« no previous file with comments | « tests/compiler/dart2js/serialization/compilation1_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698