diff options
Diffstat (limited to 'chrome/test/ui/ui_test.h')
-rw-r--r-- | chrome/test/ui/ui_test.h | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/chrome/test/ui/ui_test.h b/chrome/test/ui/ui_test.h index 7baeb60..7f6c906 100644 --- a/chrome/test/ui/ui_test.h +++ b/chrome/test/ui/ui_test.h @@ -45,21 +45,10 @@ class TabProxy; class UITest : public testing::Test { protected: - // Delay to let browser complete a requested action. - static const int kWaitForActionMsec; - static const int kWaitForActionMaxMsec; - // Delay to let the browser complete the test. - static const int kMaxTestExecutionTime; - // String to display when a test fails because the crash service isn't // running. static const wchar_t kFailedNoCrashService[]; - // Tries to delete the specified file/directory returning true on success. - // This differs from file_util::Delete in that it repeatedly invokes Delete - // until successful, or a timeout is reached. Returns true on success. - static bool DieFileDie(const std::wstring& file, bool recurse); - // Constructor UITest(); @@ -75,6 +64,11 @@ class UITest : public testing::Test { // ********* Utility functions ********* + // Tries to delete the specified file/directory returning true on success. + // This differs from file_util::Delete in that it repeatedly invokes Delete + // until successful, or a timeout is reached. Returns true on success. + bool DieFileDie(const std::wstring& file, bool recurse); + // Launches the browser and IPC testing server. void LaunchBrowserAndServer(); |