summaryrefslogtreecommitdiffstats
path: root/chrome/test/automation/automation_proxy_uitest.cc
diff options
context:
space:
mode:
authorpinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-30 20:54:14 +0000
committerpinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-30 20:54:14 +0000
commit3cff29f032eaf2c86567a0fa63a6f456813b046a (patch)
tree6ff9ff1990397e73c6c4442f51c44afcd7279078 /chrome/test/automation/automation_proxy_uitest.cc
parent93df28b5ee54e974e2f7de6ccddf18b8dca57e92 (diff)
downloadchromium_src-3cff29f032eaf2c86567a0fa63a6f456813b046a.zip
chromium_src-3cff29f032eaf2c86567a0fa63a6f456813b046a.tar.gz
chromium_src-3cff29f032eaf2c86567a0fa63a6f456813b046a.tar.bz2
Remove ifdefs now that Mac passes.
Review URL: http://codereview.chromium.org/100173 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14987 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/automation/automation_proxy_uitest.cc')
-rw-r--r--chrome/test/automation/automation_proxy_uitest.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/chrome/test/automation/automation_proxy_uitest.cc b/chrome/test/automation/automation_proxy_uitest.cc
index 4f27abc..ba4bf51 100644
--- a/chrome/test/automation/automation_proxy_uitest.cc
+++ b/chrome/test/automation/automation_proxy_uitest.cc
@@ -168,8 +168,6 @@ TEST_F(AutomationProxyTest, GetTabCount) {
ASSERT_EQ(1, tab_count);
}
-// TODO(port): Port to mac.
-#if defined(OS_WIN) || defined(OS_LINUX)
TEST_F(AutomationProxyTest, GetActiveTabIndex) {
scoped_ptr<BrowserProxy> window(automation()->GetBrowserWindow(0));
ASSERT_TRUE(window.get());
@@ -178,7 +176,6 @@ TEST_F(AutomationProxyTest, GetActiveTabIndex) {
ASSERT_TRUE(window->GetActiveTabIndex(&active_tab_index));
ASSERT_EQ(0, active_tab_index);
}
-#endif
TEST_F(AutomationProxyVisibleTest, AppendTab) {
scoped_ptr<BrowserProxy> window(automation()->GetBrowserWindow(0));
@@ -401,8 +398,6 @@ class AutomationProxyTest2 : public AutomationProxyVisibleTest {
std::wstring document2_;
};
-// TODO(port): Port to mac.
-#if defined(OS_WIN) || defined(OS_LINUX)
TEST_F(AutomationProxyTest2, GetActiveTabIndex) {
scoped_ptr<BrowserProxy> window(automation()->GetBrowserWindow(0));
ASSERT_TRUE(window.get());
@@ -432,7 +427,6 @@ TEST_F(AutomationProxyTest2, GetTabTitle) {
ASSERT_TRUE(tab->GetTabTitle(&title));
ASSERT_STREQ(L"Title Of Awesomeness", title.c_str());
}
-#endif
TEST_F(AutomationProxyTest, Cookies) {
GURL url("http://mojo.jojo.google.com");
@@ -615,8 +609,6 @@ std::wstring CreateJSStringForDOMQuery(const std::wstring& id) {
return jscript;
}
-// TODO(port): Port to mac.
-#if defined(OS_WIN) || defined(OS_LINUX)
TEST_F(AutomationProxyTest3, FrameDocumentCanBeAccessed) {
scoped_ptr<BrowserProxy> window(automation()->GetBrowserWindow(0));
ASSERT_TRUE(window.get());
@@ -664,7 +656,6 @@ TEST_F(AutomationProxyTest3, FrameDocumentCanBeAccessed) {
ASSERT_FALSE(tab->ExecuteAndExtractString(xpath1, jscript1, &actual));
#endif
}
-#endif // defined(OS_WIN) || defined(OS_LINUX)
// TODO(port): Need to port constrained_window_proxy.* first.
#if defined(OS_WIN)