1 write to _processArtifactFolder
Microsoft.TestPlatform.CrossPlatEngine (1)
PostProcessing\ArtifactProcessingManager.cs (1)
86_processArtifactFolder = Path.Combine(_artifactsDirectory, _testSessionCorrelationId);
15 references to _processArtifactFolder
Microsoft.TestPlatform.CrossPlatEngine (15)
PostProcessing\ArtifactProcessingManager.cs (15)
94_testSessionProcessArtifactFolder = Path.Combine(_processArtifactFolder, $"{pid}_{Guid.NewGuid()}"); 262TPDebug.Assert(_processArtifactFolder is not null, "_processArtifactFolder is null"); 266EqtTrace.Verbose($"ArtifactProcessingManager.CollectArtifacts: Saving data collectors artifacts for post process into {_processArtifactFolder}"); 269CreateDirectoryWithUserOnlyAccess(_processArtifactFolder); 311TPDebug.Assert(_processArtifactFolder is not null, "_processArtifactFolder is null"); 318if (!_fileHelper.DirectoryExists(_processArtifactFolder)) 322EqtTrace.Warning($"ArtifactProcessingManager.PostProcessArtifacts: There are no artifacts to postprocess in '{_processArtifactFolder}'"); 326EnsureDirectoryIsPrivateToCurrentUser(_processArtifactFolder, $"The test session directory '{_processArtifactFolder}'"); 339_fileHelper.DeleteDirectory(_processArtifactFolder, true); 340EqtTrace.Verbose($"ArtifactProcessingManager.PostProcessArtifacts: Directory '{_processArtifactFolder}' removed."); 344EqtTrace.Error($"ArtifactProcessingManager.PostProcessArtifacts: Unable to removed directory the '{_processArtifactFolder}'.\n{ex}"); 350EqtTrace.Warning($"ArtifactProcessingManager.PostProcessArtifacts: There are no artifacts to postprocess also if the artifact directory '{_processArtifactFolder}' exits"); 413TPDebug.Assert(_processArtifactFolder is not null, "_processArtifactFolder is null"); 414return _fileHelper.GetFiles(_processArtifactFolder, "*.*", SearchOption.AllDirectories)