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

Unified Diff: tests/standalone/io/web_socket_test.dart

Issue 24538006: Split secure_server_client_certificate test in two, because of session cache. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add fix to web_socket_test. Created 7 years, 3 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 | « tests/standalone/io/secure_server_client_no_certificate_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/web_socket_test.dart
diff --git a/tests/standalone/io/web_socket_test.dart b/tests/standalone/io/web_socket_test.dart
index 31d7a2f3648dcc7ecfdbf7b9866cbe549032add5..26d3202e6d308686c27eb8780718fd3c0099030f 100644
--- a/tests/standalone/io/web_socket_test.dart
+++ b/tests/standalone/io/web_socket_test.dart
@@ -250,8 +250,8 @@ class SecurityConfiguration {
void testUsePOST() {
+ asyncStart();
createServer().then((server) {
- asyncStart();
server.transform(new WebSocketTransformer()).listen((webSocket) {
Expect.fail("No connection expected");
}, onError: (e) {
@@ -336,7 +336,7 @@ class SecurityConfiguration {
});
}
- testIndivitualUpgrade(int connections) {
+ testIndividualUpgrade(int connections) {
createServer().then((server) {
server.listen((request) {
if (WebSocketTransformer.isUpgradeRequest(request)) {
@@ -402,7 +402,7 @@ class SecurityConfiguration {
testNoUpgrade();
testUsePOST();
testConnections(10, 3002, "Got tired");
- testIndivitualUpgrade(5);
+ testIndividualUpgrade(5);
}
}
@@ -415,7 +415,9 @@ void initializeSSL() {
main() {
+ asyncStart();
new SecurityConfiguration(secure: false).runTests();
initializeSSL();
new SecurityConfiguration(secure: true).runTests();
+ asyncEnd();
}
« no previous file with comments | « tests/standalone/io/secure_server_client_no_certificate_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698