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

Side by Side Diff: client/simulate_crash_mac_test.cc

Issue 1051533002: test: Move util/test to its own top-level directory, test (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Rebase Created 5 years, 8 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
OLDNEW
1 // Copyright 2014 The Crashpad Authors. All rights reserved. 1 // Copyright 2014 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,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and 12 // See the License for the specific language governing permissions and
13 // limitations under the License. 13 // limitations under the License.
14 14
15 #include "client/simulate_crash.h" 15 #include "client/simulate_crash.h"
16 16
17 #include <mach/mach.h> 17 #include <mach/mach.h>
18 #include <string.h> 18 #include <string.h>
19 19
20 #include "base/basictypes.h" 20 #include "base/basictypes.h"
21 #include "base/strings/stringprintf.h" 21 #include "base/strings/stringprintf.h"
22 #include "build/build_config.h" 22 #include "build/build_config.h"
23 #include "gtest/gtest.h" 23 #include "gtest/gtest.h"
24 #include "test/mac/mach_errors.h"
25 #include "test/mac/mach_multiprocess.h"
24 #include "util/mach/exc_server_variants.h" 26 #include "util/mach/exc_server_variants.h"
25 #include "util/mach/exception_behaviors.h" 27 #include "util/mach/exception_behaviors.h"
26 #include "util/mach/exception_ports.h" 28 #include "util/mach/exception_ports.h"
27 #include "util/mach/mach_extensions.h" 29 #include "util/mach/mach_extensions.h"
28 #include "util/mach/mach_message.h" 30 #include "util/mach/mach_message.h"
29 #include "util/mach/mach_message_server.h" 31 #include "util/mach/mach_message_server.h"
30 #include "util/mach/symbolic_constants_mach.h" 32 #include "util/mach/symbolic_constants_mach.h"
31 #include "util/test/mac/mach_errors.h"
32 #include "util/test/mac/mach_multiprocess.h"
33 33
34 namespace crashpad { 34 namespace crashpad {
35 namespace test { 35 namespace test {
36 namespace { 36 namespace {
37 37
38 class TestSimulateCrashMac final : public MachMultiprocess, 38 class TestSimulateCrashMac final : public MachMultiprocess,
39 public UniversalMachExcServer::Interface { 39 public UniversalMachExcServer::Interface {
40 public: 40 public:
41 // Defines which targets the child should set an EXC_CRASH exception handler 41 // Defines which targets the child should set an EXC_CRASH exception handler
42 // for. 42 // for.
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 test_simulate_crash_mac.Run(); 374 test_simulate_crash_mac.Run();
375 } 375 }
376 } 376 }
377 } 377 }
378 } 378 }
379 } 379 }
380 380
381 } // namespace 381 } // namespace
382 } // namespace test 382 } // namespace test
383 } // namespace crashpad 383 } // namespace crashpad
OLDNEW
« no previous file with comments | « client/simple_string_dictionary_test.cc ('k') | crashpad.gyp » ('j') | util/util_test.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698