8 instantiations of TestingContext
Aspire.Hosting (1)
TestResourceBuilderExtensions.cs (1)
86
testingContext = new
TestingContext
(Path.GetFullPath(outputPath));
Aspire.Hosting.RemoteHost.Tests (1)
JsonRpcCallbackInvokerTests.cs (1)
74
var testingContext = new ResourceTestingContext(new
TestingContext
(AppContext.BaseDirectory),
Aspire.Hosting.Tests (6)
Cli\TestingCollectorTests.cs (6)
235
var context = new ResourceTestingContext(new
TestingContext
("run-output"), "tests", "resource-output",
250
var context = new ResourceTestingContext(new
TestingContext
("run-output"), "tests", "resource-output",
968
var context = new ResourceTestingContext(new
TestingContext
(workspace.WorkspaceRoot.FullName),
985
var context = new ResourceTestingContext(new
TestingContext
(workspace.WorkspaceRoot.FullName),
1004
var context = new ResourceTestingContext(new
TestingContext
(workspace.WorkspaceRoot.FullName),
1030
var context = new ResourceTestingContext(new
TestingContext
(workspace.WorkspaceRoot.FullName),
7 references to TestingContext
Aspire.Hosting (5)
ApplicationModel\ResourceTestingContext.cs (2)
34
internal ResourceTestingContext(
TestingContext
testingContext, string resourceName, string outputPath,
49
public
TestingContext
TestingContext { get; }
ApplicationModel\TestingAnnotation.cs (1)
56
internal
TestingContext
? TestingContext { get; init; }
Cli\TestRunCoordinator.cs (1)
289
private async Task<(bool Passed, string? Error)> RunCollectorAsync(string resourceName,
TestingContext
testingContext, string outputPath,
TestResourceBuilderExtensions.cs (1)
79
var
testingContext = annotation?.TestingContext;
Aspire.Hosting.Tests (2)
Cli\TestingCollectorTests.cs (2)
164
Assert.All(new[] { typeof(ResourceTestingContext), typeof(
TestingContext
),
704
var
testingContext = annotation.TestingContext;