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

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

Issue 656783002: Revert "Add support for source maps in deferred libraries." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 2 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
deleted file mode 100644
index 2b7191ff45ed078268f57418134ac5a9d0605d53..0000000000000000000000000000000000000000
--- a/tests/compiler/dart2js/source_map_deferred_d2js_validity_test.dart
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-import 'dart:async';
-import 'dart:io';
-
-import 'package:async_helper/async_helper.dart';
-import 'package:compiler/implementation/dart2js.dart' as entry;
-import 'package:compiler/implementation/apiimpl.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';
- print("Compiling $file");
- Future result = entry.internalMain(
- [file,
- '-o${tmpDir.path}/out.js',
- '--library-root=sdk']);
- return result.then((_) {
- Compiler compiler = alt.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',
- windows: Platform.isWindows);
- validateSourceMap(mainUri, compiler);
- validateSourceMap(deferredUri, compiler);
-
- print("Deleting '${tmpDir.path}'.");
- tmpDir.deleteSync(recursive: true);
- });
- }));
-}

Powered by Google App Engine
This is Rietveld 408576698