Implemented interface member:
method
Find
Microsoft.DotNet.Cli.ToolManifest.IToolManifestFinder.Find(Microsoft.Extensions.EnvironmentAbstractions.FilePath?)
25 references to Find
dotnet.Tests (25)
CommandTests\Tool\Install\ToolInstallLocalCommandTests.cs (4)
196
_toolManifestFinder.
Find
(new FilePath(explicitManifestFilePath)).Should().HaveCount(1);
333
var manifestPackages = _toolManifestFinder.
Find
();
413
var manifestPackages = _toolManifestFinder.
Find
();
558
var manifestPackages = _toolManifestFinder.
Find
();
CommandTests\Tool\Update\ToolUpdateLocalCommandTests.cs (1)
408
IReadOnlyCollection<ToolManifestPackage> manifestPackages = _toolManifestFinder.
Find
(manifestFile);
ToolManifestTests\ToolManifestFinderTests.cs (20)
55
var manifestResult = toolManifest.
Find
();
71
var manifestResult = toolManifest.
Find
();
88
var manifestResult = toolManifest.
Find
();
110
var manifestResult = toolManifest.
Find
();
148
Action a = () => toolManifest.
Find
();
179
var manifestResult = toolManifest.
Find
();
211
Action a = () => toolManifest.
Find
();
230
toolManifest.
Find
(new FilePath(Path.Combine(_testDirectoryRoot, customFileName)));
255
Action a = () => toolManifest.
Find
(new FilePath(Path.Combine(_testDirectoryRoot, "non-exists")));
271
Action a = () => toolManifest.
Find
();
286
Action a = () => toolManifest.
Find
();
306
Action a = () => toolManifest.
Find
();
323
Action a = () => toolManifest.
Find
();
340
Action a = () => toolManifest.
Find
();
360
var manifestResult = toolManifest.
Find
();
458
var manifestResult = toolManifest.
Find
();
473
Action a = () => toolManifest.
Find
();
490
Action a = () => toolManifest.
Find
();
650
var manifestResult = toolManifest.
Find
();
664
Action a = () => toolManifest.
Find
();