SpiecsEngine
 
Loading...
Searching...
No Matches

◆ TEST() [34/59]

SpicesTest::TEST ( ProcessLibraryTest ,
OpenCloseProcess  )

Testing Spices::ProcessLibrary::Open/CloseProcess.

Definition at line 17 of file ProcessLibrary_test.h.

17 {
18
20
21 EXPECT_EQ(Spices::ProcessLibrary::OpenProcess("../vendor/tracy/tracy-profiler.exe"), true);
22 EXPECT_EQ(Spices::ProcessLibrary::CloseProcess("tracy-profiler.exe"), true);
23 }
#define SPICESTEST_PROFILE_FUNCTION()
static bool CloseProcess(const char *processName)
Close a Process with command.
static bool OpenProcess(const char *processPath, const char *commandLine="")
Open a Process with command.

References Spices::ProcessLibrary::CloseProcess(), and Spices::ProcessLibrary::OpenProcess().