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

Unified Diff: tests/compiler/dart2js/source_map_deferred_d2js_validity_test.dart

Issue 832363002: Remove Compiler.assembledCode. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix unittest Created 5 years, 11 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/source_map_deferred_d2js_validity_test.dart
diff --git a/tests/compiler/dart2js/source_map_deferred_d2js_validity_test.dart b/tests/compiler/dart2js/source_map_deferred_d2js_validity_test.dart
index bb5a956006f53a1f3c97e3278ed13fde83340f02..83a1f8295390506c263e5b6e1397600bd3248766 100644
--- a/tests/compiler/dart2js/source_map_deferred_d2js_validity_test.dart
+++ b/tests/compiler/dart2js/source_map_deferred_d2js_validity_test.dart
@@ -8,13 +8,11 @@ import 'dart:io';
import 'package:async_helper/async_helper.dart';
import 'package:compiler/src/dart2js.dart' as entry;
import 'package:compiler/src/apiimpl.dart';
+import 'package:compiler/compiler.dart';
import 'source_map_validator_helper.dart';
-import 'compiler_alt.dart' as alt;
void main() {
- entry.compileFunc = alt.compile;
-
asyncTest(() => createTempDir().then((Directory tmpDir) {
String file =
'tests/compiler/dart2js/source_map_deferred_validator_test_file.dart';
@@ -23,8 +21,8 @@ void main() {
[file,
'-o${tmpDir.path}/out.js',
'--library-root=sdk']);
- return result.then((_) {
- Compiler compiler = alt.compiler;
+ return result.then((CompilationResult result) {
+ Compiler compiler = result.compiler;
Uri mainUri = new Uri.file('${tmpDir.path}/out.js',
windows: Platform.isWindows);
Uri deferredUri = new Uri.file('${tmpDir.path}/out.js_1.part.js',
« no previous file with comments | « tests/compiler/dart2js/source_map_d2js_validity_test.dart ('k') | tests/compiler/dart2js/uri_retention_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698