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

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

Issue 2162053005: Split serialization tests further (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Update to use open-ended intervals and separate method for skipped tests. 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
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 c32be573e313f2b9b905e742902e4ed9ea369d26..568b453ea2de4a0a9dfb12c8757b467a2e32f459 100644
--- a/tests/compiler/dart2js/serialization/test_data.dart
+++ b/tests/compiler/dart2js/serialization/test_data.dart
@@ -5,8 +5,8 @@
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
+ // These tests are very long-running and put here first to compile them on
+ // their own tests.
const Test('Disable tree shaking through reflection', const {
'main.dart': '''
import 'dart:mirrors';
@@ -17,6 +17,19 @@ main() {
''',
}, expectedWarningCount: 1),
+ const Test('Use of dart:indexed_db', const {
+ 'main.dart': '''
+import 'a.dart';
+
+main() {}
+''',
+ }, preserializedSourceFiles: const {
+ 'a.dart': '''
+import 'dart:indexed_db';
+''',
+ }),
+
+ // These tests
const Test('Empty program', const {
'main.dart': 'main() {}'
}),
@@ -631,18 +644,6 @@ test() {
}
''',
}),
-
- const Test('Use of dart:indexed_db', const {
- 'main.dart': '''
-import 'a.dart';
-
-main() {}
-''',
- }, preserializedSourceFiles: const {
- 'a.dart': '''
-import 'dart:indexed_db';
-''',
- }),
];
class Test {
« no previous file with comments | « tests/compiler/dart2js/serialization/model_test_helper.dart ('k') | tests/compiler/dart2js/serialization/test_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698