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

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

Issue 126143005: Remove Chrome Frame code and resources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync to r244038 Created 6 years, 11 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "chrome_frame/test/chrome_frame_automation_mock.h"
6 #include "chrome_frame/test/chrome_frame_test_utils.h"
7 #include "testing/gtest/include/gtest/gtest.h"
8
9 const base::TimeDelta kLongWaitTimeout = base::TimeDelta::FromSeconds(25);
10
11 TEST(ChromeFrame, Launch) {
12 base::MessageLoopForUI loop;
13 AutomationMockLaunch mock_launch(&loop,
14 kLongWaitTimeout.InMilliseconds());
15
16 loop.PostDelayedTask(
17 FROM_HERE, base::MessageLoop::QuitClosure(), kLongWaitTimeout);
18
19 mock_launch.Navigate("about:blank");
20 base::RunLoop run_loop(NULL);
21 run_loop.Run();
22 EXPECT_TRUE(mock_launch.launch_result());
23 }
OLDNEW
« no previous file with comments | « chrome_frame/test/chrome_frame_automation_mock.h ('k') | chrome_frame/test/chrome_frame_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698