| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Tests TelnetServer. | 5 // Tests TelnetServer. |
| 6 | 6 |
| 7 #include "net/base/listen_socket_unittest.h" | 7 #include "net/base/listen_socket_unittest.h" |
| 8 #include "net/base/telnet_server.h" | 8 #include "net/base/telnet_server.h" |
| 9 #include "testing/platform_test.h" | 9 #include "testing/platform_test.h" |
| 10 | 10 |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 | 52 |
| 53 virtual void TearDown() { | 53 virtual void TearDown() { |
| 54 PlatformTest::TearDown(); | 54 PlatformTest::TearDown(); |
| 55 tester_->TearDown(); | 55 tester_->TearDown(); |
| 56 tester_ = NULL; | 56 tester_ = NULL; |
| 57 } | 57 } |
| 58 | 58 |
| 59 scoped_refptr<TelnetServerTester> tester_; | 59 scoped_refptr<TelnetServerTester> tester_; |
| 60 }; | 60 }; |
| 61 | 61 |
| 62 TEST_F(TelnetServerTest, ServerClientSend) { | 62 // Flaky, http://crbug.com/38093. |
| 63 TEST_F(TelnetServerTest, FLAKY_ServerClientSend) { |
| 63 tester_->TestClientSend(); | 64 tester_->TestClientSend(); |
| 64 } | 65 } |
| 65 | 66 |
| 66 TEST_F(TelnetServerTest, ClientSendLong) { | 67 TEST_F(TelnetServerTest, ClientSendLong) { |
| 67 tester_->TestClientSendLong(); | 68 tester_->TestClientSendLong(); |
| 68 } | 69 } |
| 69 | 70 |
| 70 TEST_F(TelnetServerTest, ServerSend) { | 71 TEST_F(TelnetServerTest, ServerSend) { |
| 71 tester_->TestServerSend(); | 72 tester_->TestServerSend(); |
| 72 } | 73 } |
| OLD | NEW |