36 instantiations of TestManifestValue
Aspire.Hosting.Tests (36)
ManifestExpressionTests.cs (33)
25
var secret = new
TestManifestValue
("{vault.custom.key}", (_, _) =>
187
var custom = new
TestManifestValue
("{frontend.customProperty}", (context, _) =>
210
var first = new
TestManifestValue
("{opaque}", (_, _) =>
215
var second = new
TestManifestValue
("{opaque}", (_, _) =>
250
var wrapper = new
TestManifestValue
(inner.ValueExpression, (_, _) =>
266
var provider = new
TestManifestValue
("{opaque}", (_, _) =>
271
var wrapper = new
TestManifestValue
("prefix/{opaque}/{opaque}", (_, _) =>
286
var first = new
TestManifestValue
("{opaque}", (_, _) => throw new InvalidOperationException("Do not resolve first."));
287
var second = new
TestManifestValue
("{opaque}", (_, _) => throw new InvalidOperationException("Do not resolve second."));
288
var wrapper = new
TestManifestValue
("prefix/{opaque}/{opaque}", (_, _) =>
324
var symbolic = new
TestManifestValue
("{public-host.value}", (_, _) =>
338
var literal = new
TestManifestValue
("path with spaces/{{literal}}", (_, _) =>
357
var wrapper = new
TestManifestValue
("prefix/{host.value}/{{literal}}?q={query.value}&again={host.value}",
380
var custom = new
TestManifestValue
("path with spaces/{{literal}}", (_, _) =>
387
var wrapper = new
TestManifestValue
(conditional.ValueExpression, (_, _) =>
407
var wrapped = new
TestManifestValue
(origin.ValueExpression, (_, _) =>
518
var wrapper = new
TestManifestValue
("https://{infra.outputs.host}/signin-oidc",
538
var wrapper = new
TestManifestValue
("segment/{query.value}", (_, _) =>
547
var browser = new
TestManifestValue
(conditional.ValueExpression, (_, _) =>
563
var concrete = new
TestManifestValue
("one two/%", (_, _) =>
570
var browser = new
TestManifestValue
(inner.ValueExpression, (_, _) =>
588
var opaque = new
TestManifestValue
(token, (_, _) =>
624
var custom = new
TestManifestValue
("{frontend.customProperty}", (_, _) => ValueTask.FromResult<string?>("concrete"));
625
var inactive = new
TestManifestValue
("{frontend.inactiveProperty}", (_, _) =>
629
var inner = new
TestManifestValue
(selected.ValueExpression, (_, _) =>
631
var wrapper = new
TestManifestValue
($"redirect={inner.ValueExpression}", (_, _) =>
650
var custom = new
TestManifestValue
("{frontend.customProperty}", (_, _) => ValueTask.FromResult<string?>("concrete"));
651
var wrapper = new
TestManifestValue
(
667
var value = new
TestManifestValue
("{frontend.customProperty}", (_, _) =>
682
var value = new
TestManifestValue
("{frontend.customProperty}", (_, _) => ValueTask.FromResult<string?>(null));
696
var first = new
TestManifestValue
("{custom.value}", (_, _) =>
698
references[0] = new
TestManifestValue
("{custom.value}", (_, _) =>
714
var value = new
TestManifestValue
("{frontend.customProperty}", (context, token) =>
Schema\SchemaTests.cs (3)
56
var custom = new
TestManifestValue
("{frontend.customProperty}", (_, _) =>
60
var wrapper = new
TestManifestValue
(selected.ValueExpression, (_, _) =>
62
var formatted = new
TestManifestValue
("prefix/{public-host.value}", (_, _) =>
35 references to TestManifestValue
Aspire.Hosting.Tests (35)
ManifestExpressionTests.cs (32)
25
var
secret = new TestManifestValue("{vault.custom.key}", (_, _) =>
187
var
custom = new TestManifestValue("{frontend.customProperty}", (context, _) =>
210
var
first = new TestManifestValue("{opaque}", (_, _) =>
215
var
second = new TestManifestValue("{opaque}", (_, _) =>
250
var
wrapper = new TestManifestValue(inner.ValueExpression, (_, _) =>
266
var
provider = new TestManifestValue("{opaque}", (_, _) =>
271
var
wrapper = new TestManifestValue("prefix/{opaque}/{opaque}", (_, _) =>
286
var
first = new TestManifestValue("{opaque}", (_, _) => throw new InvalidOperationException("Do not resolve first."));
287
var
second = new TestManifestValue("{opaque}", (_, _) => throw new InvalidOperationException("Do not resolve second."));
288
var
wrapper = new TestManifestValue("prefix/{opaque}/{opaque}", (_, _) =>
324
var
symbolic = new TestManifestValue("{public-host.value}", (_, _) =>
338
var
literal = new TestManifestValue("path with spaces/{{literal}}", (_, _) =>
357
var
wrapper = new TestManifestValue("prefix/{host.value}/{{literal}}?q={query.value}&again={host.value}",
380
var
custom = new TestManifestValue("path with spaces/{{literal}}", (_, _) =>
387
var
wrapper = new TestManifestValue(conditional.ValueExpression, (_, _) =>
407
var
wrapped = new TestManifestValue(origin.ValueExpression, (_, _) =>
518
var
wrapper = new TestManifestValue("https://{infra.outputs.host}/signin-oidc",
538
var
wrapper = new TestManifestValue("segment/{query.value}", (_, _) =>
547
var
browser = new TestManifestValue(conditional.ValueExpression, (_, _) =>
563
var
concrete = new TestManifestValue("one two/%", (_, _) =>
570
var
browser = new TestManifestValue(inner.ValueExpression, (_, _) =>
588
var
opaque = new TestManifestValue(token, (_, _) =>
624
var
custom = new TestManifestValue("{frontend.customProperty}", (_, _) => ValueTask.FromResult<string?>("concrete"));
625
var
inactive = new TestManifestValue("{frontend.inactiveProperty}", (_, _) =>
629
var
inner = new TestManifestValue(selected.ValueExpression, (_, _) =>
631
var
wrapper = new TestManifestValue($"redirect={inner.ValueExpression}", (_, _) =>
650
var
custom = new TestManifestValue("{frontend.customProperty}", (_, _) => ValueTask.FromResult<string?>("concrete"));
651
var
wrapper = new TestManifestValue(
667
var
value = new TestManifestValue("{frontend.customProperty}", (_, _) =>
682
var
value = new TestManifestValue("{frontend.customProperty}", (_, _) => ValueTask.FromResult<string?>(null));
696
var
first = new TestManifestValue("{custom.value}", (_, _) =>
714
var
value = new TestManifestValue("{frontend.customProperty}", (context, token) =>
Schema\SchemaTests.cs (3)
56
var
custom = new TestManifestValue("{frontend.customProperty}", (_, _) =>
60
var
wrapper = new TestManifestValue(selected.ValueExpression, (_, _) =>
62
var
formatted = new TestManifestValue("prefix/{public-host.value}", (_, _) =>