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

Side by Side Diff: test/win/win_multiprocess_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: Tweaks. 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 unified diff | Download patch
« test/win/win_multiprocess.h ('K') | « test/win/win_multiprocess.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Crashpad Authors. All rights reserved. 1 // Copyright 2015 The Crashpad Authors. All rights reserved.
2 // 2 //
3 // Licensed under the Apache License, Version 2.0 (the "License"); 3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License. 4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at 5 // You may obtain a copy of the License at
6 // 6 //
7 // http://www.apache.org/licenses/LICENSE-2.0 7 // http://www.apache.org/licenses/LICENSE-2.0
8 // 8 //
9 // Unless required by applicable law or agreed to in writing, software 9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS, 10 // distributed under the License is distributed on an "AS IS" BASIS,
(...skipping 19 matching lines...) Expand all
30 private: 30 private:
31 // WinMultiprocess will have already exercised the pipes. 31 // WinMultiprocess will have already exercised the pipes.
32 void WinMultiprocessParent() override {} 32 void WinMultiprocessParent() override {}
33 33
34 void WinMultiprocessChild() override {} 34 void WinMultiprocessChild() override {}
35 35
36 DISALLOW_COPY_AND_ASSIGN(TestWinMultiprocess); 36 DISALLOW_COPY_AND_ASSIGN(TestWinMultiprocess);
37 }; 37 };
38 38
39 TEST(WinMultiprocess, WinMultiprocess) { 39 TEST(WinMultiprocess, WinMultiprocess) {
40 TestWinMultiprocess win_multiprocess; 40 WinMultiprocess::Run<TestWinMultiprocess>();
41 win_multiprocess.Run();
42 } 41 }
scottmg 2015/06/01 21:53:22 A few tests aren't here, just in need a rebase?
erikwright (departed) 2015/06/24 20:01:35 Done.
43 42
44 } // namespace 43 } // namespace
45 } // namespace test 44 } // namespace test
46 } // namespace crashpad 45 } // namespace crashpad
OLDNEW
« test/win/win_multiprocess.h ('K') | « test/win/win_multiprocess.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698