From b5e6bec0ea9efda632839ae1efcdfec73a6235d7 Mon Sep 17 00:00:00 2001 From: genteure Date: Mon, 10 Jul 2023 21:48:56 +0800 Subject: [PATCH] misc: fix test --- .../Expectations/PublicApi.HasNoChangesAsync.verified.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/BililiveRecorder.Core.UnitTests/Expectations/PublicApi.HasNoChangesAsync.verified.txt b/test/BililiveRecorder.Core.UnitTests/Expectations/PublicApi.HasNoChangesAsync.verified.txt index e47b4ea..3268ebc 100644 --- a/test/BililiveRecorder.Core.UnitTests/Expectations/PublicApi.HasNoChangesAsync.verified.txt +++ b/test/BililiveRecorder.Core.UnitTests/Expectations/PublicApi.HasNoChangesAsync.verified.txt @@ -77,6 +77,7 @@ namespace BililiveRecorder.Core.Config.V3 public string Cookie { get; } public BililiveRecorder.Core.Config.CuttingMode CuttingMode { get; } public uint CuttingNumber { get; } + public bool DanmakuAuthenticateWithStreamerUid { get; } public BililiveRecorder.Core.Config.DanmakuTransportMode DanmakuTransport { get; } public string FileNameRecordTemplate { get; } public bool FlvProcessorSplitOnScriptTag { get; } @@ -113,6 +114,7 @@ namespace BililiveRecorder.Core.Config.V3 public string? Cookie { get; set; } public BililiveRecorder.Core.Config.CuttingMode CuttingMode { get; set; } public uint CuttingNumber { get; set; } + public bool DanmakuAuthenticateWithStreamerUid { get; set; } public BililiveRecorder.Core.Config.DanmakuTransportMode DanmakuTransport { get; set; } public string? FileNameRecordTemplate { get; set; } public bool FlvProcessorSplitOnScriptTag { get; set; } @@ -120,6 +122,7 @@ namespace BililiveRecorder.Core.Config.V3 public bool HasCookie { get; set; } public bool HasCuttingMode { get; set; } public bool HasCuttingNumber { get; set; } + public bool HasDanmakuAuthenticateWithStreamerUid { get; set; } public bool HasDanmakuTransport { get; set; } public bool HasFileNameRecordTemplate { get; set; } public bool HasFlvProcessorSplitOnScriptTag { get; set; } @@ -157,6 +160,8 @@ namespace BililiveRecorder.Core.Config.V3 public HierarchicalPropertyDefault.Optional OptionalCuttingMode { get; set; } [Newtonsoft.Json.JsonProperty("CuttingNumber")] public HierarchicalPropertyDefault.Optional OptionalCuttingNumber { get; set; } + [Newtonsoft.Json.JsonProperty("DanmakuAuthenticateWithStreamerUid")] + public HierarchicalPropertyDefault.Optional OptionalDanmakuAuthenticateWithStreamerUid { get; set; } [Newtonsoft.Json.JsonProperty("DanmakuTransport")] public HierarchicalPropertyDefault.Optional OptionalDanmakuTransport { get; set; } [Newtonsoft.Json.JsonProperty("FileNameRecordTemplate")] @@ -249,6 +254,7 @@ namespace BililiveRecorder.Core.Config.V3 public string? Cookie { get; } public BililiveRecorder.Core.Config.CuttingMode CuttingMode { get; set; } public uint CuttingNumber { get; set; } + public bool DanmakuAuthenticateWithStreamerUid { get; } public BililiveRecorder.Core.Config.DanmakuTransportMode DanmakuTransport { get; } public string? FileNameRecordTemplate { get; } public bool FlvProcessorSplitOnScriptTag { get; set; } @@ -446,6 +452,7 @@ namespace BililiveRecorder.Core BililiveRecorder.Core.RoomStats Stats { get; } bool Streaming { get; } string Title { get; } + long Uid { get; } event System.EventHandler? IOStats; event System.EventHandler? RecordFileClosed; event System.EventHandler? RecordFileOpening; @@ -541,6 +548,7 @@ namespace BililiveRecorder.Core.Templating public int RoomId { get; set; } public int ShortId { get; set; } public string Title { get; set; } + public long Uid { get; set; } } public readonly struct FileNameTemplateOutput {