Skip to content

Commit d766801

Browse files
committed
Remove the old test helpers
1 parent a76a0b1 commit d766801

6 files changed

Lines changed: 4 additions & 1455 deletions

File tree

StyleCop.Analyzers/StyleCop.Analyzers.Test/HelperTests/IndentationHelperTests.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,11 @@ namespace StyleCop.Analyzers.Test.HelperTests
99
using Microsoft.CodeAnalysis;
1010
using Microsoft.CodeAnalysis.CSharp;
1111
using Microsoft.CodeAnalysis.Formatting;
12-
using Microsoft.CodeAnalysis.Host.Mef;
1312
using Microsoft.CodeAnalysis.Text;
1413
using StyleCop.Analyzers.Helpers;
1514
using StyleCop.Analyzers.Settings.ObjectModel;
1615
using StyleCop.Analyzers.Test.Helpers;
17-
using TestHelper;
16+
using StyleCop.Analyzers.Test.Verifiers;
1817
using Xunit;
1918

2019
/// <summary>
@@ -142,7 +141,7 @@ public async Task VerifyGetIndentationStepsForTokenNotAtStartOfLineAsync()
142141

143142
private static Document CreateTestDocument(string source, int indentationSize = 4, bool useTabs = false, int tabSize = 4)
144143
{
145-
var workspace = DiagnosticVerifier.CreateWorkspace();
144+
var workspace = GenericAnalyzerTest.CreateWorkspace();
146145
workspace.Options = workspace.Options
147146
.WithChangedOption(FormattingOptions.IndentationSize, LanguageNames.CSharp, indentationSize)
148147
.WithChangedOption(FormattingOptions.UseTabs, LanguageNames.CSharp, useTabs)

StyleCop.Analyzers/StyleCop.Analyzers.Test/Helpers/CodeFixVerifier.Helper.cs

Lines changed: 0 additions & 153 deletions
This file was deleted.

0 commit comments

Comments
 (0)