OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "base/format_macros.h" | 5 #include "base/format_macros.h" |
6 #include "base/json/json_reader.h" | 6 #include "base/json/json_reader.h" |
7 #include "base/memory/scoped_ptr.h" | 7 #include "base/memory/scoped_ptr.h" |
8 #include "base/stringprintf.h" | 8 #include "base/strings/stringprintf.h" |
9 #include "base/values.h" | 9 #include "base/values.h" |
10 #include "chrome/test/webdriver/commands/response.h" | 10 #include "chrome/test/webdriver/commands/response.h" |
11 #include "chrome/test/webdriver/http_response.h" | 11 #include "chrome/test/webdriver/http_response.h" |
12 #include "chrome/test/webdriver/webdriver_dispatch.h" | 12 #include "chrome/test/webdriver/webdriver_dispatch.h" |
13 #include "chrome/test/webdriver/webdriver_session_manager.h" | 13 #include "chrome/test/webdriver/webdriver_session_manager.h" |
14 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
15 #include "third_party/mongoose/mongoose.h" | 15 #include "third_party/mongoose/mongoose.h" |
16 | 16 |
17 namespace webdriver { | 17 namespace webdriver { |
18 | 18 |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 ¶meters, | 213 ¶meters, |
214 &response)); | 214 &response)); |
215 EXPECT_EQ("GET", method); | 215 EXPECT_EQ("GET", method); |
216 ASSERT_EQ(3u, path_segments.size()); | 216 ASSERT_EQ(3u, path_segments.size()); |
217 EXPECT_EQ("", path_segments[0]); | 217 EXPECT_EQ("", path_segments[0]); |
218 EXPECT_EQ("bar", path_segments[1]); | 218 EXPECT_EQ("bar", path_segments[1]); |
219 EXPECT_EQ("baz", path_segments[2]); | 219 EXPECT_EQ("baz", path_segments[2]); |
220 } | 220 } |
221 | 221 |
222 } // namespace webdriver | 222 } // namespace webdriver |
OLD | NEW |