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

Side by Side Diff: syzygy/pe/unittest_util.h

Issue 2984303002: Split the testing class into two. (Closed)
Patch Set: Removed parametrization with Clang until the necessary fixes are done. Created 3 years, 4 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 2012 Google Inc. All Rights Reserved. 1 // Copyright 2012 Google Inc. 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 24 matching lines...) Expand all
35 // again in the test_data directory. 35 // again in the test_data directory.
36 extern const wchar_t kTestDllName[]; 36 extern const wchar_t kTestDllName[];
37 extern const wchar_t kTestDllPdbName[]; 37 extern const wchar_t kTestDllPdbName[];
38 extern const wchar_t kTestDllName64[]; 38 extern const wchar_t kTestDllName64[];
39 extern const wchar_t kTestDllPdbName64[]; 39 extern const wchar_t kTestDllPdbName64[];
40 40
41 // Name of the integrations tests DLLs and PDBs. 41 // Name of the integrations tests DLLs and PDBs.
42 extern const wchar_t kIntegrationTestsDllName[]; 42 extern const wchar_t kIntegrationTestsDllName[];
43 extern const wchar_t kIntegrationTestsDllPdbName[]; 43 extern const wchar_t kIntegrationTestsDllPdbName[];
44 44
45 // Name of the clang instrumented integrations tests DLL
Sébastien Marchand 2017/08/01 19:27:36 You don't need this yet.
njanevsk 2017/08/03 01:23:21 Is there a problem if it's left here? Cause it is
Sébastien Marchand 2017/08/03 18:12:59 You don't need this in this CL at all, here or in
46 extern const wchar_t kIntegrationTestsClangDllName[];
47
45 // Name of the DLL containing an empty exports directory. 48 // Name of the DLL containing an empty exports directory.
46 extern const wchar_t kNoExportsDllName[]; 49 extern const wchar_t kNoExportsDllName[];
47 extern const wchar_t kNoExportsDllPdbName[]; 50 extern const wchar_t kNoExportsDllPdbName[];
48 51
49 // Name of the test DLL object files and the PDB files where their type 52 // Name of the test DLL object files and the PDB files where their type
50 // information has been emitted, relative to the test_data directory. 53 // information has been emitted, relative to the test_data directory.
51 // The two object files are guaranteed to be in the specified format. 54 // The two object files are guaranteed to be in the specified format.
52 extern const wchar_t kTestDllCoffObjName[]; 55 extern const wchar_t kTestDllCoffObjName[];
53 extern const wchar_t kTestDllLtcgObjName[]; 56 extern const wchar_t kTestDllLtcgObjName[];
54 extern const wchar_t kTestDllCoffObjPdbName[]; 57 extern const wchar_t kTestDllCoffObjPdbName[];
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 testing::DummyTransformPolicy policy_; 156 testing::DummyTransformPolicy policy_;
154 pe::CoffFile image_file_; 157 pe::CoffFile image_file_;
155 block_graph::BlockGraph block_graph_; 158 block_graph::BlockGraph block_graph_;
156 pe::ImageLayout image_layout_; 159 pe::ImageLayout image_layout_;
157 block_graph::BlockGraph::Block* headers_block_; 160 block_graph::BlockGraph::Block* headers_block_;
158 }; 161 };
159 162
160 } // namespace testing 163 } // namespace testing
161 164
162 #endif // SYZYGY_PE_UNITTEST_UTIL_H_ 165 #endif // SYZYGY_PE_UNITTEST_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698