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