Skip to main content

XunitRefactoringVerifier<TRefactoringProvider> Class

Namespace: Roslynator.Testing.CSharp.Xunit

Assembly: Roslynator.Testing.CSharp.Xunit.dll

Represents verifier for a C# code refactoring.

public abstract class XunitRefactoringVerifier<TRefactoringProvider> : Roslynator.Testing.CSharp.CSharpRefactoringVerifier<TRefactoringProvider> where TRefactoringProvider : Microsoft.CodeAnalysis.CodeRefactorings.CodeRefactoringProvider, new()

Type Parameters

TRefactoringProvider

Inheritance

Object CodeVerifier RefactoringVerifier<TRefactoringProvider> CSharpRefactoringVerifier<TRefactoringProvider> XunitRefactoringVerifier<TRefactoringProvider>

Constructors

ConstructorSummary
XunitRefactoringVerifier()Initializes a new instance of XunitRefactoringVerifier<TRefactoringProvider>.

Properties

PropertySummary
CommonOptionsGets common test options. (Inherited from CSharpRefactoringVerifier<TRefactoringProvider>)
OptionsGets a test options. (Inherited from CSharpRefactoringVerifier<TRefactoringProvider>)

Methods

MethodSummary
Equals(Object)(Inherited from Object)
GetHashCode()(Inherited from Object)
GetType()(Inherited from Object)
MemberwiseClone()(Inherited from Object)
ToString()(Inherited from Object)
VerifyNoRefactoringAsync(RefactoringTestData, TestOptions, CancellationToken)Verifies that refactoring will not be applied using specified TRefactoringProvider. (Inherited from RefactoringVerifier<TRefactoringProvider>)
VerifyNoRefactoringAsync(String, String, TestOptions, CancellationToken)Verifies that refactoring will not be applied using specified TRefactoringProvider. (Inherited from RefactoringVerifier<TRefactoringProvider>)
VerifyRefactoringAsync(RefactoringTestData, ExpectedTestState, TestOptions, CancellationToken)Verifies that refactoring will be applied correctly using specified TRefactoringProvider. (Inherited from RefactoringVerifier<TRefactoringProvider>)
VerifyRefactoringAsync(String, String, IEnumerable<String>, String, TestOptions, CancellationToken)Verifies that refactoring will be applied correctly using specified TRefactoringProvider. (Inherited from RefactoringVerifier<TRefactoringProvider>)