Skip to main content

MSTestRefactoringVerifier<TRefactoringProvider> Class

Namespace: Roslynator.Testing.CSharp.MSTest

Assembly: Roslynator.Testing.CSharp.MSTest.dll

Represents verifier for a C# code refactoring.

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

Type Parameters

TRefactoringProvider

Inheritance

Object CodeVerifier RefactoringVerifier<TRefactoringProvider> CSharpRefactoringVerifier<TRefactoringProvider> MSTestRefactoringVerifier<TRefactoringProvider>

Constructors

ConstructorSummary
MSTestRefactoringVerifier()Initializes a new instance of MSTestRefactoringVerifier<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>)