diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-09 18:49:02 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-09 18:49:02 +0000 |
commit | f5b3bda9fea3606111ed4e1b7cb36df44e8448b7 (patch) | |
tree | f7722c67414ae3fb0f7a8f780eaee8d3c70748ce /chrome/browser/crash_recovery_uitest.cc | |
parent | 16e785bf7ae2d1910d38e0e5843acd4648d50b21 (diff) | |
download | chromium_src-f5b3bda9fea3606111ed4e1b7cb36df44e8448b7.zip chromium_src-f5b3bda9fea3606111ed4e1b7cb36df44e8448b7.tar.gz chromium_src-f5b3bda9fea3606111ed4e1b7cb36df44e8448b7.tar.bz2 |
UI test string portage.
These files now compile on linux (but they don't link) and they still pass windows. When Pawel gets done with his changes to UI test stuff, we should be able to just enable these tests.
The changes to chrome.gyp are just to fix lint errors.
Review URL: http://codereview.chromium.org/63149
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13442 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/crash_recovery_uitest.cc')
-rw-r--r-- | chrome/browser/crash_recovery_uitest.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/crash_recovery_uitest.cc b/chrome/browser/crash_recovery_uitest.cc index bbd577a..e533b09 100644 --- a/chrome/browser/crash_recovery_uitest.cc +++ b/chrome/browser/crash_recovery_uitest.cc @@ -4,6 +4,7 @@ #include "base/file_path.h" #include "base/file_util.h" +#include "base/platform_thread.h" #include "chrome/test/automation/browser_proxy.h" #include "chrome/test/automation/tab_proxy.h" #include "chrome/test/ui/ui_test.h" @@ -33,7 +34,7 @@ TEST_F(CrashRecoveryUITest, Reload) { expected_crashes_ = 1; tab->NavigateToURLAsync(GURL("about:crash")); - Sleep(1000); // Wait for the browser to notice the renderer crash. + PlatformThread::Sleep(1000); // Wait for the browser to notice the renderer crash. tab->Reload(); @@ -66,7 +67,7 @@ TEST_F(CrashRecoveryUITest, LoadInNewTab) { expected_crashes_ = 1; tab->NavigateToURLAsync(GURL("about:crash")); - Sleep(1000); // Wait for the browser to notice the renderer crash. + PlatformThread::Sleep(1000); // Wait for the browser to notice the renderer crash. scoped_ptr<BrowserProxy> browser_proxy(automation()->GetBrowserWindow(0)); ASSERT_TRUE(browser_proxy->AppendTab(url)); |