1 implementation of DirectoryExists
Microsoft.TestPlatform.CoreUtilities (1)
Helpers\FileHelper.cs (1)
34public bool DirectoryExists(string? path)
33 references to DirectoryExists
datacollector (1)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (1)
74else if (!_fileHelper.DirectoryExists(procdumpDirectory))
datacollector.arm64 (1)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (1)
74else if (!_fileHelper.DirectoryExists(procdumpDirectory))
Microsoft.TestPlatform.CommunicationUtilities (1)
DataCollectionRequestHandler.cs (1)
272if (!_fileHelper.DirectoryExists(adapterPath))
Microsoft.TestPlatform.CoreUtilities (3)
Helpers\DotnetHostHelper.cs (3)
174if ((envVar == null || !_fileHelper.DirectoryExists(envVar)) && 182if (envVar == null || !_fileHelper.DirectoryExists(envVar)) 192if (!_fileHelper.DirectoryExists(envVar))
Microsoft.TestPlatform.CrossPlatEngine (1)
PostProcessing\ArtifactProcessingManager.cs (1)
141if (!_fileHelper.DirectoryExists(_processArtifactFolder))
Microsoft.TestPlatform.Extensions.BlameDataCollector (6)
BlameCollector.cs (2)
339if (!_fileHelper.DirectoryExists(_monitorPostmortemDumpFolderPath)) 565if (!_fileHelper.DirectoryExists(_monitorPostmortemDumpFolderPath))
NetClientCrashDumper.cs (1)
36return _fileHelper.DirectoryExists(_outputDirectory)
ProcDumpDumper.cs (1)
242var allDumps = _fileHelper.DirectoryExists(_outputDirectory)
ProcessDumpUtility.cs (1)
61IEnumerable<string> hangDumps = _fileHelper.DirectoryExists(_hangDumpDirectory)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (1)
74else if (!_fileHelper.DirectoryExists(procdumpDirectory))
Microsoft.TestPlatform.TestHostRuntimeProvider (1)
Hosting\DotnetTestHostManager.cs (1)
747if (!sourceDirectory.IsNullOrEmpty() && _fileHelper.DirectoryExists(sourceDirectory))
Microsoft.TestPlatform.VsTestConsole.TranslationLayer (1)
ConsoleParameters.cs (1)
76if (!directoryPath.IsNullOrEmpty() && !_fileHelper.DirectoryExists(directoryPath))
Microsoft.VisualStudio.TestPlatform.Client (3)
TestPlatform.cs (3)
249if (!string.IsNullOrEmpty(sourceDirectory) && _fileHelper.DirectoryExists(sourceDirectory)) 365else if (fileHelper.DirectoryExists(path)) 388if (!fileHelper.DirectoryExists(path))
testhost (1)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (1)
74else if (!_fileHelper.DirectoryExists(procdumpDirectory))
testhost.arm64 (1)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (1)
74else if (!_fileHelper.DirectoryExists(procdumpDirectory))
testhost.x86 (1)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (1)
74else if (!_fileHelper.DirectoryExists(procdumpDirectory))
vstest.console (6)
Processors\AeDebuggerArgumentProcessor.cs (2)
224if (!_fileHelper.DirectoryExists(directoryInfo.FullName)) 249if (!_fileHelper.DirectoryExists(directoryInfo.FullName))
Processors\EnableDiagArgumentProcessor.cs (1)
239if (!StringUtils.IsNullOrEmpty(directory) && !_fileHelper.DirectoryExists(directory))
Processors\TestAdapterLoadingStrategyArgumentProcessor.cs (1)
211if (strategy == TestAdapterLoadingStrategy.Default && !_fileHelper.DirectoryExists(testAdapterPath))
Publisher\TextFileTelemetryPublisher.cs (1)
65if (!fileHelper.DirectoryExists(resultDirectory))
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (1)
74else if (!_fileHelper.DirectoryExists(procdumpDirectory))
vstest.console.arm64 (6)
src\vstest\src\Microsoft.TestPlatform.Execution.Shared\ProcDumpExecutableHelper.cs (1)
74else if (!_fileHelper.DirectoryExists(procdumpDirectory))
src\vstest\src\vstest.console\Processors\AeDebuggerArgumentProcessor.cs (2)
224if (!_fileHelper.DirectoryExists(directoryInfo.FullName)) 249if (!_fileHelper.DirectoryExists(directoryInfo.FullName))
src\vstest\src\vstest.console\Processors\EnableDiagArgumentProcessor.cs (1)
239if (!StringUtils.IsNullOrEmpty(directory) && !_fileHelper.DirectoryExists(directory))
src\vstest\src\vstest.console\Processors\TestAdapterLoadingStrategyArgumentProcessor.cs (1)
211if (strategy == TestAdapterLoadingStrategy.Default && !_fileHelper.DirectoryExists(testAdapterPath))
src\vstest\src\vstest.console\Publisher\TextFileTelemetryPublisher.cs (1)
65if (!fileHelper.DirectoryExists(resultDirectory))