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

Unified Diff: dart/tests/try/poi/poi_test.dart

Issue 386563002: Add "point of interest" app for command-line testing of dart2js type information. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 5 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
« no previous file with comments | « dart/tests/try/paste_content_rewriting_test.dart ('k') | dart/tests/try/source_update_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/tests/try/poi/poi_test.dart
diff --git a/dart/tests/language/deferred_no_such_method_test.dart b/dart/tests/try/poi/poi_test.dart
similarity index 51%
copy from dart/tests/language/deferred_no_such_method_test.dart
copy to dart/tests/try/poi/poi_test.dart
index 00791b5facd9b300fd6d4997d960123ebe043784..39c8cb8ecc7419dd68f5e558195d41392b56d67c 100644
--- a/dart/tests/language/deferred_no_such_method_test.dart
+++ b/dart/tests/try/poi/poi_test.dart
@@ -2,18 +2,16 @@
// 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 'package:expect/expect.dart';
-import 'package:async_helper/async_helper.dart';
+library trydart.poi_test;
+
+import 'dart:io' show
+ Platform;
-@l import "deferred_no_such_method_lib.dart" as lib;
+import 'package:try/poi/poi.dart' as poi;
-const l = const DeferredLibrary('lib');
+import 'package:async_helper/async_helper.dart';
void main() {
- asyncStart();
- l.load().then((_) {
- Expect.equals(42, new lib.C().nonExisting());
- asyncEnd();
- });
-}
+ poi.main(<String>[Platform.script.toFilePath(), '339']);
+ asyncTest(() => poi.doneFuture);
+}
« no previous file with comments | « dart/tests/try/paste_content_rewriting_test.dart ('k') | dart/tests/try/source_update_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698