logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class InterfaceStubGeneratorTests

    Tests for Serenity.Global.Infrastructure.Editor.Migration.Core.InterfaceStubGenerator: multi-interface base lists, partial classes (cross-file member lookup), no duplicate stubs for already-implemented members, marker text, throwing void members and using injection.

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

    Constructors

    InterfaceStubGeneratorTests()

    Declaration
    public InterfaceStubGeneratorTests()

    Methods

    AlreadyImplementedMember_IsNotDuplicated()

    Declaration
    public void AlreadyImplementedMember_IsNotDuplicated()

    ClassClosingBrace_KeepsIndentation()

    Declaration
    public void ClassClosingBrace_KeepsIndentation()

    FullyImplemented_IsNoMatch()

    Declaration
    public void FullyImplemented_IsNoMatch()

    GeneratedStubs_AreIdempotent()

    Declaration
    public void GeneratedStubs_AreIdempotent()

    GeneratesStub_WithMarker_AndThrowingVoidBody()

    Declaration
    public void GeneratesStub_WithMarker_AndThrowingVoidBody()

    MultiInterfaceBaseList_IsRecognized()

    Declaration
    public void MultiInterfaceBaseList_IsRecognized()

    NonImplementingClass_IsNoMatch()

    Declaration
    public void NonImplementingClass_IsNoMatch()

    PartialClass_MemberInOtherFile_IsNotStubbed()

    Declaration
    public void PartialClass_MemberInOtherFile_IsNotStubbed()

    PartialClass_MemberNowhere_IsStubbed()

    Declaration
    public void PartialClass_MemberNowhere_IsStubbed()

    RequiredUsings_AreInjected_Once()

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