summaryrefslogtreecommitdiffstats
path: root/chrome/browser/errorpage_uitest.cc
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-10 17:50:01 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-10 17:50:01 +0000
commitdea35348b80dbd3374f7af9e97511d7d00376b29 (patch)
tree83a69961a278be614170aa98502e2277011926cb /chrome/browser/errorpage_uitest.cc
parentb2e24bd41af597277e3255d7aa70ea2efb4906cb (diff)
downloadchromium_src-dea35348b80dbd3374f7af9e97511d7d00376b29.zip
chromium_src-dea35348b80dbd3374f7af9e97511d7d00376b29.tar.gz
chromium_src-dea35348b80dbd3374f7af9e97511d7d00376b29.tar.bz2
Get more info in the logs when ErrorPageTest fails.
TEST=none BUG=19361 Review URL: http://codereview.chromium.org/199076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25875 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/errorpage_uitest.cc')
-rw-r--r--chrome/browser/errorpage_uitest.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/errorpage_uitest.cc b/chrome/browser/errorpage_uitest.cc
index 409cca0..668bc1d 100644
--- a/chrome/browser/errorpage_uitest.cc
+++ b/chrome/browser/errorpage_uitest.cc
@@ -17,6 +17,7 @@ class ErrorPageTest : public UITest {
return true;
PlatformThread::Sleep(sleep_timeout_ms() / 10);
}
+ EXPECT_EQ(title, GetActiveTabTitle());
return false;
}
bool WaitForTitleContaining(const std::string& title_substring) {
@@ -26,6 +27,8 @@ class ErrorPageTest : public UITest {
return true;
PlatformThread::Sleep(sleep_timeout_ms() / 10);
}
+ LOG(ERROR) << "Could not find " << title_substring << " in "
+ << GetActiveTabTitle();
return false;
}
};