| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "sky/engine/config.h" | |
| 6 #include "sky/engine/platform/network/HTTPParsers.h" | 5 #include "sky/engine/platform/network/HTTPParsers.h" |
| 7 | 6 |
| 8 #include "sky/engine/wtf/MathExtras.h" | 7 #include "sky/engine/wtf/MathExtras.h" |
| 9 #include "sky/engine/wtf/text/AtomicString.h" | 8 #include "sky/engine/wtf/text/AtomicString.h" |
| 10 #include "wtf/testing/WTFTestHelpers.h" | 9 #include "wtf/testing/WTFTestHelpers.h" |
| 11 | 10 |
| 12 #include <gtest/gtest.h> | 11 #include <gtest/gtest.h> |
| 13 | 12 |
| 14 namespace blink { | 13 namespace blink { |
| 15 | 14 |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 218 EXPECT_EQ("bar", value.string()); | 217 EXPECT_EQ("bar", value.string()); |
| 219 | 218 |
| 220 EXPECT_EQ(12u, parseHTTPHeader(data + 10, failureReason, name, value)); | 219 EXPECT_EQ(12u, parseHTTPHeader(data + 10, failureReason, name, value)); |
| 221 EXPECT_TRUE(failureReason.isEmpty()); | 220 EXPECT_TRUE(failureReason.isEmpty()); |
| 222 EXPECT_EQ("hoge", name.string()); | 221 EXPECT_EQ("hoge", name.string()); |
| 223 EXPECT_EQ("fuga", value.string()); | 222 EXPECT_EQ("fuga", value.string()); |
| 224 } | 223 } |
| 225 | 224 |
| 226 } // namespace blink | 225 } // namespace blink |
| 227 | 226 |
| OLD | NEW |