| 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 "net/websockets/websocket_handshake_handler.h" | 5 #include "net/websockets/websocket_handshake_handler.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 563 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 574 EXPECT_DEBUG_DEATH(GetKeyNumber(), "space"); | 574 EXPECT_DEBUG_DEATH(GetKeyNumber(), "space"); |
| 575 } | 575 } |
| 576 | 576 |
| 577 TEST_F(WebSocketHandshakeGetKeyNumberDeathTest, MustBeIntegralMultiple) { | 577 TEST_F(WebSocketHandshakeGetKeyNumberDeathTest, MustBeIntegralMultiple) { |
| 578 set_key("1 1"); | 578 set_key("1 1"); |
| 579 EXPECT_DEBUG_DEATH(GetKeyNumber(), "spaces"); | 579 EXPECT_DEBUG_DEATH(GetKeyNumber(), "spaces"); |
| 580 } | 580 } |
| 581 #endif // GTEST_HAS_DEATH_TEST && !defined(NDEBUG) | 581 #endif // GTEST_HAS_DEATH_TEST && !defined(NDEBUG) |
| 582 | 582 |
| 583 } // namespace net | 583 } // namespace net |
| OLD | NEW |