1 write to _log
dotnet-new.IntegrationTests (1)
DotnetNewUninstallTests.cs (1)
16_log = log;
47 references to _log
dotnet-new.IntegrationTests (47)
DotnetNewUninstallTests.Approval.cs (4)
14string templateLocation = InstallTestTemplate("TemplateWithConflictShortName", _log, customHivePath); 16CommandResult commandResult = new DotnetNewCommand(_log, "uninstall") 33InstallTestTemplate("TemplateWithRequiredParameters", _log, homeDirectory); 38CommandResult commandResult = new DotnetNewCommand(_log, "uninstall", "TemplateWithRequiredParameters")
DotnetNewUninstallTests.cs (43)
27string testTemplate = InstallTestTemplate("TemplateResolution/DifferentLanguagesGroup/BasicFSharp", _log, home, workingDirectory); 29new DotnetNewCommand(_log, commandName) 48new DotnetNewCommand(_log, "-i", "Microsoft.DotNet.Web.ProjectTemplates.5.0::5.0.0") 60new DotnetNewCommand(_log, commandName) 81new DotnetNewCommand(_log, commandName) 100string templateLocation = InstallTestTemplate("TemplateResolution/DifferentLanguagesGroup/BasicFSharp", _log, home, workingDirectory); 102new DotnetNewCommand(_log, commandName) 113new DotnetNewCommand(_log, commandName, templateLocation) 123new DotnetNewCommand(_log, commandName) 143new DotnetNewCommand(_log, "-i", "Microsoft.DotNet.Web.ProjectTemplates.5.0::5.0.0") 155new DotnetNewCommand(_log, commandName) 176new DotnetNewCommand(_log, commandName, packageNameToUnisntall) 186new DotnetNewCommand(_log, commandName) 204string basicFSharp = InstallTestTemplate("TemplateResolution/DifferentLanguagesGroup/BasicFSharp", _log, home, workingDirectory); 205string basicVB = InstallTestTemplate("TemplateResolution/DifferentLanguagesGroup/BasicVB", _log, home, workingDirectory); 207new DotnetNewCommand(_log, "-i", "Microsoft.DotNet.Web.ProjectTemplates.5.0", "-i", "Microsoft.DotNet.Common.ProjectTemplates.5.0") 220new DotnetNewCommand(_log, "-u", "Microsoft.DotNet.Common.ProjectTemplates.5.0", "-u", basicFSharp) 231new DotnetNewCommand(_log, "-u") 250string basicFSharp = InstallTestTemplate("TemplateResolution/DifferentLanguagesGroup/BasicFSharp", _log, home, workingDirectory); 251string basicVB = InstallTestTemplate("TemplateResolution/DifferentLanguagesGroup/BasicVB", _log, home, workingDirectory); 253new DotnetNewCommand(_log, "install", "Microsoft.DotNet.Web.ProjectTemplates.5.0", "Microsoft.DotNet.Common.ProjectTemplates.5.0") 266new DotnetNewCommand(_log, "uninstall", "Microsoft.DotNet.Common.ProjectTemplates.5.0", basicFSharp) 277new DotnetNewCommand(_log, "uninstall") 297new DotnetNewCommand(_log, "install", "Microsoft.DotNet.Web.ProjectTemplates.5.0::5.0.0") 309new DotnetNewCommand(_log, commandName, "Microsoft.DotNet.Common.ProjectTemplates.5.0") 325new DotnetNewCommand(_log, "install", "Microsoft.DotNet.Common.ProjectTemplates.5.0::5.0.0") 334new DotnetNewCommand(_log, commandName, "console") 353new DotnetNewCommand(_log, "install", "Microsoft.DotNet.Common.ProjectTemplates.5.0::5.0.0") 362new DotnetNewCommand(_log, "install", "Microsoft.DotNet.Common.ProjectTemplates.3.1::5.0.0") 371new DotnetNewCommand(_log, commandName, "console") 394new DotnetNewCommand(_log, "install", pattern) 409new DotnetNewCommand(_log, commandName) 419new DotnetNewCommand(_log, commandName, pattern) 428new DotnetNewCommand(_log, commandName) 443new DotnetNewCommand(_log, "-i", pattern) 455new DotnetNewCommand(_log, "-u") 463new DotnetNewCommand(_log, "-u", pattern) 470new DotnetNewCommand(_log, "-u") 487InstallNuGetTemplate(testFolderWithSpace, _log, home, workingDirectory); 493InstallNuGetTemplate(testFolderWithoutSpace, _log, home, workingDirectory); 495new DotnetNewCommand(_log, "-u") 520CommandResult commandResult = new DotnetNewCommand(_log, commandName) 535CommandResult commandResult = new DotnetNewCommand(_log, "uninstall")