Commit d7373c0a authored by antrim@chromium.org's avatar antrim@chromium.org

Add logging to tests

BUG=370497
TBR=nkostylev@chromium.org

Review URL: https://codereview.chromium.org/286933005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271686 0039d316-1c4b-4281-b951-d872f2087c98
parent 0added55
......@@ -335,7 +335,6 @@ void LocallyManagedUserCreationScreen::OnManagerLoginFailure() {
void LocallyManagedUserCreationScreen::OnManagerFullyAuthenticated(
Profile* manager_profile) {
LOG(ERROR) << "-----------------------------OnManagerFullyAuthenticated";
DCHECK(controller_.get());
// For manager user, move desktop to locked container so that windows created
// during the user image picker step are below it.
......
......@@ -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);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment