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.
Inherited Members
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()