Skip to main content

RefactoringVerifier<TRefactoringProvider> Class

Namespace: Roslynator.Testing

Assembly: Roslynator.Testing.Common.dll

Represents verifier for a code refactoring.

public abstract class RefactoringVerifier<TRefactoringProvider> : Roslynator.Testing.CodeVerifier where TRefactoringProvider : Microsoft.CodeAnalysis.CodeRefactorings.CodeRefactoringProvider, new()

Type Parameters

TRefactoringProvider

Inheritance

Object CodeVerifier RefactoringVerifier<TRefactoringProvider>

Derived

Properties

PropertySummary
CommonOptionsGets a common code verification options. (Inherited from CodeVerifier)
OptionsGets a code verification options. (Inherited from CodeVerifier)

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.
VerifyNoRefactoringAsync(String, String, TestOptions, CancellationToken)Verifies that refactoring will not be applied using specified TRefactoringProvider.
VerifyRefactoringAsync(RefactoringTestData, ExpectedTestState, TestOptions, CancellationToken)Verifies that refactoring will be applied correctly using specified TRefactoringProvider.
VerifyRefactoringAsync(String, String, IEnumerable<String>, String, TestOptions, CancellationToken)Verifies that refactoring will be applied correctly using specified TRefactoringProvider.