From cd8780d141c31e7c784fcbc07c7a8d2d3ca34fbe Mon Sep 17 00:00:00 2001 From: David Pine Date: Tue, 22 Mar 2022 09:28:41 -0500 Subject: [PATCH] Fix broken unit test, the class generates triple slash comments now. --- .../LibDomParserInterfacesTests.cs | 25 ++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/tests/Blazor.SourceGenerators.Tests/LibDomParserInterfacesTests.cs b/tests/Blazor.SourceGenerators.Tests/LibDomParserInterfacesTests.cs index 0fa777c..5b46582 100644 --- a/tests/Blazor.SourceGenerators.Tests/LibDomParserInterfacesTests.cs +++ b/tests/Blazor.SourceGenerators.Tests/LibDomParserInterfacesTests.cs @@ -1,7 +1,6 @@ // Copyright (c) David Pine. All rights reserved. // Licensed under the MIT License. -using Blazor.Serialization.Extensions; using Blazor.SourceGenerators.Parsers; using Xunit; @@ -28,20 +27,44 @@ public void CorrectlyConvertsTypeScriptInterfaceToCSharpClass() namespace Microsoft.JSInterop; +/// +/// Source-generated object representing an ideally immutable MediaKeySystemConfiguration value. +/// public class MediaKeySystemConfiguration { + /// + /// Source-generated property representing the MediaKeySystemConfiguration.audioCapabilities value. + /// [JsonPropertyName(""audioCapabilities"")] public MediaKeySystemMediaCapability[]? AudioCapabilities { get; set; } = default!; + /// + /// Source-generated property representing the MediaKeySystemConfiguration.distinctiveIdentifier value. + /// [JsonPropertyName(""distinctiveIdentifier"")] public MediaKeysRequirement? DistinctiveIdentifier { get; set; } = default!; + /// + /// Source-generated property representing the MediaKeySystemConfiguration.initDataTypes value. + /// [JsonPropertyName(""initDataTypes"")] public string[]? InitDataTypes { get; set; } = default!; + /// + /// Source-generated property representing the MediaKeySystemConfiguration.label value. + /// [JsonPropertyName(""label"")] public string? Label { get; set; } = default!; + /// + /// Source-generated property representing the MediaKeySystemConfiguration.persistentState value. + /// [JsonPropertyName(""persistentState"")] public MediaKeysRequirement? PersistentState { get; set; } = default!; + /// + /// Source-generated property representing the MediaKeySystemConfiguration.sessionTypes value. + /// [JsonPropertyName(""sessionTypes"")] public string[]? SessionTypes { get; set; } = default!; + /// + /// Source-generated property representing the MediaKeySystemConfiguration.videoCapabilities value. + /// [JsonPropertyName(""videoCapabilities"")] public MediaKeySystemMediaCapability[]? VideoCapabilities { get; set; } = default!; }