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