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

Side by Side Diff: net/base/listen_socket_unittest.cc

Issue 13052: Cleanup: move base/platform_test.h -> testing/ (Closed)
Patch Set: fix mark's comment Created 12 years 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 unified diff | Download patch
« no previous file with comments | « net/base/gzip_filter_unittest.cc ('k') | net/base/ssl_client_socket_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #include "net/base/listen_socket_unittest.h" 5 #include "net/base/listen_socket_unittest.h"
6 6
7 #include "base/platform_test.h"
8 #include "net/base/net_util.h" 7 #include "net/base/net_util.h"
8 #include "testing/platform_test.h"
9 9
10 const int ListenSocketTester::kTestPort = 9999; 10 const int ListenSocketTester::kTestPort = 9999;
11 11
12 static const int kReadBufSize = 1024; 12 static const int kReadBufSize = 1024;
13 static const char* kHelloWorld = "HELLO, WORLD"; 13 static const char* kHelloWorld = "HELLO, WORLD";
14 static const int kMaxQueueSize = 20; 14 static const int kMaxQueueSize = 20;
15 static const char* kLoopback = "127.0.0.1"; 15 static const char* kLoopback = "127.0.0.1";
16 static const int kDefaultTimeoutMs = 5000; 16 static const int kDefaultTimeoutMs = 5000;
17 #if defined(OS_POSIX) 17 #if defined(OS_POSIX)
18 static const char* kSemaphoreName = "chromium.listen_socket"; 18 static const char* kSemaphoreName = "chromium.listen_socket";
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 } 315 }
316 316
317 TEST_F(ListenSocketTest, ClientSendLong) { 317 TEST_F(ListenSocketTest, ClientSendLong) {
318 tester_->TestClientSendLong(); 318 tester_->TestClientSendLong();
319 } 319 }
320 320
321 TEST_F(ListenSocketTest, ServerSend) { 321 TEST_F(ListenSocketTest, ServerSend) {
322 tester_->TestServerSend(); 322 tester_->TestServerSend();
323 } 323 }
324 324
OLDNEW
« no previous file with comments | « net/base/gzip_filter_unittest.cc ('k') | net/base/ssl_client_socket_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698