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