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

Unified Diff: client/tests/client/dom/WebSocketTest.dart

Issue 9314008: Migrate all LayoutTests/dart/dom to main repo. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update config file Created 8 years, 11 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 | « client/tests/client/dom/TypingTest.dart ('k') | client/tests/client/dom/WindowOpenTest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/tests/client/dom/WebSocketTest.dart
diff --git a/client/tests/client/dom/WebSocketTest.dart b/client/tests/client/dom/WebSocketTest.dart
new file mode 100644
index 0000000000000000000000000000000000000000..8ad0ea861ef9ac90ea6b18ec59f46035652bdef4
--- /dev/null
+++ b/client/tests/client/dom/WebSocketTest.dart
@@ -0,0 +1,14 @@
+#library('WebSocketTest');
+#import('../../../testing/unittest/unittest.dart');
+#import('dart:dom');
+
+main() {
+
+ forLayoutTests();
+
+ test('constructorTest', () {
+ var socket = new WebSocket('ws://localhost');
+ Expect.isTrue(socket != null);
+ Expect.isTrue(socket is WebSocket);
+ });
+}
« no previous file with comments | « client/tests/client/dom/TypingTest.dart ('k') | client/tests/client/dom/WindowOpenTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698