OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 <stddef.h> |
| 6 |
5 #include <string> | 7 #include <string> |
6 #include <vector> | 8 #include <vector> |
7 | 9 |
8 #include "base/bind.h" | 10 #include "base/bind.h" |
9 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
10 #include "base/location.h" | 12 #include "base/location.h" |
11 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
12 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
13 #include "base/message_loop/message_loop.h" | 15 #include "base/message_loop/message_loop.h" |
14 #include "base/run_loop.h" | 16 #include "base/run_loop.h" |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 SendReceive(messages); | 193 SendReceive(messages); |
192 } | 194 } |
193 | 195 |
194 TEST_F(WebSocketTest, SendReceiveMultiple) { | 196 TEST_F(WebSocketTest, SendReceiveMultiple) { |
195 std::vector<std::string> messages; | 197 std::vector<std::string> messages; |
196 messages.push_back("1"); | 198 messages.push_back("1"); |
197 messages.push_back("2"); | 199 messages.push_back("2"); |
198 messages.push_back("3"); | 200 messages.push_back("3"); |
199 SendReceive(messages); | 201 SendReceive(messages); |
200 } | 202 } |
OLD | NEW |