diff options
author | finnur@google.com <finnur@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-23 03:18:03 +0000 |
---|---|---|
committer | finnur@google.com <finnur@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-23 03:18:03 +0000 |
commit | d7c310ebf1782712aa8617ce036ff713d8d596ee (patch) | |
tree | 1b144eec3ed01bfb39cf2448b3e4fe48607c7e2d /chrome/test/automation | |
parent | b652c92d5b2b5082be9f195dc920ac0191ea2eaa (diff) | |
download | chromium_src-d7c310ebf1782712aa8617ce036ff713d8d596ee.zip chromium_src-d7c310ebf1782712aa8617ce036ff713d8d596ee.tar.gz chromium_src-d7c310ebf1782712aa8617ce036ff713d8d596ee.tar.bz2 |
Issue 2509: Duplicate tab should not create a new window.
Review URL: http://codereview.chromium.org/3147
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2474 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/automation')
-rw-r--r-- | chrome/test/automation/automation_proxy_uitest.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/test/automation/automation_proxy_uitest.cc b/chrome/test/automation/automation_proxy_uitest.cc index a6685f9..6fea02f 100644 --- a/chrome/test/automation/automation_proxy_uitest.cc +++ b/chrome/test/automation/automation_proxy_uitest.cc @@ -779,14 +779,13 @@ TEST_F(AutomationProxyTest, AutocompleteGetSetText) { EXPECT_EQ(text_to_set, actual_text); } -TEST_F(AutomationProxyTest, AutocompleteParallelProxy) -{ +TEST_F(AutomationProxyTest, AutocompleteParallelProxy) { scoped_ptr<BrowserProxy> browser1(automation()->GetBrowserWindow(0)); ASSERT_TRUE(browser1.get()); scoped_ptr<AutocompleteEditProxy> edit1( automation()->GetAutocompleteEditForBrowser(browser1.get())); ASSERT_TRUE(edit1.get()); - EXPECT_TRUE(browser1->ApplyAccelerator(IDC_DUPLICATE)); + EXPECT_TRUE(browser1->ApplyAccelerator(IDC_NEWWINDOW)); scoped_ptr<BrowserProxy> browser2(automation()->GetBrowserWindow(1)); ASSERT_TRUE(browser2.get()); scoped_ptr<AutocompleteEditProxy> edit2( |