| 185 | } |
| 186 | |
| 187 | bool FuzzApp::CopyFile(const StringImpl& srcPath, const StringImpl& destPath) |
| 188 | { |
| 189 | BfpFileResult result = BfpFileResult_Ok; |
| 190 | for (int i = 0; i < 20; i++) |
| 191 | { |
| 192 | BfpFile_Copy(srcPath.c_str(), destPath.c_str(), BfpFileCopyKind_Always, &result); |
| 193 | if (result == BfpFileResult_Ok) |
| 194 | return true; |
| 195 | BfpThread_Sleep(100); |
| 196 | } |
| 197 | return false; |
| 198 | } |
| 199 | |
| 200 | void FuzzApp::PrepareCompiler() |
| 201 | { |
nothing calls this directly
no test coverage detected