1 write to _log
dotnet-new.IntegrationTests (1)
DotnetNewListTests.cs (1)
17
_log
= log;
55 references to _log
dotnet-new.IntegrationTests (55)
DotnetNewListTests.Approval.cs (10)
15
CommandResult commandResult = new DotnetNewCommand(
_log
, commandName)
34
CommandResult commandResult = new DotnetNewCommand(
_log
, "list")
97
InstallTestTemplate("Constraints/RestrictedTemplate",
_log
, customHivePath);
98
InstallTestTemplate("TemplateWithSourceName",
_log
, customHivePath);
100
CommandResult commandResult = new DotnetNewCommand(
_log
, "list", "RestrictedTemplate")
115
InstallTestTemplate("Constraints/RestrictedTemplate",
_log
, customHivePath);
116
InstallTestTemplate("TemplateWithSourceName",
_log
, customHivePath);
118
CommandResult commandResult = new DotnetNewCommand(
_log
, "list", "RestrictedTemplate", "--ignore-constraints")
133
InstallTestTemplate("TemplateWithConflictShortName",
_log
, customHivePath);
135
CommandResult commandResult = new DotnetNewCommand(
_log
, "list")
DotnetNewListTests.cs (45)
27
new DotnetNewCommand(
_log
, command.Split(" "))
46
new DotnetNewCommand(
_log
, command.Split(" "))
63
new DotnetNewCommand(
_log
, command.Split(" "))
83
new DotnetNewCommand(
_log
, command.Split(" "))
102
new DotnetNewCommand(
_log
, "--install", "Microsoft.DotNet.Web.ProjectTemplates.5.0")
112
new DotnetNewCommand(
_log
, "--list")
123
new DotnetNewCommand(
_log
, "webapp", "--list")
134
new DotnetNewCommand(
_log
, "razor", "--list")
151
new DotnetNewCommand(
_log
, "--list")
163
new DotnetNewCommand(
_log
, "c", "--list")
175
new DotnetNewCommand(
_log
, "c", "--list", "--framework")
187
new DotnetNewCommand(
_log
, "c", "--list", "-f")
200
new DotnetNewCommand(
_log
, "--list", "--framework")
212
new DotnetNewCommand(
_log
, "--list", "-f")
231
new DotnetNewCommand(
_log
, "--list")
243
new DotnetNewCommand(
_log
, "c", "--list")
255
new DotnetNewCommand(
_log
, "c", "--list", "--langVersion")
267
new DotnetNewCommand(
_log
, "--list", "--langVersion")
285
new DotnetNewCommand(
_log
, "--list")
297
new DotnetNewCommand(
_log
, "c", "--list")
309
new DotnetNewCommand(
_log
, "c", "--list", "--no-restore", "invalid")
321
new DotnetNewCommand(
_log
, "--list", "--no-restore", "invalid")
339
new DotnetNewCommand(
_log
, "--list")
351
new DotnetNewCommand(
_log
, "c", "--list")
363
new DotnetNewCommand(
_log
, "c", "--list", "--framework", "net5.0")
375
new DotnetNewCommand(
_log
, "c", "--list", "-f", "net5.0")
387
new DotnetNewCommand(
_log
, "--list", "--framework", "net5.0")
399
new DotnetNewCommand(
_log
, "--list", "-f", "net5.0")
417
new DotnetNewCommand(
_log
, "--list")
429
new DotnetNewCommand(
_log
, "--list", "--unknown")
437
new DotnetNewCommand(
_log
, "c", "--list", "--unknown")
445
new DotnetNewCommand(
_log
, "c", "--list", "--unknown", "--language", "C#")
459
new DotnetNewCommand(
_log
, "--list")
471
new DotnetNewCommand(
_log
, "--list", "--framework", "unknown")
479
new DotnetNewCommand(
_log
, "c", "--list", "--framework", "unknown")
493
new DotnetNewCommand(
_log
, "--list")
505
new DotnetNewCommand(
_log
, "--list", "--language", "unknown", "--framework", "unknown")
513
new DotnetNewCommand(
_log
, "c", "--list", "--language", "unknown", "--framework", "unknown")
527
InstallTestTemplate("TemplateGrouping",
_log
, home, workingDir);
529
new DotnetNewCommand(
_log
, "--list", "--columns-all")
549
new DotnetNewCommand(
_log
, "--install", "Microsoft.DotNet.Web.ProjectTemplates.5.0")
556
new DotnetNewCommand(
_log
, "list", "--columns", columnName)
573
CommandResult commandResult1 = new DotnetNewCommand(
_log
, command1.Split())
577
CommandResult commandResult2 = new DotnetNewCommand(
_log
, command2.Split())
598
CommandResult commandResult = new DotnetNewCommand(
_log
, command.Split())