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

Unified Diff: chrome/test/ui/ui_test.cc

Issue 62117: linux: pass a bunch more ui tests. (Closed)
Patch Set: more tests Created 11 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/ui/ui_test.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/ui/ui_test.cc
diff --git a/chrome/test/ui/ui_test.cc b/chrome/test/ui/ui_test.cc
index 804bf04783c9f9f31e05ba6294d15cca69848a80..d27317569e233c32e8892d5e675bda2ceb2a6fa7 100644
--- a/chrome/test/ui/ui_test.cc
+++ b/chrome/test/ui/ui_test.cc
@@ -82,8 +82,7 @@ const wchar_t kEnableErrorDialogs[] = L"enable-errdialogs";
// attach.
// #define WAIT_FOR_DEBUGGER_ON_OPEN 1
-// static
-bool UITest::DieFileDie(const std::wstring& file, bool recurse) {
+bool UITest::DieFileDie(const FilePath& file, bool recurse) {
if (!file_util::PathExists(file))
return true;
@@ -95,6 +94,9 @@ bool UITest::DieFileDie(const std::wstring& file, bool recurse) {
}
return false;
}
+bool UITest::DieFileDie(const std::wstring& file, bool recurse) {
+ return DieFileDie(FilePath::FromWStringHack(file), recurse);
+}
UITest::UITest()
: testing::Test(),
« no previous file with comments | « chrome/test/ui/ui_test.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698