10 references to HaveFilesMatching
dotnet.Tests (2)
CommandFactoryTests\GivenAProjectToolsCommandResolver.cs (1)
258
.Should().
HaveFilesMatching
("*.deps.json", SearchOption.TopDirectoryOnly);
CommandTests\Pack\PackTests.cs (1)
260
.Should().
HaveFilesMatching
("*.nupkg", SearchOption.AllDirectories);
EndToEnd.Tests (8)
GivenDotNetUsesMSBuild.cs (1)
35
binDirectory.Should().
HaveFilesMatching
("*.dll", SearchOption.AllDirectories);
GivenUsingDefaultRuntimeFrameworkVersions.cs (1)
58
binDirectory.Should().
HaveFilesMatching
(outputFile, SearchOption.TopDirectoryOnly);
ProjectBuildTests.cs (6)
45
binDirectory.Should().
HaveFilesMatching
("*.dll", SearchOption.AllDirectories);
118
selfContainedPublishDir.Should().
HaveFilesMatching
("System.Windows.Forms.dll", SearchOption.TopDirectoryOnly);
120
selfContainedPublishDir.Should().
HaveFilesMatching
($"{new DirectoryInfo(directory.Path).Name}.dll", SearchOption.TopDirectoryOnly);
156
selfContainedPublishDir.Should().
HaveFilesMatching
("PresentationCore.dll", SearchOption.TopDirectoryOnly);
157
selfContainedPublishDir.Should().
HaveFilesMatching
("PresentationNative_*.dll", SearchOption.TopDirectoryOnly);
159
selfContainedPublishDir.Should().
HaveFilesMatching
($"{new DirectoryInfo(directory.Path).Name}.dll", SearchOption.TopDirectoryOnly);