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

Unified Diff: snapshot/win/process_reader_win_test.cc

Issue 1164453003: Refactor multiprocess test code to allow multiple child processes to be launched. (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@multiprocess_test
Patch Set: Add coverage. Created 5 years, 6 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: snapshot/win/process_reader_win_test.cc
diff --git a/snapshot/win/process_reader_win_test.cc b/snapshot/win/process_reader_win_test.cc
index d4890b8a0f33369c6983992597ff18c845dd6ee5..6cd06e5bdb8c3cf3fcec79c86c6d68e62bff8af5 100644
--- a/snapshot/win/process_reader_win_test.cc
+++ b/snapshot/win/process_reader_win_test.cc
@@ -85,8 +85,7 @@ class ProcessReaderChild final : public WinMultiprocess {
};
TEST(ProcessReaderWin, ChildBasic) {
- ProcessReaderChild process_reader_child;
- process_reader_child.Run();
+ WinMultiprocess::Run<ProcessReaderChild>();
}
TEST(ProcessReaderWin, SelfOneThread) {

Powered by Google App Engine
This is Rietveld 408576698