2 instantiations of Project
Templates.Mvc.Tests (2)
src\ProjectTemplates\Shared\BlazorTemplateTest.cs (1)
94
var subProject = new
Project
src\ProjectTemplates\Shared\ProjectFactoryFixture.cs (1)
44
var project = new
Project
34 references to Project
Templates.Mvc.Tests (34)
BlazorTemplateTest.cs (3)
55
var
project = await ProjectFactory.CreateProject(TestOutputHelper);
174
private Task<string> ReadProjectFileAsync(
Project
project)
193
private async Task WorkAroundNonNullableRenderModeAsync(
Project
project)
MvcTemplateTest.cs (5)
58
var
project = await ProjectFactory.CreateProject(Output);
150
var
project = await ProjectFactory.CreateProject(Output);
279
var
project = await ProjectFactory.CreateProject(Output);
353
private async Task<
Project
> MvcTemplateBuildsAndPublishes(string auth, string[] args)
355
var
project = await ProjectFactory.CreateProject(Output);
RazorPagesTemplateTest.cs (4)
45
var
project = await ProjectFactory.CreateProject(Output);
138
var
project = await ProjectFactory.CreateProject(Output);
289
private async Task<
Project
> BuildAndPublishRazorPagesTemplateIdentityWeb(string auth, string[] args)
291
var
project = await ProjectFactory.CreateProject(Output);
src\ProjectTemplates\Shared\BlazorTemplateTest.cs (6)
44
protected async Task<
Project
> CreateBuildPublishAsync(string auth = null, string[] args = null, string targetFramework = null, bool serverProject = false, bool onlyCreate = false)
49
var
project = await ProjectFactory.CreateProject(Output);
74
var
targetProject = project;
86
protected static
Project
GetSubProject(
Project
project, string projectDirectory, string projectName)
94
var
subProject = new Project
src\ProjectTemplates\Shared\ErrorMessages.cs (2)
10
public static string GetFailedProcessMessage(string step,
Project
project, ProcessResult processResult)
16
public static string GetFailedProcessMessageOrEmpty(string step,
Project
project, ProcessEx process)
src\ProjectTemplates\Shared\Project.cs (3)
33
var testLogFolder = typeof(
Project
).Assembly.GetCustomAttribute<TestFrameworkFileLoggerAttribute>()?.BaseDirectory;
54
public static DevelopmentCertificate DevCert { get; } = DevelopmentCertificate.Get(typeof(
Project
).Assembly);
538
var attribute = typeof(
Project
).Assembly.GetCustomAttributes<AssemblyMetadataAttribute>()
src\ProjectTemplates\Shared\ProjectFactoryFixture.cs (6)
18
private readonly ConcurrentDictionary<string,
Project
> _projects = new ConcurrentDictionary<string,
Project
>();
27
public async Task<
Project
> CreateProject(ITestOutputHelper output)
31
var
project = CreateProjectImpl(output);
42
private
Project
CreateProjectImpl(ITestOutputHelper output)
44
var
project = new Project
WebApiTemplateTest.cs (5)
158
var
project = await FactoryFixture.CreateProject(Output);
187
var
project = await FactoryFixture.CreateProject(Output);
214
private async Task<
Project
> PublishAndBuildWebApiTemplate(string languageOverride, string auth, string[] args = null)
216
var
project = await FactoryFixture.CreateProject(Output);
250
var
project = await PublishAndBuildWebApiTemplate(languageOverride, null, args);