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

Side by Side Diff: chrome/test/automation/automation_proxy_uitest.cc

Issue 115012: Move: drag_drop_types, favicon_size, icon_util, insets, path, message_box_fla... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 7 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
« no previous file with comments | « chrome/test/automation/automation_proxy.h ('k') | chrome/test/unit/unittests.vcproj » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 <string> 5 #include <string>
6 6
7 #include "app/message_box_flags.h"
7 #include "base/command_line.h" 8 #include "base/command_line.h"
8 #include "base/file_path.h" 9 #include "base/file_path.h"
9 #include "base/string_util.h" 10 #include "base/string_util.h"
10 #include "build/build_config.h" 11 #include "build/build_config.h"
11 #include "chrome/app/chrome_dll_resource.h" 12 #include "chrome/app/chrome_dll_resource.h"
12 #include "chrome/browser/view_ids.h" 13 #include "chrome/browser/view_ids.h"
13 #include "chrome/common/chrome_constants.h" 14 #include "chrome/common/chrome_constants.h"
14 #include "chrome/common/chrome_switches.h" 15 #include "chrome/common/chrome_switches.h"
15 #include "chrome/common/json_value_serializer.h" 16 #include "chrome/common/json_value_serializer.h"
16 #include "chrome/common/message_box_flags.h"
17 #include "chrome/test/automation/constrained_window_proxy.h" 17 #include "chrome/test/automation/constrained_window_proxy.h"
18 #include "chrome/test/automation/browser_proxy.h" 18 #include "chrome/test/automation/browser_proxy.h"
19 #include "chrome/test/automation/tab_proxy.h" 19 #include "chrome/test/automation/tab_proxy.h"
20 #include "chrome/test/automation/window_proxy.h" 20 #include "chrome/test/automation/window_proxy.h"
21 #include "chrome/test/ui/ui_test.h" 21 #include "chrome/test/ui/ui_test.h"
22 #include "chrome/views/event.h" 22 #include "chrome/views/event.h"
23 #include "net/base/net_util.h" 23 #include "net/base/net_util.h"
24 24
25 class AutomationProxyTest : public UITest { 25 class AutomationProxyTest : public UITest {
26 protected: 26 protected:
(...skipping 1121 matching lines...) Expand 10 before | Expand all | Expand 10 after
1148 1148
1149 // Allow some time for the popup to show up and close. 1149 // Allow some time for the popup to show up and close.
1150 PlatformThread::Sleep(2000); 1150 PlatformThread::Sleep(2000);
1151 1151
1152 std::wstring expected(L"string"); 1152 std::wstring expected(L"string");
1153 std::wstring jscript = CreateJSString(L"\"" + expected + L"\""); 1153 std::wstring jscript = CreateJSString(L"\"" + expected + L"\"");
1154 std::wstring actual; 1154 std::wstring actual;
1155 ASSERT_TRUE(tab->ExecuteAndExtractString(L"", jscript, &actual)); 1155 ASSERT_TRUE(tab->ExecuteAndExtractString(L"", jscript, &actual));
1156 ASSERT_EQ(expected, actual); 1156 ASSERT_EQ(expected, actual);
1157 } 1157 }
OLDNEW
« no previous file with comments | « chrome/test/automation/automation_proxy.h ('k') | chrome/test/unit/unittests.vcproj » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698