2 implementations of AppHostAssembly
Aspire.Hosting.Testing (2)
DistributedApplicationTestingBuilder.cs (2)
520
public Assembly?
AppHostAssembly
=> innerBuilder.AppHostAssembly;
683
public Assembly?
AppHostAssembly
=> _innerBuilder.AppHostAssembly;
5 references to AppHostAssembly
Aspire.Playground.Tests (5)
AppHostTests.cs (5)
91
_testOutput.WriteLine($"Waiting for resource '{wait.ResourceName}' to reach state '{wait.TargetState}' in app '{appHost.
AppHostAssembly
}'");
107
sb.AppendLine($"Timed out waiting for resource '{waits[i].ResourceName}' to reach state '{waits[i].TargetState}' in app '{appHost.
AppHostAssembly
}'");
131
_testOutput.WriteLine($"Calling endpoint '{client.BaseAddress}{path.TrimStart('/')} for resource '{resource}' in app '{appHost.
AppHostAssembly
}'");
138
throw new XunitException($"Endpoint '{client.BaseAddress}{path.TrimStart('/')}' for resource '{resource}' in app '{appHost.
AppHostAssembly
}' timed out", tre);
141
Assert.True(HttpStatusCode.OK == response.StatusCode, $"Endpoint '{client.BaseAddress}{path.TrimStart('/')}' for resource '{resource}' in app '{appHost.
AppHostAssembly
}' returned status code {response.StatusCode}");