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

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

Issue 99303004: Remove unused API. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years 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: dart/tests/compiler/dart2js/analyze_unused_dart2js_test.dart
diff --git a/dart/tests/compiler/dart2js/analyze_unused_dart2js_test.dart b/dart/tests/compiler/dart2js/analyze_unused_dart2js_test.dart
new file mode 100644
index 0000000000000000000000000000000000000000..d2a304634950f82228e66d048c710e7d552a9411
--- /dev/null
+++ b/dart/tests/compiler/dart2js/analyze_unused_dart2js_test.dart
@@ -0,0 +1,20 @@
+// Copyright (c) 2013, 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.
+
+library analyze_unused_dart2js;
+
+import 'package:async_helper/async_helper.dart';
+
+import '../../../sdk/lib/_internal/compiler/implementation/filenames.dart';
+
+import 'analyze_dart2js_test.dart' as analyze_dart2js;
+
+import 'analyze_helper.dart';
+
+void main() {
+ var uri = currentDirectory.resolve(
+ 'sdk/lib/_internal/compiler/implementation/use_unused_api.dart');
+ asyncTest(
+ () => analyze([uri], analyze_dart2js.WHITE_LIST, analyzeAll: false));
+}

Powered by Google App Engine
This is Rietveld 408576698