3 implementations of CreateEmptyFile
dotnet.Tests (1)
ConfigurerTests\GivenAFunctionReturnStringAndFakeFileSystem.cs (1)
120public void CreateEmptyFile(string path)
Microsoft.DotNet.InternalAbstractions (1)
FileWrapper.cs (1)
34public void CreateEmptyFile(string path)
Microsoft.NET.TestFramework (1)
Mock\FileSystemMockBuilder.cs (1)
408public void CreateEmptyFile(string path)
36 references to CreateEmptyFile
dotnet.Tests (8)
CommandFactoryTests\GivenALocalToolsCommandResolver.cs (4)
94_fileSystem.File.CreateEmptyFile(fakeExecutable.Value); 127_fileSystem.File.CreateEmptyFile(fakeExecutable.Value); 191_fileSystem.File.CreateEmptyFile(fakeExecutableA.Value); 192_fileSystem.File.CreateEmptyFile(fakeExecutableDotnetA.Value);
CommandTests\Tool\Install\ToolInstallGlobalOrToolPathCommandTests.cs (1)
289_fileSystem.File.CreateEmptyFile(ExpectedCommandPath()); // Create conflict shim
CommandTests\Tool\Restore\ToolRestoreCommandWithMultipleNugetConfigTests.cs (2)
68_fileSystem.File.CreateEmptyFile(_nugetConfigUnderTestRoot); 72_fileSystem.File.CreateEmptyFile(_nugetConfigUnderSubDir);
CommandTests\Tool\Run\ToolRunCommandTests.cs (1)
81fileSystem.File.CreateEmptyFile(fakeExecutable.Value);
Microsoft.DotNet.Cli.Utils.Tests (24)
MockFileSystemTests.cs (24)
19fileSystem.File.CreateEmptyFile(nestedFilePath); 33fileSystem.File.CreateEmptyFile(nestedFilePath); 47fileSystem.File.CreateEmptyFile(nestedFilePath); 61Action a = () => fileSystem.File.CreateEmptyFile(nestedFilePath); 75fileSystem.File.CreateEmptyFile("file"); 128fileSystem.File.CreateEmptyFile(path); 142Action a = () => fileSystem.File.CreateEmptyFile(nestedFilePath); 222fileSystem.File.CreateEmptyFile(sourceFile); 272fileSystem.File.CreateEmptyFile(sourceFile); 337fileSystem.File.CreateEmptyFile(sourceFile); 354fileSystem.File.CreateEmptyFile(sourceFile); 356fileSystem.File.CreateEmptyFile(destinationFile); 372fileSystem.File.CreateEmptyFile(file); 433fileSystem.File.CreateEmptyFile(wrongFilePath); 468fileSystem.File.CreateEmptyFile(file1); 469fileSystem.File.CreateEmptyFile(file2); 499fileSystem.File.CreateEmptyFile(wrongFilePath); 535fileSystem.File.CreateEmptyFile(file1); 536fileSystem.File.CreateEmptyFile(file2); 586fileSystem.File.CreateEmptyFile(actuallyAFilePath); 602fileSystem.File.CreateEmptyFile(testDirectoryFilePath); 621fileSystem.File.CreateEmptyFile(testDirectoryFilePath); 639fileSystem.File.CreateEmptyFile(testDirectoryFilePath); 694fileSystem.File.CreateEmptyFile(testDestinationDirectoryPath);
Microsoft.DotNet.Configurer (1)
IFileExtensions.cs (1)
25fileSystem.File.CreateEmptyFile(filePath);
Microsoft.DotNet.Tools.Tests.ComponentMocks (3)
ToolPackageDownloaderMock.cs (2)
145_fileSystem.File.CreateEmptyFile(Path.Combine(_toolDownloadDir.Value, fakeExecutablePath)); 174_fileSystem.File.CreateEmptyFile(executable.Value);
ToolPackageDownloaderMock2.cs (1)
140_fileSystem.File.CreateEmptyFile(fakeExecutablePath);