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

Unified Diff: tests/standalone/src/TimeoutTest.dart

Issue 8440066: Add test_runner.dart to Dart version of test scripts. Include TestRunnerTest unit test. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Allow for close event - read handler call bug. Created 9 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
« no previous file with comments | « tests/standalone/src/TestRunnerTest.dart ('k') | tests/standalone/standalone.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/src/TimeoutTest.dart
diff --git a/tests/standalone/src/TimeoutTest.dart b/tests/standalone/src/TimeoutTest.dart
new file mode 100644
index 0000000000000000000000000000000000000000..8248721ce3324bfc990f997c4e4d0f7ddb0091bd
--- /dev/null
+++ b/tests/standalone/src/TimeoutTest.dart
@@ -0,0 +1,11 @@
+// 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 test that runs forever.
+void main() {
+ final HOST = "127.0.0.1";
+ ServerSocket listenForever = new ServerSocket(HOST, 8001, 10);
+ // Does not call listenForever.close();
+}
« no previous file with comments | « tests/standalone/src/TestRunnerTest.dart ('k') | tests/standalone/standalone.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698