33 references to GetTestAccessor
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (3)
Completion\CompletionProviders\CrefCompletionProviderTests.cs (1)
434
var provider = Assert.IsType<CrefCompletionProvider>(service.
GetTestAccessor
().GetImportedAndBuiltInProviders(ImmutableHashSet<string>.Empty).Single());
Completion\CompletionProviders\SuggestionModeCompletionProviderTests.cs (2)
1416
var provider = Assert.Single(service.
GetTestAccessor
().GetImportedAndBuiltInProviders(ImmutableHashSet<string>.Empty));
1420
var completionList = await service.
GetTestAccessor
().GetContextAsync(
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Completion\AbstractCompletionProviderTests.cs (1)
106
var completionProviders = completionService.
GetTestAccessor
().GetImportedAndBuiltInProviders(ImmutableHashSet<string>.Empty);
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (26)
IntelliSense\CSharpCompletionCommandHandlerTests.vb (23)
4202
Dim slowProvider = completionService.
GetTestAccessor
().GetImportedAndBuiltInProviders(ImmutableHashSet(Of String).Empty).OfType(Of SlowProvider)().Single()
5091
Dim provider = completionService.
GetTestAccessor
().GetImportedAndBuiltInProviders(ImmutableHashSet(Of String).Empty).OfType(Of BooleanTaskControlledCompletionProvider)().Single()
5142
Dim provider = completionService.
GetTestAccessor
().GetImportedAndBuiltInProviders(ImmutableHashSet(Of String).Empty).OfType(Of BooleanTaskControlledCompletionProvider)().Single()
5218
Dim provider = completionService.
GetTestAccessor
().GetImportedAndBuiltInProviders(ImmutableHashSet(Of String).Empty).OfType(Of BooleanTaskControlledCompletionProvider)().Single()
5286
Dim provider = completionService.
GetTestAccessor
().GetImportedAndBuiltInProviders(ImmutableHashSet(Of String).Empty).OfType(Of BooleanTaskControlledCompletionProvider)().Single()
5803
Dim provider = completionService.
GetTestAccessor
().GetImportedAndBuiltInProviders(ImmutableHashSet(Of String).Empty).OfType(Of MultipleChangeCompletionProvider)().Single()
5871
Dim provider = completionService.
GetTestAccessor
().GetImportedAndBuiltInProviders(ImmutableHashSet(Of String).Empty).OfType(Of MultipleChangeCompletionProvider)().Single()
6603
Dim provider = completionService.
GetTestAccessor
().GetImportedAndBuiltInProviders(ImmutableHashSet(Of String).Empty).OfType(Of IntelliCodeMockProvider)().Single()
6628
Dim provider = completionService.
GetTestAccessor
().GetImportedAndBuiltInProviders(ImmutableHashSet(Of String).Empty).OfType(Of IntelliCodeMockProvider)().Single()
6658
Dim provider = completionService.
GetTestAccessor
().GetImportedAndBuiltInProviders(ImmutableHashSet(Of String).Empty).OfType(Of IntelliCodeMockProvider)().Single()
6687
Dim provider = completionService.
GetTestAccessor
().GetImportedAndBuiltInProviders(ImmutableHashSet(Of String).Empty).OfType(Of IntelliCodeMockProvider)().Single()
6712
Dim provider = completionService.
GetTestAccessor
().GetImportedAndBuiltInProviders(ImmutableHashSet(Of String).Empty).OfType(Of IntelliCodeMockWeirdProvider)().Single()
6737
Dim provider = completionService.
GetTestAccessor
().GetImportedAndBuiltInProviders(ImmutableHashSet(Of String).Empty).OfType(Of IntelliCodeMockWeirdProvider)().Single()
6764
Dim provider = completionService.
GetTestAccessor
().GetImportedAndBuiltInProviders(ImmutableHashSet(Of String).Empty).OfType(Of IntelliCodeMockProvider)().Single()
6814
Dim provider = completionService.
GetTestAccessor
().GetImportedAndBuiltInProviders(ImmutableHashSet(Of String).Empty).OfType(Of IntelliCodeMockProvider)().Single()
6884
completionService.
GetTestAccessor
().SuppressPartialSemantics()
6937
completionService.
GetTestAccessor
().SuppressPartialSemantics()
9517
Dim provider = completionService.
GetTestAccessor
().GetImportedAndBuiltInProviders(ImmutableHashSet(Of String).Empty).OfType(Of TestMatchPriorityCompletionProvider)().Single()
9549
Dim provider = completionService.
GetTestAccessor
().GetImportedAndBuiltInProviders(ImmutableHashSet(Of String).Empty).OfType(Of TestMatchPriorityCompletionProvider)().Single()
10274
Dim notifyProvider As NotifyCommittingItemCompletionProvider = completionService.
GetTestAccessor
().GetImportedAndBuiltInProviders(ImmutableHashSet(Of String).Empty).OfType(Of NotifyCommittingItemCompletionProvider)().Single()
10357
Dim provider = completionService.
GetTestAccessor
().GetImportedAndBuiltInProviders(ImmutableHashSet(Of String).Empty).OfType(Of TestProvider)().Single()
10412
Dim provider = completionService.
GetTestAccessor
().GetImportedAndBuiltInProviders(ImmutableHashSet(Of String).Empty).OfType(Of TestProvider)().Single()
10466
Dim provider = completionService.
GetTestAccessor
().GetImportedAndBuiltInProviders(ImmutableHashSet(Of String).Empty).OfType(Of TestProvider)().Single()
IntelliSense\VisualBasicCompletionCommandHandlerTests.vb (3)
413
Dim provider = completionService.
GetTestAccessor
().GetImportedAndBuiltInProviders(ImmutableHashSet(Of String).Empty).OfType(Of TriggeredCompletionProvider)().Single()
451
Dim provider = completionService.
GetTestAccessor
().GetImportedAndBuiltInProviders(ImmutableHashSet(Of String).Empty).OfType(Of TriggeredCompletionProvider)().Single()
485
Dim provider = completionService.
GetTestAccessor
().GetImportedAndBuiltInProviders(ImmutableHashSet(Of String).Empty).OfType(Of TriggeredCompletionProvider)().Single()
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (3)
Completion\CompletionProviders\CrefCompletionProviderTests.vb (1)
424
Dim provider = Assert.IsType(Of CrefCompletionProvider)(service.
GetTestAccessor
().GetImportedAndBuiltInProviders(ImmutableHashSet(Of String).Empty).Single())
Completion\CompletionProviders\SuggestionModeCompletionProviderTests.vb (2)
393
Dim provider = Assert.Single(service.
GetTestAccessor
().GetImportedAndBuiltInProviders(ImmutableHashSet(Of String).Empty))
394
Dim context = Await service.
GetTestAccessor
().GetContextAsync(