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

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

Issue 3150034: GTTF: move tests that use WebKit from unit_tests to browser_tests... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 3 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/file_util.h" 7 #include "base/file_util.h"
8 #include "base/keyboard_codes.h" 8 #include "base/keyboard_codes.h"
9 #include "base/shared_memory.h" 9 #include "base/shared_memory.h"
10 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
(...skipping 1071 matching lines...) Expand 10 before | Expand all | Expand 10 after
1082 0); 1082 0);
1083 1083
1084 ProcessPendingMessages(); 1084 ProcessPendingMessages();
1085 const IPC::Message* message2 = render_thread_.sink().GetUniqueMessageMatching( 1085 const IPC::Message* message2 = render_thread_.sink().GetUniqueMessageMatching(
1086 ViewHostMsg_FillAutoFillFormData::ID); 1086 ViewHostMsg_FillAutoFillFormData::ID);
1087 1087
1088 // No message should be sent in this case. |firstname| is filled directly. 1088 // No message should be sent in this case. |firstname| is filled directly.
1089 ASSERT_EQ(static_cast<IPC::Message*>(NULL), message2); 1089 ASSERT_EQ(static_cast<IPC::Message*>(NULL), message2);
1090 EXPECT_EQ(firstname.value(), WebKit::WebString::fromUTF8("David")); 1090 EXPECT_EQ(firstname.value(), WebKit::WebString::fromUTF8("David"));
1091 } 1091 }
OLDNEW
« no previous file with comments | « chrome/renderer/pepper_devices_unittest.cc ('k') | chrome/renderer/render_view_browsertest_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698