3 instantiations of Project
Templates.Blazor.Tests (3)
BlazorTemplateTest.cs (1)
67
var subProject = new
Project
src\ProjectTemplates\Shared\BlazorTemplateTest.cs (1)
94
var subProject = new
Project
src\ProjectTemplates\Shared\ProjectFactoryFixture.cs (1)
44
var project = new
Project
28 references to Project
Templates.Blazor.Tests (28)
BlazorTemplateTest.cs (7)
25
protected async Task<
Project
> CreateBuildPublishAsync(
29
Func<
Project
,
Project
> getTargetProject = null,
35
var
project = await ProjectFactory.CreateProject(Output);
59
protected static
Project
GetSubProject(
Project
project, string projectDirectory, string projectName)
67
var
subProject = new Project
BlazorWasmTemplateTest.cs (2)
103
private static void ValidatePublishedServiceWorker(
Project
project)
164
private (ProcessEx, string url) RunPublishedStandaloneBlazorProject(
Project
project)
BlazorWebTemplateTest.cs (2)
67
Project
GetTargetProject(
Project
rootProject)
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