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

Unified Diff: dart/frog/tests/await/src/await_test_helper.dart

Issue 10164004: Remove frogsh. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased Created 8 years, 8 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/frog/tests/await/src/HelperTest.dart ('k') | dart/frog/tests/frog/frog.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/frog/tests/await/src/await_test_helper.dart
diff --git a/dart/frog/tests/await/src/await_test_helper.dart b/dart/frog/tests/await/src/await_test_helper.dart
deleted file mode 100644
index 1349382c5cc5e01bfc6d7c192c00570bfc99fa34..0000000000000000000000000000000000000000
--- a/dart/frog/tests/await/src/await_test_helper.dart
+++ /dev/null
@@ -1,23 +0,0 @@
-// Copyright (c) 2011, 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.
-
-// A library used by await tests.
-#library("await_test_helper.dart");
-
-#import("../../../lib/node/node.dart");
-
-/** Returns a future that completes with [value] after calling [setTimeout]. */
-Future futureOf(value) {
- final c = new Completer();
- final f = c.future;
- setTimeout(() { c.complete(value); }, 0);
- return f;
-}
-
-Future errorOf(error) {
- final c = new Completer();
- final f = c.future;
- setTimeout(() { c.completeException(error); }, 0);
- return f;
-}
« no previous file with comments | « dart/frog/tests/await/src/HelperTest.dart ('k') | dart/frog/tests/frog/frog.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698