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

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

Issue 693183006: Revert "Move dart2js from sdk/lib/_internal/compiler to pkg/compiler" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month 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 | « tests/compiler/dart2js/analyze_dart2js_test.dart ('k') | tests/compiler/dart2js/analyze_only_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/analyze_helper.dart
diff --git a/tests/compiler/dart2js/analyze_helper.dart b/tests/compiler/dart2js/analyze_helper.dart
index 62de389f2ede558393e4614e8097f5103ca5df50..89f00c6edb910bfb22f4507d042f51a5a0df9fd5 100644
--- a/tests/compiler/dart2js/analyze_helper.dart
+++ b/tests/compiler/dart2js/analyze_helper.dart
@@ -7,12 +7,12 @@ library analyze_helper;
import 'dart:async';
import 'dart:io';
import 'package:compiler/compiler.dart' as api;
-import 'package:compiler/src/apiimpl.dart';
-import 'package:compiler/src/dart2jslib.dart'
+import 'package:compiler/implementation/apiimpl.dart';
+import 'package:compiler/implementation/dart2jslib.dart'
hide Compiler;
-import 'package:compiler/src/filenames.dart';
-import 'package:compiler/src/source_file_provider.dart';
-import 'package:compiler/src/util/uri_extras.dart';
+import 'package:compiler/implementation/filenames.dart';
+import 'package:compiler/implementation/source_file_provider.dart';
+import 'package:compiler/implementation/util/uri_extras.dart';
/**
* Map of whitelisted warnings and errors.
@@ -142,7 +142,7 @@ Future analyze(List<Uri> uriList,
print("""
-===
+===
=== NOTE: If this test fails, update [WHITE_LIST] in $testFileName
===
@@ -150,8 +150,6 @@ Future analyze(List<Uri> uriList,
""");
var libraryRoot = currentDirectory.resolve('sdk/');
- var packageRoot =
- currentDirectory.resolveUri(new Uri.file('${Platform.packageRoot}/'));
var provider = new CompilerSourceFileProvider();
var handler = new CollectingDiagnosticHandler(whiteList, provider);
var options = <String>['--analyze-only', '--categories=Client,Server'];
@@ -160,17 +158,17 @@ Future analyze(List<Uri> uriList,
provider.readStringFromUri,
null,
handler.diagnosticHandler,
- libraryRoot, packageRoot,
+ libraryRoot, libraryRoot,
options,
{});
String MESSAGE = """
-===
+===
=== ERROR: Unexpected result of analysis.
-===
+===
=== Please update [WHITE_LIST] in $testFileName
-===
+===
""";
void onCompletion(_) {
« no previous file with comments | « tests/compiler/dart2js/analyze_dart2js_test.dart ('k') | tests/compiler/dart2js/analyze_only_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698