6 instantiations of CommandResult
dotnet.Tests (2)
dotnet-MsiInstallation.Tests (1)
Microsoft.DotNet.Cli.Utils (3)
862 references to CommandResult
ArgumentForwarding.Tests (3)
containerize.UnitTests (1)
dotnet (8)
dotnet.Tests (379)
CommandTests\Package\Add\GivenDotnetPackageAdd.cs (5)
26var cmd = new DotnetCommand(Log)
95var cmd = new DotnetCommand(Log)
284var cmd = new DotnetCommand(Log)
384var cmd = new DotnetCommand(Log, "package", "add", "A", "--file", "Program.cs")
421var cmd = new DotnetCommand(Log, "package", "add", "A", "--prerelease", "--file", "Program.cs")
CommandTests\Reference\Add\GivenDotnetAddReference.cs (36)
105var cmd = new DotnetCommand(Log, "reference", "add").Execute(helpArg);
117var cmd = new DotnetCommand(Log, "add", "one", "two", "three", "reference")
131var cmd = new DotnetCommand(Log, "add", projName, "reference")
159var cmd = new DotnetCommand(Log, "add", projName, "reference")
173var cmd = new DotnetCommand(Log, "add", "reference")
186var cmd = new DotnetCommand(Log, "add", "reference")
207var cmd = new DotnetCommand(Log, "add", "reference", invalidProjPath)
224var cmd = new DotnetCommand(Log, "add", lib.CsProjPath, "reference")
242var cmd = new DotnetCommand(Log, "add", lib.CsProjPath, "reference")
265var cmd = new DotnetCommand(Log, "add", lib.CsProjName, "reference")
287var cmd = new DotnetCommand(Log, "add", lib.CsProjPath, "reference")
309var cmd = new DotnetCommand(Log, "add", lib.CsProjPath, "reference")
331var cmd = new DotnetCommand(Log, "add", lib.CsProjPath, "reference")
353var cmd = new DotnetCommand(Log, "add", lib.CsProjName, "reference")
371var cmd = new DotnetCommand(Log, "add", proj.CsProjPath, "reference")
391var cmd = new DotnetCommand(Log, "add", lib.CsProjPath, "reference")
406var cmd = new DotnetCommand(Log, "add", proj.CsProjName, "reference")
421var cmd = new DotnetCommand(Log, "add", proj.CsProjName, "reference")
436var cmd = new DotnetCommand(Log, "add", proj.CsProjPath, "reference")
453var cmd = new DotnetCommand(Log, "add", proj.CsProjName, "reference")
468var cmd = new DotnetCommand(Log, "add", proj.CsProjPath, "reference")
485var cmd = new DotnetCommand(Log, "add", proj.CsProjPath, "reference")
505var cmd = new DotnetCommand(Log, "add", lib.CsProjPath, "reference")
526var cmd = new DotnetCommand(Log, "add", lib.CsProjPath, "reference")
544var cmd = new DotnetCommand(Log, "add", "reference")
561var cmd = new DotnetCommand(Log, "add", lib.CsProjName, "reference")
576var cmd = new DotnetCommand(Log, "add", lib.CsProjPath, "reference")
591var cmd = new DotnetCommand(Log, "add", lib.CsProjName, "reference")
609var cmd = new DotnetCommand(Log, "add", setup.LibCsprojPath, "reference")
628var cmd = new DotnetCommand(Log, "add", lib.CsProjPath, "reference")
645var cmd = new DotnetCommand(Log, "add", net452netcoreapp10lib.CsProjPath, "reference")
667var cmd = new DotnetCommand(Log, "add", lib.CsProjPath, "reference")
693var cmd = new DotnetCommand(Log, "add", net45lib.CsProjPath, "reference")
707var result = new DotnetCommand(Log, "add", lib.CsProjPath, "reference")
723var result = new DotnetCommand(Log, "add", lib.CsProjPath, "reference")
739var result = new DotnetCommand(Log, "add", lib.CsProjPath, "reference")
CommandTests\Run\GivenDotnetRunBuildsCsProj.cs (22)
78var result = new DotnetCommand(Log, "run")
374var runResult = new DotnetCommand(Log, "run")
396var cmd = new DotnetCommand(Log, "run")
416var cmd = new DotnetCommand(Log, "run", "--verbosity", "quiet")
437var cmd = new DotnetCommand(Log, "run")
457var cmd = new DotnetCommand(Log, "run")
477var cmd = new DotnetCommand(Log, "run")
497var cmd = new DotnetCommand(Log, "run")
516var cmd = new DotnetCommand(Log, "run")
536var cmd = new DotnetCommand(Log, "run")
555var cmd = new DotnetCommand(Log, "run")
608var cmd = new DotnetCommand(Log, "run")
627var cmd = new DotnetCommand(Log, "run")
646var cmd = new DotnetCommand(Log, "run")
664var cmd = new DotnetCommand(Log, "run")
680var result = new DotnetCommand(Log, "run")
702var result = new DotnetCommand(Log, "run", "--interactive", "false")
723var result = new DotnetCommand(Log, "run")
739var result = new DotnetCommand(Log, "run", "/v", "d")
755var result = new DotnetCommand(Log, "run")
784var result = new DotnetCommand(Log, "run")
1012var result = new DotnetCommand(Log, "run")
CommandTests\Run\RunFileTests.cs (7)
159var result = new DotnetCommand(Log, "run", path)
277var result = new DotnetCommand(Log, "run", "program.cs")
2580var result = new DotnetCommand(Log, "build", "-getProperty:UserSecretsId", "Program.cs")
3325var cscResult = new DotnetCommand(Log, "run", "Program.cs", "-bl")
3337var msbuildResult = new DotnetCommand(Log, "run", "Program.cs", "-bl")
4215var fileBasedResult = new DotnetCommand(Log, [subcommand, "Program.cs", .. args])
4223var projectBasedResult = new DotnetCommand(Log, [subcommand, .. args])
CommandTests\Test\GivenDotnetTestBuildsAndRunsTestfromCsproj.cs (26)
24CommandResult result = new DotnetTestCommand(Log, disableNewOutput: true)
51CommandResult result = new DotnetTestCommand(Log, disableNewOutput: true)
120CommandResult result = new DotnetTestCommand(Log, disableNewOutput: true)
144var result = new DotnetTestCommand(Log, disableNewOutput: true)
174CommandResult result = new DotnetTestCommand(Log, disableNewOutput: true)
207CommandResult result = new DotnetTestCommand(Log, disableNewOutput: true)
239CommandResult result = new DotnetTestCommand(Log, disableNewOutput: true)
270CommandResult result = new DotnetTestCommand(Log, disableNewOutput: true)
320CommandResult result = new DotnetTestCommand(Log, disableNewOutput: true, ConsoleLoggerOutputNormal)
348CommandResult result = new DotnetTestCommand(Log, disableNewOutput: true)
393var result = new DotnetTestCommand(Log, disableNewOutput: true, ConsoleLoggerOutputNormal)
420CommandResult result = new DotnetTestCommand(Log, disableNewOutput: true)
450CommandResult result = new DotnetTestCommand(Log, disableNewOutput: true)
489CommandResult result = new DotnetTestCommand(Log, disableNewOutput: true)
525CommandResult result = new DotnetTestCommand(Log, disableNewOutput: true)
561CommandResult result = new DotnetTestCommand(Log, disableNewOutput: true)
594CommandResult result = new DotnetTestCommand(Log, disableNewOutput: true)
624CommandResult result = new DotnetTestCommand(Log, disableNewOutput: true)
647CommandResult result = new DotnetTestCommand(Log, disableNewOutput: true)
671CommandResult result = new DotnetTestCommand(Log, disableNewOutput: true)
699CommandResult result = new DotnetTestCommand(Log, disableNewOutput: true)
722CommandResult result = new DotnetTestCommand(Log, disableNewOutput: true)
770CommandResult result = new DotnetTestCommand(Log, disableNewOutput: true)
794CommandResult result = new DotnetTestCommand(Log, disableNewOutput: true)
822CommandResult result = new DotnetTestCommand(Log, disableNewOutput: true)
844CommandResult result = new DotnetTestCommand(Log, disableNewOutput: true)
CommandTests\Test\GivenDotnetTestBuildsAndRunsTests.cs (21)
6using CommandResult = Microsoft.DotNet.Cli.Utils.CommandResult;
25CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
50CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
77CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
103CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
133CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
161CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
180CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
200CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
225CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
255CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
275CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
295CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
315CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
335CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
361CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
389CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
415CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
435CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
449CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
488CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
CommandTests\Test\GivenDotnetTestBuildsAndRunsTestsWithDifferentOptions.cs (26)
7using CommandResult = Microsoft.DotNet.Cli.Utils.CommandResult;
27CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
46CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
66CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
84CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
103CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
122CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
143CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
163CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
183CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
203CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
222CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
242CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
270CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
290CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
308CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
328CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
353CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
373CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
389CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
415CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
440CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
474CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
512CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
542CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
560CommandResult result = new DotnetTestCommand(Log, disableNewOutput: false)
dotnet-format.UnitTests (1)
dotnet-MsiInstallation.Tests (26)
dotnet-new.IntegrationTests (189)
DotnetNewDetailsTest.Approval.cs (8)
19CommandResult commandResult = new DotnetNewCommand(_log, "details", _nuGetPackageId, "--version", "4.8.0-dev.604")
52var commandResult = createCommandResult();
64CommandResult commandResult = new DotnetNewCommand(_log, "details", "Microsoft.Azure.WebJobs.ItemTemplates", "--version", "4.0.2288")
82CommandResult commandResult = new DotnetNewCommand(_log, "details", packageName)
110CommandResult commandResult = new DotnetNewCommand(_log, "details", "Microsoft.TemplateEngine.TestTemplates")
136CommandResult commandResult = new DotnetNewCommand(_log, "details", _nuGetPackageId)
163CommandResult commandResult = new DotnetNewCommand(_log, "details", packageName)
189CommandResult commandResult = new DotnetNewCommand(_log, "details", basicFSharp)
DotnetNewHelpTests.Approval.cs (23)
20CommandResult commandResult = new DotnetNewCommand(_log, command)
40CommandResult commandResult = new DotnetNewCommand(_log, "create", option)
60CommandResult commandResult = new DotnetNewCommand(_log, "install", option)
80CommandResult commandResult = new DotnetNewCommand(_log, "update", option)
100CommandResult commandResult = new DotnetNewCommand(_log, "uninstall", option)
120CommandResult commandResult = new DotnetNewCommand(_log, "list", option)
140CommandResult commandResult = new DotnetNewCommand(_log, "search", option)
163CommandResult commandResult = new DotnetNewCommand(_log, command.Split(" "))
184CommandResult commandResult = new DotnetNewCommand(_log, "classli", "-h")
198CommandResult commandResult = new DotnetNewCommand(_log, "Console App", "-h")
215CommandResult commandResult = new DotnetNewCommand(_log, "basic", "--help")
231CommandResult commandResult = new DotnetNewCommand(_log, "TestAssets.TemplateWithMultiValueChoice", "--help")
246CommandResult commandResult = new DotnetNewCommand(_log, "console", "--help", "--framework", "net7.0")
264CommandResult commandResult = new DotnetNewCommand(_log, "console", "--help", "--framework")
279CommandResult commandResult = new DotnetNewCommand(_log, "console", "--help", "--do-not-exist")
294CommandResult commandResult = new DotnetNewCommand(_log, "console", "--help", "--langVersion", "8.0")
309CommandResult commandResult = new DotnetNewCommand(_log, "console", "--help", "--language", "F#")
327CommandResult commandResult = new DotnetNewCommand(_log, "console", "--help", "--langVersion")
346CommandResult commandResult = new DotnetNewCommand(_log, templateName, "--help")
361CommandResult commandResult = new DotnetNewCommand(_log, "TestAssets.TemplateWithRequiredParameters", "--help")
380CommandResult commandResult = new DotnetNewCommand(_log, "TestAssets.TemplateWithConditionalParameters", "--help")
399CommandResult commandResult = new DotnetNewCommand(_log, "basic", "--help")
418CommandResult commandResult = new DotnetNewCommand(_log, "basic2", "--help")
DotnetNewInstallTests.Approval.cs (12)
13CommandResult commandResult = new DotnetNewCommand(_log, "install", "Microsoft.DotNet.Common.ItemTemplates@6.0.100")
32CommandResult commandResult = new DotnetNewCommand(_log, "install", "Microsoft.DotNet.Common.ItemTemplates@6.0.100", "--force")
52CommandResult commandResult = new DotnetNewCommand(_log, "install", "Microsoft.DotNet.Common.ItemTemplates@6.0.100", "Microsoft.DotNet.Web.ItemTemplates@5.0.0")
73CommandResult commandResult = new DotnetNewCommand(_log, commandName, "Microsoft.DotNet.Web.ItemTemplates@5.0.0")
90CommandResult commandResult = new DotnetNewCommand(_log, "install", "Microsoft.DotNet.Web.ItemTemplates@5.0.0")
106CommandResult commandResult = new DotnetNewCommand(_log, "install", testTemplateLocation)
135CommandResult commandResult = new DotnetNewCommand(_log, "install", basicFSharp, "--force")
157CommandResult commandResult = new DotnetNewCommand(_log, "install", "Microsoft.DotNet.Common.ProjectTemplates.5.0@5.0.0", "--force")
182CommandResult commandResult = new DotnetNewCommand(_log, "install", "Microsoft.DotNet.Common.ProjectTemplates.5.0@5.0.0")
213CommandResult commandResult = new DotnetNewCommand(_log, "install", basicFSharp)
229CommandResult commandResult = new DotnetNewCommand(_log, "install", templateToInstall)
252CommandResult commandResult = new DotnetNewCommand(_log, "install", templateToInstall)
DotnetNewInstallTests.cs (7)
65CommandResult command1 = new DotnetNewCommand(_log, commandName, "Microsoft.DotNet.Common.ProjectTemplates.5.0")
70CommandResult command2 = new DotnetNewCommand(_log, commandName, $"Microsoft.DotNet.Common.ProjectTemplates.5.0@")
75CommandResult command3 = new DotnetNewCommand(_log, commandName, $"Microsoft.DotNet.Common.ProjectTemplates.5.0@*")
80foreach (CommandResult commandResult in new[] { command1, command2, command3 })
129CommandResult command1 = new DotnetNewCommand(_log, commandName, "Microsoft.DotNet.Common.ProjectTemplates.5.0@5.*")
134CommandResult command2 = new DotnetNewCommand(_log, commandName, "Microsoft.DotNet.Common.ProjectTemplates.5.0@5.0.*")
139foreach (CommandResult commandResult in new[] { command1, command2 })
DotnetNewInstantiateTests.Approval.cs (30)
14CommandResult commandResult = new DotnetNewCommand(_log, "unknownapp")
30CommandResult commandResult = new DotnetNewCommand(_log, "console", "--language", "D#")
46CommandResult commandResult = new DotnetNewCommand(_log, "console", "--type", "item")
67CommandResult commandResult = new DotnetNewCommand(_log, "basic")
88CommandResult commandResult = new DotnetNewCommand(_log, "basic")
117CommandResult commandResult = new DotnetNewCommand(_log, "Console App")
136CommandResult commandResult = new DotnetNewCommand(_log, "TestAssets.TemplateWithPreferDefaultNameButNoDefaultName")
154CommandResult commandResult = new DotnetNewCommand(_log, "console", "--fake")
172CommandResult commandResult = new DotnetNewCommand(_log, "console", "--framework", "fake")
190var commandResult = new DotnetNewCommand(_log, "console", "--framework", "net")
208CommandResult commandResult = new DotnetNewCommand(_log, "console", "--framework", "netcoreapp", "--fake")
229CommandResult commandResult = new DotnetNewCommand(_log, "basic")
269CommandResult commandResult = new DotnetNewCommand(_log, args)
293CommandResult commandResult = new DotnetNewCommand(_log, "TestAssets.TemplateWithMultiValueChoice", "--Platform", "")
316CommandResult commandResult = new DotnetNewCommand(
349CommandResult commandResult = new DotnetNewCommand(_log, "TestAssets.TemplateWithMultiValueChoice", "--Platform", "", "--Platform", "MacOS")
394CommandResult commandResult = new DotnetNewCommand(_log, "TestAssets.TemplateWithSourceNameAndCustomTargetPath", "-o", _OUT_FOLDER, "--dry-run")
434CommandResult commandResult = new DotnetNewCommand(_log, "console", "--name", "overwrite-test", "-o", "folderA")
471CommandResult commandResult = new DotnetNewCommand(_log, "TestAssets.Invalid.InvalidHostData")
502CommandResult commandResult = new DotnetNewCommand(_log, "gitignore")
527CommandResult commandResult = new DotnetNewCommand(_log, "sameshortname")
554CommandResult commandResult = new DotnetNewCommand(_log, "Constraints.RestrictedTemplate")
576CommandResult commandResult = new DotnetNewCommand(_log, "Constraints.RestrictedTemplate", "--force")
609CommandResult commandResult = new DotnetNewCommand(_log, "TestAssets.TemplateWithSourceName")
629CommandResult commandResult = new DotnetNewCommand(_log, "cnsle")
645CommandResult commandResult = new DotnetNewCommand(_log, "uninstal")
665CommandResult commandResult = new DotnetNewCommand(_log, "create", "TestAssets.TemplateWithSourceName")
687CommandResult commandResult = new DotnetNewCommand(_log, parameters.Split("|"))
713CommandResult commandResult = new DotnetNewCommand(_log, parameters.Split("|"))
738CommandResult commandResult = new DotnetNewCommand(_log, parameters.Split("|"))
DotnetNewSearchTests.cs (23)
25CommandResult commandResult = new DotnetNewCommand(_log, testCase.Split(" "))
81CommandResult commandResult = new DotnetNewCommand(_log, testCase.Split(" "))
110CommandResult commandResult = new DotnetNewCommand(_log, testCase.Split(" "))
137CommandResult commandResult = new DotnetNewCommand(_log, testCase.Split(" "))
168CommandResult commandResult = new DotnetNewCommand(_log, testCase.Split(" "))
197CommandResult commandResult = new DotnetNewCommand(_log, testCase.Split(" "))
228CommandResult commandResult = new DotnetNewCommand(_log, testCase.Split(" "))
260CommandResult commandResult = new DotnetNewCommand(_log, testCase.Split(" "))
293CommandResult commandResult = new DotnetNewCommand(_log, testCase.Split(" "))
323CommandResult commandResult = new DotnetNewCommand(_log, testCase.Split(" "))
354CommandResult commandResult = new DotnetNewCommand(_log, testCase.Split(" "))
385CommandResult commandResult = new DotnetNewCommand(_log, testCase.Split(" "))
416CommandResult commandResult = new DotnetNewCommand(_log, testCase.Split(" "))
447CommandResult commandResult = new DotnetNewCommand(_log, testCase.Split(" "))
487CommandResult commandResult = new DotnetNewCommand(_log, "con", "--search", "--framework")
553CommandResult commandResult = new DotnetNewCommand(_log, "con", "--search", "--langVersion")
600CommandResult commandResult = new DotnetNewCommand(_log, "con", "--search", "--langVersion", "smth")
647CommandResult commandResult = new DotnetNewCommand(_log, "con", "--search", "-f", "netcoreapp3.1")
719CommandResult commandResult1 = new DotnetNewCommand(_log, command1.Split())
723CommandResult commandResult2 = new DotnetNewCommand(_log, command2.Split())
742CommandResult commandResult = new DotnetNewCommand(_log, command.Split())
768CommandResult commandResult = new DotnetNewCommand(_log, "--search", "console")
782CommandResult commandResult = new DotnetNewCommand(_log, "search", "console")
DotnetNewTests.cs (8)
22CommandResult commandResult = new DotnetNewCommand(_log)
39CommandResult commandResult = new DotnetNewCommand(_log, "search", "template-does-not-exist", optionName, optionValue)
52CommandResult commandResult = new DotnetNewCommand(_log, "search", "template-does-not-exist")
71CommandResult commandResult = new DotnetNewCommand(_log, "search", "template-does-not-exist", optionName, optionValue)
91CommandResult commandResult = new DotnetNewCommand(_log, "search", "template-does-not-exist", optionName, optionValue)
112CommandResult commandResult = new DotnetNewCommand(
131CommandResult commandResult = new DotnetNewCommand(_log, "console", "--dry-run")
151CommandResult commandResult = new DotnetNewCommand(_log, "console", "--dry-run")
PostActionTests.Approval.cs (9)
18CommandResult commandResult = new DotnetNewCommand(_log, "TestAssets.PostActions.RestoreNuGet.Basic", "-n", "MyProject")
50CommandResult commandResult = new DotnetNewCommand(_log, templateName, "--allow-scripts", "yes")
73CommandResult commandResult = new DotnetNewCommand(_log, templateName, "-n", "MyProject")
104CommandResult commandResult = new DotnetNewCommand(_log, templateName, "-n", "MyProject")
144CommandResult commandResult = new DotnetNewCommand(_log, templateName, "-n", "MyProject")
175CommandResult commandResult = new DotnetNewCommand(_log, templateName)
197CommandResult commandResult = new DotnetNewCommand(_log, templateName, "-n", "MyProject", "--dry-run")
221CommandResult commandResult = new DotnetNewCommand(_log, templateName)
241CommandResult commandResult = new DotnetNewCommand(_log, templateName, "--allow-scripts", "no")
PostActionTests.cs (12)
318CommandResult commandResult = new DotnetNewCommand(_log, templateName, "--allow-scripts", "yes")
351CommandResult commandResult = new DotnetNewCommand(_log, templateName, "--allow-scripts", "yes")
376CommandResult commandResult = new DotnetNewCommand(_log, templateName, "--allow-scripts", "yes")
401CommandResult commandResult = new DotnetNewCommand(_log, templateName, "--allow-scripts", "yes")
565var result = new DotnetCommand(_log, "--version")
612var result = new DotnetCommand(_log, "--version")
718CommandResult commandResult = new DotnetNewCommand(_log, templateName)
937CommandResult commandResult = new DotnetNewCommand(_log, templateName)
958CommandResult cmd = new DotnetNewCommand(Log)
979CommandResult cmd = new DotnetNewCommand(Log)
998CommandResult cmd = new DotnetNewCommand(Log)
1016CommandResult cmd = new DotnetNewCommand(Log)
dotnet-watch.Tests (2)
EndToEnd.Tests (2)
Microsoft.AspNetCore.Watch.BrowserRefresh.Tests (1)
Microsoft.CodeAnalysis.NetAnalyzers.UnitTests (1)
Microsoft.DotNet.ApiCompat.IntegrationTests (15)
Task\ValidatePackageTargetIntegrationTests.cs (13)
44var result = new PackCommand(Log, Path.Combine(testAsset.TestRoot, "PackageValidationTestProject.csproj"))
59var result = new PackCommand(Log, Path.Combine(testAsset.TestRoot, "PackageValidationTestProject.csproj"))
73var result = new PackCommand(Log, Path.Combine(testAsset.TestRoot, "PackageValidationTestProject.csproj"))
93var result = new PackCommand(Log, Path.Combine(testAsset.TestRoot, "PackageValidationTestProject.csproj"))
112var result = new PackCommand(Log, Path.Combine(testAsset.TestRoot, "PackageValidationTestProject.csproj"))
134var result = new PackCommand(Log, Path.Combine(testAsset.TestRoot, "PackageValidationTestProject.csproj"))
164var result = packCommand.Execute();
206var result = packCommand.Execute();
247var result = packCommand.Execute();
276var result = packCommand.Execute();
300var result = packCommand.Execute();
323var result = new PackCommand(Log, Path.Combine(testAsset.TestRoot, "PackageValidationTestProject.csproj"))
344var result = new PackCommand(Log, Path.Combine(testAsset.TestRoot, "PackageValidationTestProject.csproj"))
Microsoft.DotNet.ApiDiff.Tests (1)
Microsoft.DotNet.ApiSymbolExtensions.Tests (1)
Microsoft.DotNet.Cli.Utils (5)
Microsoft.DotNet.Cli.Utils.Tests (3)
Microsoft.DotNet.GenAPI.Tests (1)
Microsoft.DotNet.PackageInstall.Tests (2)
Microsoft.Extensions.DotNetDeltaApplier.Tests (1)
Microsoft.NET.Build.Containers.UnitTests (1)
Microsoft.NET.Build.Extensions.Tasks.UnitTests (1)
Microsoft.NET.Build.Tasks.UnitTests (1)
Microsoft.NET.Build.Tests (57)
Microsoft.NET.Clean.Tests (1)
Microsoft.NET.Pack.Tests (2)
Microsoft.NET.Publish.Tests (38)
GivenThatWeWantToRunILLink.cs (8)
184var result = publishCommand.Execute($"/p:RuntimeIdentifier={rid}");
616var result = publishCommand.Execute($"/p:RuntimeIdentifier={rid}", "/v:m");
705var result = publishCommand.Execute($"/p:RuntimeIdentifier={rid}", "/v:m");
891var result = publishCommand.Execute($"/p:RuntimeIdentifier={rid}", "/p:PublishTrimmed=true", "/p:TrimMode=copyused", "/p:TrimmerSingleWarn=false", "/p:EnableTrimAnalyzer=false",
989var result = publishCommand.Execute($"/p:RuntimeIdentifier={rid}", "/p:PublishTrimmed=true",
1009var result = publishCommand.Execute($"/p:RuntimeIdentifier={rid}", "/p:PublishTrimmed=true", "/p:TrimmerSingleWarn=false");
1026var result = publishCommand.Execute($"/p:RuntimeIdentifier={rid}", "/p:PublishTrimmed=true", "/p:TrimmerSingleWarn=false",
2316public static void ValidateWarningsOnHelloWorldApp(PublishCommand publishCommand, CommandResult result, List<string> expectedWarnings, string targetFramework, string rid, bool useRegex = false)
Microsoft.NET.Rebuild.Tests (1)
Microsoft.NET.Restore.Tests (4)
Microsoft.NET.Sdk.BlazorWebAssembly.AoT.Tests (1)
Microsoft.NET.Sdk.BlazorWebAssembly.Tests (16)
Microsoft.NET.Sdk.Publish.Tasks.Tests (1)
Microsoft.NET.Sdk.Razor.Tests (8)
Microsoft.NET.Sdk.Razor.Tool.Tests (1)
Microsoft.NET.Sdk.StaticWebAssets.Tests (45)
Microsoft.NET.Sdk.Web.Tests (1)
Microsoft.NET.TestFramework (23)
Microsoft.NET.ToolPack.Tests (8)
Microsoft.TemplateEngine.Cli.UnitTests (1)
Microsoft.WebTools.AspireService.Tests (1)
msbuild.Integration.Tests (6)
System.CommandLine.StaticCompletions.Tests (1)
trustedroots.Tests (1)