1 write to _testWorkspace
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (1)
LineCommit\CommitTestData.vb (1)
129
_testWorkspace
= testWorkspace
4 references to _testWorkspace
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (4)
LineCommit\CommitTestData.vb (4)
143
If
_testWorkspace
.Documents.Any(Function(d) d.SelectedSpans.Any()) Then
144
Dim expectedSpan =
_testWorkspace
.Documents.Single(Function(d) d.SelectedSpans.Any()).SelectedSpans.Single()
145
Dim trackingSpan =
_testWorkspace
.Documents.Single().InitialTextSnapshot.CreateTrackingSpan(expectedSpan.ToSpan(), SpanTrackingMode.EdgeInclusive)
150
Dim realCommitFormatter = Assert.IsType(Of CommitFormatter)(
_testWorkspace
.GetService(Of ICommitFormatter)())