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

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

Issue 2232273004: Delete site/try (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 4 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/try/poi/poi_test.dart
diff --git a/tests/try/poi/poi_test.dart b/tests/try/poi/poi_test.dart
deleted file mode 100644
index 9e79274e607291e36e550403eb7b484b09449e68..0000000000000000000000000000000000000000
--- a/tests/try/poi/poi_test.dart
+++ /dev/null
@@ -1,41 +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.
-
-/// Test of the main method in poi.dart. This test only ensures that poi.dart
-/// doesn't crash.
-
-library trydart.poi_test;
-
-import 'dart:io' show
- Platform;
-
-import 'dart:async' show
- Future;
-
-import 'package:try/poi/poi.dart' as poi;
-
-import 'package:async_helper/async_helper.dart';
-
-class PoiTest {
- final Uri script;
- final int offset;
-
- PoiTest(this.script, this.offset);
-
- Future run() => poi.main(<String>[script.toFilePath(), '$offset']);
-}
-
-void main() {
- int position = 695;
- List tests = [
- // The file empty_main.dart is a regression test for crash in
- // resolveMetadataAnnotation in dart2js.
- new PoiTest(Platform.script.resolve('data/empty_main.dart'), 225),
- new PoiTest(Platform.script, position),
- ];
-
- poi.isDartMindEnabled = false;
-
- asyncTest(() => Future.forEach(tests, (PoiTest test) => test.run()));
-}

Powered by Google App Engine
This is Rietveld 408576698