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

Unified Diff: chrome/browser/chromeos/login/managed/managed_user_test_base.cc

Issue 286933005: Add logging to tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove old debug ouT Created 6 years, 7 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/browser/chromeos/login/managed/locally_managed_user_creation_screen.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/managed/managed_user_test_base.cc
diff --git a/chrome/browser/chromeos/login/managed/managed_user_test_base.cc b/chrome/browser/chromeos/login/managed/managed_user_test_base.cc
index c220cd87e38387acc155b522f5e75ab1f19b1ac2..1e45c9a80ac503ac48985d84750cac81182e9e8c 100644
--- a/chrome/browser/chromeos/login/managed/managed_user_test_base.cc
+++ b/chrome/browser/chromeos/login/managed/managed_user_test_base.cc
@@ -215,7 +215,7 @@ void ManagedUserTestBase::TearDownInProcessBrowserTestFixture() {
}
void ManagedUserTestBase::JSEval(const std::string& script) {
- EXPECT_TRUE(content::ExecuteScript(web_contents(), script));
+ EXPECT_TRUE(content::ExecuteScript(web_contents(), script)) << script;
}
void ManagedUserTestBase::JSExpectAsync(const std::string& function) {
@@ -225,7 +225,7 @@ void ManagedUserTestBase::JSExpectAsync(const std::string& function) {
StringPrintf(
"(%s)(function() { window.domAutomationController.send(true); });",
function.c_str()),
- &result));
+ &result)) << function;
EXPECT_TRUE(result);
}
« no previous file with comments | « chrome/browser/chromeos/login/managed/locally_managed_user_creation_screen.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698