MCPcopy Create free account
hub / github.com/HO-COOH/FastCopy / Run

Method Run

SpeedTest/XCopyTest.cpp:6–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4
5std::wstring const XCopyTest::Application = Env::GetFolderPath(Env::SpecialFolder::System32) + LR"(\xcopy.exe)";
6bool XCopyTest::Run(std::vector<TestOperation> const& paths)
7{
8 std::vector<Process<wchar_t>> processes;
9 for (auto const& item : paths)
10 {
11 processes.push_back(Process<wchar_t>{
12 XCopyTest::Application,
13 std::format(LR"("{}" "{}" /Y /E /C /I /H)", item.source, item.destination)
14 });
15 }
16 WaitForAllProcesses<wchar_t>(processes);
17 return true;
18}
19
20std::string XCopyTest::GetName() const
21{

Callers 1

RunAllTestMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected