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

Unified Diff: components/browser_watcher/exit_code_watcher_win_unittest.cc

Issue 811603003: Add a console control handler chrome_watcher.dll. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@base_process
Patch Set: Only wait for logoff on unexpected exit codes. Created 6 years 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: components/browser_watcher/exit_code_watcher_win_unittest.cc
diff --git a/components/browser_watcher/exit_code_watcher_win_unittest.cc b/components/browser_watcher/exit_code_watcher_win_unittest.cc
index bc6a5083235cc30aac7307fc43dd3b2b3c7e4349..b2267006908f608d8b9f1824ce3e7a50f7bbd7c8 100644
--- a/components/browser_watcher/exit_code_watcher_win_unittest.cc
+++ b/components/browser_watcher/exit_code_watcher_win_unittest.cc
@@ -220,6 +220,7 @@ TEST_F(BrowserWatcherTest, ExitCodeWatcherOnExitedProcess) {
ASSERT_NO_FATAL_FAILURE(sleeper.Kill(kExitCode, true));
watcher.WaitForExit();
+ EXPECT_EQ(kExitCode, watcher.exit_code());
VerifyWroteExitCode(sleeper.process().pid(), kExitCode);
}

Powered by Google App Engine
This is Rietveld 408576698