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

Side by Side Diff: snapshot/mac/mach_o_image_annotations_reader_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,
(...skipping 12 matching lines...) Expand all
23 23
24 #include <map> 24 #include <map>
25 #include <string> 25 #include <string>
26 #include <vector> 26 #include <vector>
27 27
28 #include "base/basictypes.h" 28 #include "base/basictypes.h"
29 #include "client/crashpad_info.h" 29 #include "client/crashpad_info.h"
30 #include "client/simple_string_dictionary.h" 30 #include "client/simple_string_dictionary.h"
31 #include "gtest/gtest.h" 31 #include "gtest/gtest.h"
32 #include "snapshot/mac/process_reader.h" 32 #include "snapshot/mac/process_reader.h"
33 #include "test/errors.h"
34 #include "test/mac/mach_errors.h"
35 #include "test/mac/mach_multiprocess.h"
33 #include "util/file/file_io.h" 36 #include "util/file/file_io.h"
34 #include "util/mac/mac_util.h" 37 #include "util/mac/mac_util.h"
35 #include "util/mach/exc_server_variants.h" 38 #include "util/mach/exc_server_variants.h"
36 #include "util/mach/exception_ports.h" 39 #include "util/mach/exception_ports.h"
37 #include "util/mach/mach_message.h" 40 #include "util/mach/mach_message.h"
38 #include "util/mach/mach_message_server.h" 41 #include "util/mach/mach_message_server.h"
39 #include "util/test/errors.h"
40 #include "util/test/mac/mach_errors.h"
41 #include "util/test/mac/mach_multiprocess.h"
42 42
43 namespace crashpad { 43 namespace crashpad {
44 namespace test { 44 namespace test {
45 namespace { 45 namespace {
46 46
47 class TestMachOImageAnnotationsReader final 47 class TestMachOImageAnnotationsReader final
48 : public MachMultiprocess, 48 : public MachMultiprocess,
49 public UniversalMachExcServer::Interface { 49 public UniversalMachExcServer::Interface {
50 public: 50 public:
51 enum TestType { 51 enum TestType {
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 334
335 TEST(MachOImageAnnotationsReader, CrashDyld) { 335 TEST(MachOImageAnnotationsReader, CrashDyld) {
336 TestMachOImageAnnotationsReader test_mach_o_image_annotations_reader( 336 TestMachOImageAnnotationsReader test_mach_o_image_annotations_reader(
337 TestMachOImageAnnotationsReader::kCrashDyld); 337 TestMachOImageAnnotationsReader::kCrashDyld);
338 test_mach_o_image_annotations_reader.Run(); 338 test_mach_o_image_annotations_reader.Run();
339 } 339 }
340 340
341 } // namespace 341 } // namespace
342 } // namespace test 342 } // namespace test
343 } // namespace crashpad 343 } // namespace crashpad
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698