logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityDocfxWritersTests

    Tests for the path-parameterized DocFX file-writing helpers that accept an explicit docsDir and therefore can be exercised against a temp directory without touching the real project: Serenity.Global.Infrastructure.Editor.Utils.UnityDocfxScaffoldWriter, Serenity.Global.Infrastructure.Editor.Utils.UnityDocfxTemplateWriter and Serenity.Global.Infrastructure.Editor.Utils.UnityDocfxCacheCleaner.CleanApiFolder(System.String). The members that resolve their destination from Serenity.Global.Infrastructure.Editor.Utils.UnityDocsPaths (e.g. CleanAllCaches, UnityDocfxConfigurationWriter.Generate, UnityDocfxBrandingWriter.EnsureMinimalBrandFiles) would write into the live project docs folder and are intentionally not invoked here. Editor-only.

    Inheritance
    object
    UnityDocfxWritersTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.UnityGlobal.Tests.Editor
    Assembly: Tests.Editor.dll
    Syntax
    public class UnityDocfxWritersTests

    Constructors

    UnityDocfxWritersTests()

    Declaration
    public UnityDocfxWritersTests()

    Methods

    CacheCleaner_CleanApiFolder_DeletesSiteFolder()

    Declaration
    public void CacheCleaner_CleanApiFolder_DeletesSiteFolder()

    CacheCleaner_CleanApiFolder_DeletesYmlAndJson()

    Declaration
    public void CacheCleaner_CleanApiFolder_DeletesYmlAndJson()

    CacheCleaner_CleanApiFolder_KeepsIndexMdButDeletesOtherMd()

    Declaration
    public void CacheCleaner_CleanApiFolder_KeepsIndexMdButDeletesOtherMd()

    CacheCleaner_CleanApiFolder_MissingApiDir_DoesNotThrow()

    Declaration
    public void CacheCleaner_CleanApiFolder_MissingApiDir_DoesNotThrow()

    ScaffoldWriter_EnsureScaffold_CreatesFolderStructure()

    Declaration
    public void ScaffoldWriter_EnsureScaffold_CreatesFolderStructure()

    ScaffoldWriter_EnsureScaffold_CreatesIndexFiles()

    Declaration
    public void ScaffoldWriter_EnsureScaffold_CreatesIndexFiles()

    ScaffoldWriter_EnsureScaffold_DoesNotOverwriteExistingIndex()

    Declaration
    public void ScaffoldWriter_EnsureScaffold_DoesNotOverwriteExistingIndex()

    ScaffoldWriter_EnsureScaffold_Idempotent()

    Declaration
    public void ScaffoldWriter_EnsureScaffold_Idempotent()

    SetUp()

    Declaration
    public void SetUp()

    TearDown()

    Declaration
    public void TearDown()

    TemplateWriter_EnsureTemplateOverride_WritesPartials()

    Declaration
    public void TemplateWriter_EnsureTemplateOverride_WritesPartials()

    TemplateWriter_FooterContainsCurrentYear()

    Declaration
    public void TemplateWriter_FooterContainsCurrentYear()

    TemplateWriter_LogoReferencesBrandAssets()

    Declaration
    public void TemplateWriter_LogoReferencesBrandAssets()
    In this article
    © 2026 Serenity. All Rights Reserved