Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Side by Side Diff: content/renderer/render_view_browsertest.cc

Issue 7537033: Move more files from chrome/test to chrome/test/base, part #5 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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/basictypes.h" 5 #include "base/basictypes.h"
6 6
7 #include "base/shared_memory.h" 7 #include "base/shared_memory.h"
8 #include "base/string_util.h" 8 #include "base/string_util.h"
9 #include "base/utf_string_conversions.h" 9 #include "base/utf_string_conversions.h"
10 #include "chrome/test/render_view_test.h" 10 #include "chrome/test/base/render_view_test.h"
11 #include "content/common/native_web_keyboard_event.h" 11 #include "content/common/native_web_keyboard_event.h"
12 #include "content/common/view_messages.h" 12 #include "content/common/view_messages.h"
13 #include "net/base/net_errors.h" 13 #include "net/base/net_errors.h"
14 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h"
16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLError.h" 16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLError.h"
17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" 17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h"
18 #include "ui/base/keycodes/keyboard_codes.h" 18 #include "ui/base/keycodes/keyboard_codes.h"
19 #include "ui/gfx/codec/jpeg_codec.h" 19 #include "ui/gfx/codec/jpeg_codec.h"
20 #include "webkit/glue/web_io_operators.h" 20 #include "webkit/glue/web_io_operators.h"
(...skipping 822 matching lines...) Expand 10 before | Expand all | Expand 10 after
843 // Frame should stay in view-source mode. 843 // Frame should stay in view-source mode.
844 EXPECT_TRUE(web_frame->isViewSourceModeEnabled()); 844 EXPECT_TRUE(web_frame->isViewSourceModeEnabled());
845 } 845 }
846 846
847 // Regression test for http://crbug.com/41562 847 // Regression test for http://crbug.com/41562
848 TEST_F(RenderViewTest, UpdateTargetURLWithInvalidURL) { 848 TEST_F(RenderViewTest, UpdateTargetURLWithInvalidURL) {
849 const GURL invalid_gurl("http://"); 849 const GURL invalid_gurl("http://");
850 view_->setMouseOverURL(WebKit::WebURL(invalid_gurl)); 850 view_->setMouseOverURL(WebKit::WebURL(invalid_gurl));
851 EXPECT_EQ(invalid_gurl, view_->target_url_); 851 EXPECT_EQ(invalid_gurl, view_->target_url_);
852 } 852 }
OLDNEW
« no previous file with comments | « content/renderer/external_popup_menu_unittest.cc ('k') | content/renderer/render_view_browsertest_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698