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

Side by Side Diff: chrome_frame/test/mock_ie_event_sink_test.cc

Issue 3156026: Add a method for setting the value of an Accessibility object.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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
« no previous file with comments | « chrome_frame/test/mock_ie_event_sink_actions.h ('k') | chrome_frame/test/ui_test.cc » ('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) 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 "chrome_frame/test/mock_ie_event_sink_test.h" 5 #include "chrome_frame/test/mock_ie_event_sink_test.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 8
9 #include "base/scoped_variant_win.h" 9 #include "base/scoped_variant_win.h"
10 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 .WillOnce(QUIT_LOOP(loop_)); 193 .WillOnce(QUIT_LOOP(loop_));
194 HRESULT hr = ie_mock_.event_sink()->LaunchIEAndNavigate(url, &ie_mock_); 194 HRESULT hr = ie_mock_.event_sink()->LaunchIEAndNavigate(url, &ie_mock_);
195 ASSERT_HRESULT_SUCCEEDED(hr); 195 ASSERT_HRESULT_SUCCEEDED(hr);
196 if (hr == S_FALSE) 196 if (hr == S_FALSE)
197 return; 197 return;
198 198
199 ASSERT_TRUE(ie_mock_.event_sink()->web_browser2() != NULL); 199 ASSERT_TRUE(ie_mock_.event_sink()->web_browser2() != NULL);
200 loop_.RunFor(timeout); 200 loop_.RunFor(timeout);
201 } 201 }
202 202
203 FilePath MockIEEventSinkTest::GetTestFilePath(
204 const std::wstring& relative_path) {
205 return server_mock_.root_dir().Append(relative_path);
206 }
207
203 std::wstring MockIEEventSinkTest::GetTestUrl( 208 std::wstring MockIEEventSinkTest::GetTestUrl(
204 const std::wstring& relative_path) { 209 const std::wstring& relative_path) {
205 return server_mock_.Resolve(relative_path.c_str()); 210 return server_mock_.Resolve(relative_path.c_str());
206 } 211 }
207 212
208 } // namespace chrome_frame_test 213 } // namespace chrome_frame_test
209 214
OLDNEW
« no previous file with comments | « chrome_frame/test/mock_ie_event_sink_actions.h ('k') | chrome_frame/test/ui_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698