From e2961032fd1896899f688cdcdf41f23ed71e3e82 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 29 May 2021 01:11:44 +0300 Subject: namespace pdb -> namespace winapi --- test/unit_tests/fixtures.hpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'test/unit_tests/fixtures.hpp') diff --git a/test/unit_tests/fixtures.hpp b/test/unit_tests/fixtures.hpp index 3da2b3b..f9f9872 100644 --- a/test/unit_tests/fixtures.hpp +++ b/test/unit_tests/fixtures.hpp @@ -30,11 +30,11 @@ Set join(Set&& xs, Set&& ys) { class DbgHelp { public: - DbgHelp(pdb::DbgHelp&& dbghelp) : dbghelp{std::move(dbghelp)} {} + DbgHelp(winapi::DbgHelp&& dbghelp) : dbghelp{std::move(dbghelp)} {} ~DbgHelp() { BOOST_TEST_MESSAGE("Cleaning up DbgHelp"); } - const pdb::DbgHelp dbghelp; + const winapi::DbgHelp dbghelp; static const std::string& get_module_name() { static const std::string name{"test_lib"}; @@ -47,7 +47,7 @@ public: } typedef Set SymbolList; - typedef Set AddressList; + typedef Set AddressList; static AddressList expected_function_addresses() { return cast({reinterpret_cast(&test_ns::foo), @@ -66,12 +66,12 @@ public: } protected: - static pdb::DbgHelp init_dbghelp(bool current_process) { + static winapi::DbgHelp init_dbghelp(bool current_process) { BOOST_TEST_MESSAGE("Initializing DbgHelp"); if (current_process) { - return pdb::DbgHelp::current_process(); + return winapi::DbgHelp::current_process(); } else { - return pdb::DbgHelp::post_mortem(); + return winapi::DbgHelp::post_mortem(); } } @@ -79,7 +79,7 @@ private: static AddressList cast(Set&& fs) { AddressList addresses; for (auto&& f : fs) { - addresses.emplace(reinterpret_cast(f)); + addresses.emplace(reinterpret_cast(f)); } return addresses; } -- cgit v1.3