| 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 "chrome_frame/test/test_with_web_server.h" | 5 #include "chrome_frame/test/test_with_web_server.h" |
| 6 | 6 |
| 7 #include "base/base_paths.h" | 7 #include "base/base_paths.h" |
| 8 #include "base/file_util.h" | 8 #include "base/file_util.h" |
| 9 #include "base/file_version_info.h" | 9 #include "base/file_version_info.h" |
| 10 #include "base/files/memory_mapped_file.h" | 10 #include "base/files/memory_mapped_file.h" |
| 11 #include "base/files/scoped_temp_dir.h" | 11 #include "base/files/scoped_temp_dir.h" |
| 12 #include "base/path_service.h" | 12 #include "base/path_service.h" |
| 13 #include "base/stringprintf.h" | 13 #include "base/stringprintf.h" |
| 14 #include "base/test/test_timeouts.h" | 14 #include "base/test/test_timeouts.h" |
| 15 #include "base/utf_string_conversions.h" | 15 #include "base/utf_string_conversions.h" |
| 16 #include "base/win/windows_version.h" | 16 #include "base/win/windows_version.h" |
| 17 #include "chrome/common/chrome_switches.h" | 17 #include "chrome/common/chrome_switches.h" |
| 18 #include "chrome/installer/util/helper.h" |
| 19 #include "chrome/installer/util/install_util.h" |
| 18 #include "chrome/installer/util/product.h" | 20 #include "chrome/installer/util/product.h" |
| 19 #include "chrome/installer/util/install_util.h" | |
| 20 #include "chrome/installer/util/helper.h" | |
| 21 #include "chrome_frame/html_utils.h" | 21 #include "chrome_frame/html_utils.h" |
| 22 #include "chrome_frame/utils.h" | |
| 23 #include "chrome_frame/test/chrome_frame_test_utils.h" | 22 #include "chrome_frame/test/chrome_frame_test_utils.h" |
| 24 #include "chrome_frame/test/mock_ie_event_sink_actions.h" | 23 #include "chrome_frame/test/mock_ie_event_sink_actions.h" |
| 25 #include "chrome_frame/test/mock_ie_event_sink_test.h" | 24 #include "chrome_frame/test/mock_ie_event_sink_test.h" |
| 26 #include "chrome_frame/test/test_scrubber.h" | 25 #include "chrome_frame/test/test_scrubber.h" |
| 26 #include "chrome_frame/utils.h" |
| 27 #include "net/base/mime_util.h" | 27 #include "net/base/mime_util.h" |
| 28 #include "net/base/stream_listen_socket.h" | |
| 29 #include "net/http/http_util.h" | 28 #include "net/http/http_util.h" |
| 29 #include "net/socket/stream_listen_socket.h" |
| 30 | 30 |
| 31 using chrome_frame_test::kChromeFrameLongNavigationTimeout; | 31 using chrome_frame_test::kChromeFrameLongNavigationTimeout; |
| 32 using chrome_frame_test::kChromeFrameVeryLongNavigationTimeout; | 32 using chrome_frame_test::kChromeFrameVeryLongNavigationTimeout; |
| 33 | 33 |
| 34 using testing::_; | 34 using testing::_; |
| 35 using testing::StrCaseEq; | 35 using testing::StrCaseEq; |
| 36 | 36 |
| 37 const wchar_t kDocRoot[] = L"chrome_frame\\test\\data"; | 37 const wchar_t kDocRoot[] = L"chrome_frame\\test\\data"; |
| 38 | 38 |
| 39 namespace { | 39 namespace { |
| (...skipping 1050 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1090 // This test loads a large page and ensures that the full page contents are | 1090 // This test loads a large page and ensures that the full page contents are |
| 1091 // actually loaded via a self-validating HTML page. This is done due to a bug | 1091 // actually loaded via a self-validating HTML page. This is done due to a bug |
| 1092 // whereby the middle of the response stream would sometimes be truncated when | 1092 // whereby the middle of the response stream would sometimes be truncated when |
| 1093 // loading a CF document. See http://crbug.com/178421 for details. | 1093 // loading a CF document. See http://crbug.com/178421 for details. |
| 1094 TEST_F(ChromeFrameTestWithWebServer, FullTabModeIE_LargePageLoad) { | 1094 TEST_F(ChromeFrameTestWithWebServer, FullTabModeIE_LargePageLoad) { |
| 1095 const wchar_t kLargePageLoadPage[] = | 1095 const wchar_t kLargePageLoadPage[] = |
| 1096 L"chrome_frame_large_page.html"; | 1096 L"chrome_frame_large_page.html"; |
| 1097 | 1097 |
| 1098 SimpleBrowserTest(IE, kLargePageLoadPage); | 1098 SimpleBrowserTest(IE, kLargePageLoadPage); |
| 1099 } | 1099 } |
| OLD | NEW |