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

Unified Diff: chrome/test/base/in_process_browser_test.cc

Issue 290453006: Quick & dirty example of a WebUIBrowserTest using LoginManagerTestHelper. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: broken test 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
Index: chrome/test/base/in_process_browser_test.cc
diff --git a/chrome/test/base/in_process_browser_test.cc b/chrome/test/base/in_process_browser_test.cc
index 82c0706dda5ab9cfdcbf5fe43d4da28166e836fc..6ecb435cc644f63c9cefe6393d7f7c3add8d964a 100644
--- a/chrome/test/base/in_process_browser_test.cc
+++ b/chrome/test/base/in_process_browser_test.cc
@@ -418,16 +418,20 @@ void InProcessBrowserTest::RunTestOnMainThreadLoop() {
content::RunAllPendingInMessageLoop();
SetUpOnMainThread();
+ LOG(ERROR) << "InProcessBrowserTest has set up on main thread.";
#if defined(OS_MACOSX)
autorelease_pool_->Recycle();
#endif
- if (!HasFatalFailure())
+ if (!HasFatalFailure()) {
+ LOG(ERROR) << "InProcessBrowserTest is running test on main thread.";
RunTestOnMainThread();
+ }
#if defined(OS_MACOSX)
autorelease_pool_->Recycle();
#endif
+ LOG(ERROR) << "InProcessBrowserTest is invoking cleanup..";
// Invoke cleanup and quit even if there are failures. This is similar to
// gtest in that it invokes TearDown even if Setup fails.
CleanUpOnMainThread();

Powered by Google App Engine
This is Rietveld 408576698