2 instantiations of E2EAppEntry
Microsoft.AspNetCore.Components.Testing (1)
E2EManifestJsonContext.E2EAppEntry.g.cs (1)
31
ObjectCreator = () => new global::Microsoft.AspNetCore.Components.Testing.Infrastructure.
E2EAppEntry
(),
Microsoft.AspNetCore.Components.Testing.Tests (1)
E2EManifestTests.cs (1)
84
manifest.Apps["TestApp"] = new
E2EAppEntry
{ Executable = "dotnet", Arguments = "run --no-launch-profile", WorkingDirectory = "/test" };
74 references to E2EAppEntry
Microsoft.AspNetCore.Components.Testing (60)
E2EManifestJsonContext.DictionaryStringE2EAppEntry.g.cs (13)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.Dictionary<string, global::Microsoft.AspNetCore.Components.Testing.Infrastructure.
E2EAppEntry
>>? _DictionaryStringE2EAppEntry;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.Dictionary<string, global::Microsoft.AspNetCore.Components.Testing.Infrastructure.
E2EAppEntry
>> DictionaryStringE2EAppEntry
22
get => _DictionaryStringE2EAppEntry ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.Dictionary<string, global::Microsoft.AspNetCore.Components.Testing.Infrastructure.
E2EAppEntry
>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.Dictionary<string, global::Microsoft.AspNetCore.Components.Testing.Infrastructure.
E2EAppEntry
>));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.Dictionary<string, global::Microsoft.AspNetCore.Components.Testing.Infrastructure.
E2EAppEntry
>> Create_DictionaryStringE2EAppEntry(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.Dictionary<string, global::Microsoft.AspNetCore.Components.Testing.Infrastructure.
E2EAppEntry
>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.Dictionary<string, global::Microsoft.AspNetCore.Components.Testing.Infrastructure.
E2EAppEntry
>> jsonTypeInfo))
29
var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.Dictionary<string, global::Microsoft.AspNetCore.Components.Testing.Infrastructure.
E2EAppEntry
>>
31
ObjectCreator = () => new global::System.Collections.Generic.Dictionary<string, global::Microsoft.AspNetCore.Components.Testing.Infrastructure.
E2EAppEntry
>(),
35
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateDictionaryInfo<global::System.Collections.Generic.Dictionary<string, global::Microsoft.AspNetCore.Components.Testing.Infrastructure.
E2EAppEntry
>, string, global::Microsoft.AspNetCore.Components.Testing.Infrastructure.
E2EAppEntry
>(options, info);
45
private void DictionaryStringE2EAppEntrySerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.Dictionary<string, global::Microsoft.AspNetCore.Components.Testing.Infrastructure.
E2EAppEntry
>? value)
55
foreach (global::System.Collections.Generic.KeyValuePair<string, global::Microsoft.AspNetCore.Components.Testing.Infrastructure.
E2EAppEntry
> entry in value)
E2EManifestJsonContext.E2EAppEntry.g.cs (36)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.Testing.Infrastructure.
E2EAppEntry
>? _E2EAppEntry;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.Testing.Infrastructure.
E2EAppEntry
> E2EAppEntry
22
get => _E2EAppEntry ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.Testing.Infrastructure.
E2EAppEntry
>)Options.GetTypeInfo(typeof(global::Microsoft.AspNetCore.Components.Testing.Infrastructure.
E2EAppEntry
));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.Testing.Infrastructure.
E2EAppEntry
> Create_E2EAppEntry(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.AspNetCore.Components.Testing.Infrastructure.
E2EAppEntry
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.Testing.Infrastructure.
E2EAppEntry
> jsonTypeInfo))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.AspNetCore.Components.Testing.Infrastructure.
E2EAppEntry
>
35
ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.Testing.Infrastructure.
E2EAppEntry
).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
39
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.AspNetCore.Components.Testing.Infrastructure.
E2EAppEntry
>(options, objectInfo);
56
DeclaringType = typeof(global::Microsoft.AspNetCore.Components.Testing.Infrastructure.
E2EAppEntry
),
58
Getter = static obj => ((global::Microsoft.AspNetCore.Components.Testing.Infrastructure.
E2EAppEntry
)obj).Executable,
59
Setter = static (obj, value) => ((global::Microsoft.AspNetCore.Components.Testing.Infrastructure.
E2EAppEntry
)obj).Executable = value!,
66
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.Testing.Infrastructure.
E2EAppEntry
).GetProperty("Executable", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
78
DeclaringType = typeof(global::Microsoft.AspNetCore.Components.Testing.Infrastructure.
E2EAppEntry
),
80
Getter = static obj => ((global::Microsoft.AspNetCore.Components.Testing.Infrastructure.
E2EAppEntry
)obj).Arguments,
81
Setter = static (obj, value) => ((global::Microsoft.AspNetCore.Components.Testing.Infrastructure.
E2EAppEntry
)obj).Arguments = value!,
88
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.Testing.Infrastructure.
E2EAppEntry
).GetProperty("Arguments", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
100
DeclaringType = typeof(global::Microsoft.AspNetCore.Components.Testing.Infrastructure.
E2EAppEntry
),
102
Getter = static obj => ((global::Microsoft.AspNetCore.Components.Testing.Infrastructure.
E2EAppEntry
)obj).WorkingDirectory,
103
Setter = static (obj, value) => ((global::Microsoft.AspNetCore.Components.Testing.Infrastructure.
E2EAppEntry
)obj).WorkingDirectory = value!,
110
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.Testing.Infrastructure.
E2EAppEntry
).GetProperty("WorkingDirectory", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
120
DeclaringType = typeof(global::Microsoft.AspNetCore.Components.Testing.Infrastructure.
E2EAppEntry
),
122
Getter = static obj => ((global::Microsoft.AspNetCore.Components.Testing.Infrastructure.
E2EAppEntry
)obj).PublicUrl,
123
Setter = static (obj, value) => ((global::Microsoft.AspNetCore.Components.Testing.Infrastructure.
E2EAppEntry
)obj).PublicUrl = value!,
130
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.Testing.Infrastructure.
E2EAppEntry
).GetProperty("PublicUrl", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
140
DeclaringType = typeof(global::Microsoft.AspNetCore.Components.Testing.Infrastructure.
E2EAppEntry
),
142
Getter = static obj => ((global::Microsoft.AspNetCore.Components.Testing.Infrastructure.
E2EAppEntry
)obj).EnvironmentVariables,
143
Setter = static (obj, value) => ((global::Microsoft.AspNetCore.Components.Testing.Infrastructure.
E2EAppEntry
)obj).EnvironmentVariables = value!,
150
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.Testing.Infrastructure.
E2EAppEntry
).GetProperty("EnvironmentVariables", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.Dictionary<string, string>), global::System.Array.Empty<global::System.Type>(), null),
162
private void E2EAppEntrySerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.AspNetCore.Components.Testing.Infrastructure.
E2EAppEntry
? value)
172
writer.WriteString(PropName_executable, ((global::Microsoft.AspNetCore.Components.Testing.Infrastructure.
E2EAppEntry
)value).Executable);
173
writer.WriteString(PropName_arguments, ((global::Microsoft.AspNetCore.Components.Testing.Infrastructure.
E2EAppEntry
)value).Arguments);
174
writer.WriteString(PropName_workingDirectory, ((global::Microsoft.AspNetCore.Components.Testing.Infrastructure.
E2EAppEntry
)value).WorkingDirectory);
175
writer.WriteString(PropName_publicUrl, ((global::Microsoft.AspNetCore.Components.Testing.Infrastructure.
E2EAppEntry
)value).PublicUrl);
177
DictionaryStringStringSerializeHandler(writer, ((global::Microsoft.AspNetCore.Components.Testing.Infrastructure.
E2EAppEntry
)value).EnvironmentVariables);
E2EManifestJsonContext.E2EManifest.g.cs (3)
51
var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.Dictionary<string, global::Microsoft.AspNetCore.Components.Testing.Infrastructure.
E2EAppEntry
>>
66
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.Testing.Infrastructure.E2EManifest).GetProperty("Apps", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.Dictionary<string, global::Microsoft.AspNetCore.Components.Testing.Infrastructure.
E2EAppEntry
>), global::System.Array.Empty<global::System.Type>(), null),
69
properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.Dictionary<string, global::Microsoft.AspNetCore.Components.Testing.Infrastructure.
E2EAppEntry
>>(options, info0);
E2EManifestJsonContext.GetJsonTypeInfo.g.cs (2)
22
if (type == typeof(global::Microsoft.AspNetCore.Components.Testing.Infrastructure.
E2EAppEntry
))
30
if (type == typeof(global::System.Collections.Generic.Dictionary<string, global::Microsoft.AspNetCore.Components.Testing.Infrastructure.
E2EAppEntry
>))
Infrastructure\E2EManifest.cs (3)
12
public Dictionary<string,
E2EAppEntry
> Apps { get; set; } = new();
14
public
E2EAppEntry
? GetApp(string appName)
16
Apps.TryGetValue(appName, out
var
entry);
Infrastructure\ServerFixture.cs (1)
151
var
appEntry = Manifest.GetApp(appName)
Infrastructure\ServerInstance.cs (2)
70
E2EAppEntry
appEntry,
196
static ProcessStartInfo BuildProcessStartInfo(
E2EAppEntry
appEntry)
Microsoft.AspNetCore.Components.Testing.Tests (14)
E2EManifestTests.cs (6)
36
var
app = manifest.Apps["MyApp"];
63
var
app = manifest!.Apps["PublishedApp"];
86
var
result = manifest.GetApp("TestApp");
97
var
result = manifest.GetApp("NonExistent");
139
var
buildEntry = manifest.GetApp("MyApp");
145
var
publishedEntry = manifest.GetApp("publish/MyApp");
GenerateE2EManifestTaskTests.cs (8)
49
var
entry = manifest.GetApp("MyApp");
72
var
entry = manifest.GetApp("MyApp");
113
var
entry = manifest.GetApp("MyApp");
140
var
entry = manifest.GetApp("MyApp");
185
var
buildEntry = manifest.GetApp("MyApp");
192
var
publishEntry = manifest.GetApp("publish/MyApp");
217
var
entry = manifest.GetApp("MyApp");
263
var
entry = manifest.GetApp("MyApp");