public TestingEngineCoordinator(uint parallelBugFindingTasks, Configuration configIgnoringParallelBugFindingTasks) { m_configIgnoringParallelBugFindingTasks = configIgnoringParallelBugFindingTasks; m_handles = TestingHandle.NewHandles(parallelBugFindingTasks); var tempDir = Path.Combine(Path.GetTempPath(), Guid.NewGuid().ToString()) + @"\"; TempDirectory = tempDir; }
public static TestingHandle[] NewHandles(uint numOfHandles) { var handles = new TestingHandle[numOfHandles]; for (var testingProcessId = 0; testingProcessId < handles.Length; testingProcessId++) { handles[testingProcessId] = new TestingHandle(); } return(handles); }