From 6f1ef57e7808c81548966e3c987f9b44caddf677 Mon Sep 17 00:00:00 2001 From: filzrev <103790468+filzrev@users.noreply.github.com> Date: Mon, 12 Feb 2024 11:10:04 +0900 Subject: [PATCH] chore: Update public API snapshot & disable `AutoVerify` on CI build (#9692) chore: update public-api test snapshot --- test/docfx.Tests/Api.verified.cs | 4 ++++ test/docfx.Tests/PublicApiContractTest.cs | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/test/docfx.Tests/Api.verified.cs b/test/docfx.Tests/Api.verified.cs index c79fa61d103..0933d8366bb 100644 --- a/test/docfx.Tests/Api.verified.cs +++ b/test/docfx.Tests/Api.verified.cs @@ -517,6 +517,10 @@ public static class MarkdownTocReader { public static System.Collections.Generic.List LoadToc(string tocContent, string filePath) { } } + public static class TocHelper + { + public static Docfx.DataContracts.Common.TocItemViewModel LoadSingleToc(string file) { } + } } namespace Docfx.Build.Common { diff --git a/test/docfx.Tests/PublicApiContractTest.cs b/test/docfx.Tests/PublicApiContractTest.cs index fa854a76704..a644c409b86 100644 --- a/test/docfx.Tests/PublicApiContractTest.cs +++ b/test/docfx.Tests/PublicApiContractTest.cs @@ -18,7 +18,7 @@ public static Task TestPublicApiContract() .OrderBy(a => a.FullName) .Select(a => a.GeneratePublicApi(new() { IncludeAssemblyAttributes = false }))); - return Verify(new Target("cs", publicApi)).UseFileName("Api").AutoVerify(); + return Verify(new Target("cs", publicApi)).UseFileName("Api").AutoVerify(includeBuildServer: false); void GetAssemblies(Assembly assembly) {