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

Function main

SpeedTest/main.cpp:76–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74#include <ShlObj_core.h>
75
76int main(int argc, char** argv)
77{
78 if (argc == 1)
79 {
80 //ExplorerGuard guard;
81#ifdef _DEBUG
82 //manually add debugging test implementation here...
83 //In release build, all tests registered with AutoRegister<Self> runs
84
85 //TestFactory::Register(std::make_unique<COMApiTest>());
86 TestFactory::Register(std::make_unique<COMApiTest>());
87 TestFactory::Register(std::make_unique<FilesystemApiTest>());
88 TestFactory::Register(std::make_unique<RobocopyTest>());
89#endif
90 TestFactory{}
91 //<< Random4KFiles{}
92 //<< BigFile{};
93 << MoveFileSamePartition{};
94 TestFactory::RunAllTest();
95 TestFactory::PrintResult();
96 //TestFactory::Clear();
97 }
98 else
99 {
100 RunCommandLineConfig(absl::ParseCommandLine(argc, argv));
101 }
102}

Callers

nothing calls this directly

Calls 1

RunCommandLineConfigFunction · 0.85

Tested by

no test coverage detected