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

Side by Side Diff: pkg/front_end/test/src/incremental/hot_reload_e2e_test.dart

Issue 2937983002: Remove deps from reloader (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 unified diff | Download patch
« no previous file with comments | « pkg/front_end/pubspec.yaml ('k') | pkg/front_end/test/subpackage_relationships_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 /// Integration test that runs the incremental compiler, runs the compiled 5 /// Integration test that runs the incremental compiler, runs the compiled
6 /// program, incrementally rebuild portions of the app, and triggers a hot 6 /// program, incrementally rebuild portions of the app, and triggers a hot
7 /// reload on the running program. 7 /// reload on the running program.
8 library front_end.incremental.hot_reload_e2e_test; 8 library front_end.incremental.hot_reload_e2e_test;
9 9
10 import 'dart:async'; 10 import 'dart:async';
11 import 'dart:convert'; 11 import 'dart:convert';
12 import 'dart:io'; 12 import 'dart:io';
13 13
14 import 'package:front_end/compiler_options.dart'; 14 import 'package:front_end/compiler_options.dart';
15 import 'package:front_end/file_system.dart'; 15 import 'package:front_end/file_system.dart';
16 import 'package:front_end/incremental_kernel_generator.dart'; 16 import 'package:front_end/incremental_kernel_generator.dart';
17 import 'package:front_end/memory_file_system.dart'; 17 import 'package:front_end/memory_file_system.dart';
18 import 'package:front_end/src/incremental/byte_store.dart'; 18 import 'package:front_end/src/incremental/byte_store.dart';
19 import 'package:front_end/src/testing/hybrid_file_system.dart'; 19 import 'package:front_end/src/testing/hybrid_file_system.dart';
20 import 'package:front_end/src/vm/reload.dart';
21 import 'package:kernel/ast.dart'; 20 import 'package:kernel/ast.dart';
22 import 'package:kernel/binary/limited_ast_to_binary.dart'; 21 import 'package:kernel/binary/limited_ast_to_binary.dart';
23 import 'package:test/test.dart'; 22 import 'package:test/test.dart';
24 23
24 import '../../../tool/vm/reload.dart';
25
25 main() { 26 main() {
26 IncrementalKernelGenerator compiler; 27 IncrementalKernelGenerator compiler;
27 MemoryFileSystem fs; 28 MemoryFileSystem fs;
28 Directory outDir; 29 Directory outDir;
29 Uri outputUri; 30 Uri outputUri;
30 List<Future<String>> lines; 31 List<Future<String>> lines;
31 Future programIsDone; 32 Future programIsDone;
32 33
33 setUp(() async { 34 setUp(() async {
34 outDir = Directory.systemTemp.createTempSync('hotreload_test'); 35 outDir = Directory.systemTemp.createTempSync('hotreload_test');
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 237
237 f() => "$line part2"; 238 f() => "$line part2";
238 '''; 239 ''';
239 240
240 const sourceB = r''' 241 const sourceB = r'''
241 get line => "part1"; 242 get line => "part1";
242 '''; 243 ''';
243 244
244 RegExp observatoryPortRegExp = 245 RegExp observatoryPortRegExp =
245 new RegExp("Observatory listening on http://127.0.0.1:\([0-9]*\)/"); 246 new RegExp("Observatory listening on http://127.0.0.1:\([0-9]*\)/");
OLDNEW
« no previous file with comments | « pkg/front_end/pubspec.yaml ('k') | pkg/front_end/test/subpackage_relationships_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698