From 01e95de886413c252ee1a419ed0a7c41435847e6 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 18 Oct 2020 03:20:06 +0300 Subject: Process: add get_exe_path() --- test/unit_tests/process.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test') diff --git a/test/unit_tests/process.cpp b/test/unit_tests/process.cpp index 1c87b27..0a6cb27 100644 --- a/test/unit_tests/process.cpp +++ b/test/unit_tests/process.cpp @@ -21,6 +21,11 @@ using namespace winapi::process; BOOST_AUTO_TEST_SUITE(process_tests) +BOOST_AUTO_TEST_CASE(get_exe_path) { + const auto path = Process::get_exe_path(); + BOOST_TEST_MESSAGE("Executable path: " << path); +} + BOOST_FIXTURE_TEST_CASE(echo, WithEchoExe) { const CommandLine cmd_line{get_echo_exe(), {"1", "2", "3"}}; const auto process = Process::create(cmd_line); -- cgit v1.2.3