OLD | NEW |
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 13 matching lines...) Expand all Loading... |
24 #include <mach-o/nlist.h> | 24 #include <mach-o/nlist.h> |
25 #include <stdint.h> | 25 #include <stdint.h> |
26 | 26 |
27 #include "base/strings/stringprintf.h" | 27 #include "base/strings/stringprintf.h" |
28 #include "build/build_config.h" | 28 #include "build/build_config.h" |
29 #include "client/crashpad_info.h" | 29 #include "client/crashpad_info.h" |
30 #include "gtest/gtest.h" | 30 #include "gtest/gtest.h" |
31 #include "snapshot/mac/mach_o_image_segment_reader.h" | 31 #include "snapshot/mac/mach_o_image_segment_reader.h" |
32 #include "snapshot/mac/process_reader.h" | 32 #include "snapshot/mac/process_reader.h" |
33 #include "snapshot/mac/process_types.h" | 33 #include "snapshot/mac/process_types.h" |
| 34 #include "test/mac/dyld.h" |
34 #include "util/misc/uuid.h" | 35 #include "util/misc/uuid.h" |
35 #include "util/test/mac/dyld.h" | |
36 | 36 |
37 // This file is responsible for testing MachOImageReader, | 37 // This file is responsible for testing MachOImageReader, |
38 // MachOImageSegmentReader, and MachOImageSymbolTableReader. | 38 // MachOImageSegmentReader, and MachOImageSymbolTableReader. |
39 | 39 |
40 namespace crashpad { | 40 namespace crashpad { |
41 namespace test { | 41 namespace test { |
42 namespace { | 42 namespace { |
43 | 43 |
44 // Native types and constants, in cases where the 32-bit and 64-bit versions | 44 // Native types and constants, in cases where the 32-bit and 64-bit versions |
45 // are different. | 45 // are different. |
(...skipping 589 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
635 image_reader.UUID(&actual_uuid); | 635 image_reader.UUID(&actual_uuid); |
636 EXPECT_EQ(expected_uuid, actual_uuid); | 636 EXPECT_EQ(expected_uuid, actual_uuid); |
637 } | 637 } |
638 } | 638 } |
639 #endif | 639 #endif |
640 } | 640 } |
641 | 641 |
642 } // namespace | 642 } // namespace |
643 } // namespace test | 643 } // namespace test |
644 } // namespace crashpad | 644 } // namespace crashpad |
OLD | NEW |