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

Unified Diff: tests/compiler/dart2js/kernel/compile_from_dill_fast_startup_test.dart

Issue 2959773003: Share test-source between full emitter and fast startup emitter dill tests. (Closed)
Patch Set: Created 3 years, 6 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 | « no previous file | tests/compiler/dart2js/kernel/compile_from_dill_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/kernel/compile_from_dill_fast_startup_test.dart
diff --git a/tests/compiler/dart2js/kernel/compile_from_dill_fast_startup_test.dart b/tests/compiler/dart2js/kernel/compile_from_dill_fast_startup_test.dart
index a25a999d63f83ec3f4464926c366ce631effd90f..7f160a94b334f85f2505165a0c83594eca376335 100644
--- a/tests/compiler/dart2js/kernel/compile_from_dill_fast_startup_test.dart
+++ b/tests/compiler/dart2js/kernel/compile_from_dill_fast_startup_test.dart
@@ -13,34 +13,6 @@ import '../serialization/helper.dart';
import 'compile_from_dill_test_helper.dart';
-// TODO(johnniwinther): Maybe share this with 'compile_from_dill_test.dart'.
-const SOURCE = const {
- 'main.dart': '''
-foo({named}) => 1;
-bar(a) => !a;
-class Class {
- var field;
- static var staticField;
- Class(this.field);
-}
-main() {
- foo();
- bar(true);
- [];
- {};
- new Object();
- new Class('');
- Class.staticField;
- var x = null;
- for (int i = 0; i < 10; i++) {
- x = i;
- if (i == 5) break;
- }
- return x;
-}
-'''
-};
-
main(List<String> args) {
asyncTest(() async {
await mainInternal(args);
« no previous file with comments | « no previous file | tests/compiler/dart2js/kernel/compile_from_dill_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698