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

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

Issue 690103004: 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
Index: tests/compiler/dart2js/analyze_unused_dart2js_test.dart
diff --git a/tests/compiler/dart2js/analyze_unused_dart2js_test.dart b/tests/compiler/dart2js/analyze_unused_dart2js_test.dart
index e2867769ac223faac14ddc132e7bf632d40445d5..570b5284a22a5015c81954e3d0bd61ae1bdd6d4a 100644
--- a/tests/compiler/dart2js/analyze_unused_dart2js_test.dart
+++ b/tests/compiler/dart2js/analyze_unused_dart2js_test.dart
@@ -6,8 +6,8 @@ library analyze_unused_dart2js;
import 'package:async_helper/async_helper.dart';
-import 'package:compiler/implementation/dart2jslib.dart';
-import 'package:compiler/implementation/filenames.dart';
+import 'package:compiler/src/dart2jslib.dart';
+import 'package:compiler/src/filenames.dart';
import 'analyze_helper.dart';
@@ -15,34 +15,30 @@ import 'analyze_helper.dart';
// unused members refers to WHITE_LIST by name.
const Map<String, List<String>> WHITE_LIST = const {
// Helper methods for debugging should never be called from production code:
- "implementation/helpers/": const [" is never "],
+ "lib/src/helpers/": const [" is never "],
// Node.asLiteralBool is never used.
- "implementation/tree/nodes.dart": const [
+ "lib/src/tree/nodes.dart": const [
"The method 'asLiteralBool' is never called"],
// Some things in dart_printer are not yet used
- "implementation/dart_backend/backend_ast_nodes.dart": const [" is never "],
-
- // dart2js uses only the encoding functions, the decoding functions are used
- // from the generated code.
- "js_lib/shared/runtime_data.dart": const [" is never "],
+ "lib/src/dart_backend/backend_ast_nodes.dart": const [" is never "],
// MethodElement
// TODO(20377): Why is MethodElement unused?
- "implementation/elements/elements.dart": const [" is never "]
+ "lib/src/elements/elements.dart": const [" is never "]
};
void main() {
var uri = currentDirectory.resolve(
- 'sdk/lib/_internal/compiler/implementation/use_unused_api.dart');
+ 'pkg/compiler/lib/src/use_unused_api.dart');
asyncTest(() => analyze([uri], WHITE_LIST,
analyzeAll: false, checkResults: checkResults));
}
bool checkResults(Compiler compiler, CollectingDiagnosticHandler handler) {
var helperUri = currentDirectory.resolve(
- 'sdk/lib/_internal/compiler/implementation/helpers/helpers.dart');
+ 'pkg/compiler/lib/src/helpers/helpers.dart');
void checkLive(member) {
if (member.isFunction) {
if (compiler.enqueuer.resolution.hasBeenResolved(member)) {
« no previous file with comments | « tests/compiler/dart2js/analyze_only_test.dart ('k') | tests/compiler/dart2js/async_compiler_input_provider_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698