| OLD | NEW |
| 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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 const wchar_t testing::kTestDllPdbName[] = L"test_dll.dll.pdb"; | 153 const wchar_t testing::kTestDllPdbName[] = L"test_dll.dll.pdb"; |
| 154 | 154 |
| 155 const wchar_t testing::kTestDllName64[] = L"test_dll_x64.dll"; | 155 const wchar_t testing::kTestDllName64[] = L"test_dll_x64.dll"; |
| 156 const wchar_t testing::kTestDllPdbName64[] = L"test_dll_x64.dll.pdb"; | 156 const wchar_t testing::kTestDllPdbName64[] = L"test_dll_x64.dll.pdb"; |
| 157 | 157 |
| 158 const wchar_t testing::kIntegrationTestsDllName[] = | 158 const wchar_t testing::kIntegrationTestsDllName[] = |
| 159 L"integration_tests_dll.dll"; | 159 L"integration_tests_dll.dll"; |
| 160 const wchar_t testing::kIntegrationTestsDllPdbName[] = | 160 const wchar_t testing::kIntegrationTestsDllPdbName[] = |
| 161 L"integration_tests_dll.dll.pdb"; | 161 L"integration_tests_dll.dll.pdb"; |
| 162 | 162 |
| 163 const wchar_t testing::kIntegrationTestsClangDllName[] = |
| 164 L"integration_tests_clang_dll.dll"; |
| 165 |
| 163 const wchar_t kNoExportsDllName[] = L"no_exports_dll.dll"; | 166 const wchar_t kNoExportsDllName[] = L"no_exports_dll.dll"; |
| 164 const wchar_t kNoExportsDllPdbName[] = L"no_exports_dll.dll.pdb"; | 167 const wchar_t kNoExportsDllPdbName[] = L"no_exports_dll.dll.pdb"; |
| 165 | 168 |
| 166 const wchar_t testing::kTestDllCoffObjName[] = L"test_dll.coff_obj"; | 169 const wchar_t testing::kTestDllCoffObjName[] = L"test_dll.coff_obj"; |
| 167 const wchar_t testing::kTestDllLtcgObjName[] = L"test_dll.ltcg_obj"; | 170 const wchar_t testing::kTestDllLtcgObjName[] = L"test_dll.ltcg_obj"; |
| 168 const wchar_t testing::kTestDllCoffObjPdbName[] = L"test_dll.coff_obj.pdb"; | 171 const wchar_t testing::kTestDllCoffObjPdbName[] = L"test_dll.coff_obj.pdb"; |
| 169 const wchar_t testing::kTestDllLtcgObjPdbName[] = L"test_dll.ltcg_obj.pdb"; | 172 const wchar_t testing::kTestDllLtcgObjPdbName[] = L"test_dll.ltcg_obj.pdb"; |
| 170 | 173 |
| 171 const wchar_t testing::kCodeView2Name[] = | 174 const wchar_t testing::kCodeView2Name[] = |
| 172 L"syzygy\\pe\\test_data\\codeview2.obj"; | 175 L"syzygy\\pe\\test_data\\codeview2.obj"; |
| (...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 394 | 397 |
| 395 void CoffUnitTest::TestRoundTrip() { | 398 void CoffUnitTest::TestRoundTrip() { |
| 396 // Rewrite file and parse new symbol table. | 399 // Rewrite file and parse new symbol table. |
| 397 block_graph::orderers::OriginalOrderer orig_orderer; | 400 block_graph::orderers::OriginalOrderer orig_orderer; |
| 398 ASSERT_NO_FATAL_FAILURE(LayoutAndWriteNew(&orig_orderer)); | 401 ASSERT_NO_FATAL_FAILURE(LayoutAndWriteNew(&orig_orderer)); |
| 399 pe::CoffFile image_file; | 402 pe::CoffFile image_file; |
| 400 ASSERT_TRUE(image_file.Init(new_test_dll_obj_path_)); | 403 ASSERT_TRUE(image_file.Init(new_test_dll_obj_path_)); |
| 401 } | 404 } |
| 402 | 405 |
| 403 } // namespace testing | 406 } // namespace testing |
| OLD | NEW |