1 write to _fileSystem
Microsoft.DotNet.Helix.Sdk.Tests (1)
CreateXHarnessAppleWorkItemsTests.cs (1)
27
_fileSystem
= new MockFileSystem();
14 references to _fileSystem
Microsoft.DotNet.Helix.Sdk.Tests (14)
CreateXHarnessAppleWorkItemsTests.cs (14)
35
_fileSystem
.Files.Add(zipPath, "zip of " + folder);
86
_fileSystem
.FileExists(payloadArchive).Should().BeTrue();
117
_fileSystem
.Files.Add("apps/xharness-payload-system.foo.zip", "archive");
134
_fileSystem
.FileExists(payloadArchive).Should().BeTrue();
135
_fileSystem
.RemovedFiles.Should().Contain(payloadArchive);
163
_fileSystem
.FileExists(payloadArchive).Should().BeTrue();
186
_fileSystem
.RemovedFiles.Should().BeEmpty();
193
_fileSystem
.FileExists(payloadArchive).Should().BeTrue();
204
_fileSystem
.FileExists(payloadArchive).Should().BeTrue();
221
_fileSystem
.Files.Add("/apps/System.Foo.zip", "zipped payload");
222
_fileSystem
.Directories.Remove("/apps/System.Foo.zip");
237
_fileSystem
.FileExists(payloadArchive).Should().BeTrue();
321
_fileSystem
.CreateDirectory(appBundlePath ?? itemSpec);
329
collection.AddSingleton<IFileSystem>(
_fileSystem
);