Skip to content

Commit

Permalink
Fix broken unit test, the class generates triple slash comments now.
Browse files Browse the repository at this point in the history
  • Loading branch information
IEvangelist committed Mar 22, 2022
1 parent f0f2c3e commit cd8780d
Showing 1 changed file with 24 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -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;

Expand All @@ -28,20 +27,44 @@ public void CorrectlyConvertsTypeScriptInterfaceToCSharpClass()
namespace Microsoft.JSInterop;
/// <summary>
/// Source-generated object representing an ideally immutable <c>MediaKeySystemConfiguration</c> value.
/// </summary>
public class MediaKeySystemConfiguration
{
/// <summary>
/// Source-generated property representing the <c>MediaKeySystemConfiguration.audioCapabilities</c> value.
/// </summary>
[JsonPropertyName(""audioCapabilities"")]
public MediaKeySystemMediaCapability[]? AudioCapabilities { get; set; } = default!;
/// <summary>
/// Source-generated property representing the <c>MediaKeySystemConfiguration.distinctiveIdentifier</c> value.
/// </summary>
[JsonPropertyName(""distinctiveIdentifier"")]
public MediaKeysRequirement? DistinctiveIdentifier { get; set; } = default!;
/// <summary>
/// Source-generated property representing the <c>MediaKeySystemConfiguration.initDataTypes</c> value.
/// </summary>
[JsonPropertyName(""initDataTypes"")]
public string[]? InitDataTypes { get; set; } = default!;
/// <summary>
/// Source-generated property representing the <c>MediaKeySystemConfiguration.label</c> value.
/// </summary>
[JsonPropertyName(""label"")]
public string? Label { get; set; } = default!;
/// <summary>
/// Source-generated property representing the <c>MediaKeySystemConfiguration.persistentState</c> value.
/// </summary>
[JsonPropertyName(""persistentState"")]
public MediaKeysRequirement? PersistentState { get; set; } = default!;
/// <summary>
/// Source-generated property representing the <c>MediaKeySystemConfiguration.sessionTypes</c> value.
/// </summary>
[JsonPropertyName(""sessionTypes"")]
public string[]? SessionTypes { get; set; } = default!;
/// <summary>
/// Source-generated property representing the <c>MediaKeySystemConfiguration.videoCapabilities</c> value.
/// </summary>
[JsonPropertyName(""videoCapabilities"")]
public MediaKeySystemMediaCapability[]? VideoCapabilities { get; set; } = default!;
}
Expand Down

0 comments on commit cd8780d

Please sign in to comment.