2 instantiations of Project
Templates.Tests (2)
src\ProjectTemplates\Shared\BlazorTemplateTest.cs (1)
94
var subProject = new
Project
src\ProjectTemplates\Shared\ProjectFactoryFixture.cs (1)
44
var project = new
Project
26 references to Project
Templates.Tests (26)
BaselineTest.cs (1)
29
public
Project
Project { get; set; }
EmptyWebTemplateTest.cs (1)
78
var
project = await ProjectFactory.CreateProject(Output);
GrpcTemplateTest.cs (1)
73
var
project = await ProjectFactory.CreateProject(Output);
IdentityUIPackageTest.cs (1)
105
var
project = await ProjectFactory.CreateProject(Output);
ItemTemplateTests\BlazorServerTests.cs (1)
22
public
Project
Project { get; set; }
RazorClassLibraryTemplateTest.cs (2)
38
var
project = await ProjectFactory.CreateProject(Output);
55
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
WebApiNativeAotTemplateTest.cs (1)
49
var
project = await ProjectFactory.CreateProject(Output);
WorkerTemplateTest.cs (1)
53
var
project = await ProjectFactory.CreateProject(Output);