3 instantiations of TestComposition
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (3)
MEF\TestComposition.cs (3)
193
return new
TestComposition
(assemblies, Parts, ExcludedPartTypes);
206
=> (parts == Parts) ? this : new
TestComposition
(Assemblies, parts, ExcludedPartTypes);
209
=> (excludedPartTypes == ExcludedPartTypes) ? this : new
TestComposition
(Assemblies, Parts, excludedPartTypes);
208 references to TestComposition
IdeBenchmarks (1)
Lsp\LspCompletionSerializationBenchmarks.cs (1)
25
protected override
TestComposition
Composition => FeaturesLspComposition;
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (1)
src\Analyzers\CSharp\Tests\NamingStyles\NamingStylesTests.cs (1)
30
protected override
TestComposition
GetComposition()
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (29)
Classification\AbstractCSharpClassifierTests.cs (1)
19
var
composition = EditorTestCompositions.EditorFeatures.WithTestHostParts(testHost);
CodeActions\GenerateEqualsAndGetHashCodeFromMembers\GenerateEqualsAndGetHashCodeFromMembersTests.cs (1)
34
private static readonly
TestComposition
s_composition =
CodeActions\GenerateType\GenerateTypeTests.cs (1)
40
protected override
TestComposition
GetComposition()
CodeActions\MoveStaticMembers\CSharpMoveStaticMembersTests.cs (1)
21
private static readonly
TestComposition
s_testServices = FeaturesTestCompositions.Features.AddParts(typeof(TestMoveStaticMembersService));
CodeActions\PreviewTests.cs (2)
27
private static readonly
TestComposition
s_composition = EditorTestCompositions.EditorFeaturesWpf
38
protected override
TestComposition
GetComposition() => s_composition;
CommentSelection\CSharpToggleBlockCommentCommandHandlerTests.cs (1)
248
internal override EditorTestWorkspace GetWorkspace(string markup,
TestComposition
composition)
CommentSelection\CSharpToggleLineCommentCommandHandlerTests.cs (1)
1137
internal override EditorTestWorkspace GetWorkspace(string markup,
TestComposition
composition)
Completion\CompletionProviders\SnippetCompletionProviderTests.cs (1)
32
protected override
TestComposition
GetComposition()
ConvertNamespace\ConvertNamespaceCommandHandlerTests.cs (1)
21
private static readonly
TestComposition
s_composition = EditorTestCompositions.EditorFeaturesWpf.AddParts(
Diagnostics\DiagnosticAnalyzerDriver\DiagnosticAnalyzerDriverTests.cs (1)
31
private static readonly
TestComposition
s_compositionWithMockDiagnosticUpdateSourceRegistrationService = EditorTestCompositions.EditorFeatures;
EventHookup\EventHookupTestState.cs (1)
24
private static readonly
TestComposition
s_composition = EditorTestCompositions.EditorFeaturesWpf.AddParts(
Formatting\Indentation\CSharpFormatterTestsBase.cs (1)
34
private static readonly
TestComposition
s_composition = EditorTestCompositions.EditorFeatures.AddParts(typeof(TestFormattingRuleFactoryServiceFactory));
Formatting\Indentation\SmartIndenterTests.cs (1)
27
private static readonly
TestComposition
s_compositionWithTestFormattingRules = EditorTestCompositions.EditorFeatures
Formatting\RazorLineFormattingOptionsTests.cs (1)
23
private static readonly
TestComposition
s_composition = EditorTestCompositions.EditorFeatures;
Interactive\NavigateTo\InteractiveNavigateToTests.cs (1)
25
protected override EditorTestWorkspace CreateWorkspace(string content,
TestComposition
composition)
MoveToNamespace\MoveToNamespaceTests.cs (3)
26
private static readonly
TestComposition
s_compositionWithoutOptions = FeaturesTestCompositions.Features
30
private static readonly
TestComposition
s_composition = s_compositionWithoutOptions.AddParts(
33
protected override
TestComposition
GetComposition() => s_composition;
NavigateTo\NavigateToSearcherTests.cs (1)
27
private static readonly
TestComposition
FirstActiveAndVisibleComposition = EditorTestCompositions.EditorFeatures.AddParts(typeof(FirstDocumentIsActiveAndVisibleDocumentTrackingService.Factory));
NavigateTo\NavigateToTests.cs (1)
27
protected override EditorTestWorkspace CreateWorkspace(string content,
TestComposition
composition)
PdbSourceDocument\AbstractPdbSourceDocumentTests.cs (1)
239
protected static
TestComposition
GetTestComposition()
RawStringLiteral\RawStringLiteralCommandHandlerTests.cs (1)
22
private static readonly
TestComposition
s_composition = EditorTestCompositions.EditorFeaturesWpf.AddParts(
StringCopyPaste\StringCopyPasteCommandHandlerTests.cs (2)
31
private static readonly
TestComposition
s_composition =
35
private static readonly
TestComposition
s_compositionWithMockCopyPasteService =
TaskList\CSharpTaskListTests.cs (1)
16
protected override EditorTestWorkspace CreateWorkspace(string codeWithMarker,
TestComposition
composition)
TaskList\NoCompilationTaskListTests.cs (1)
28
protected override EditorTestWorkspace CreateWorkspace(string codeWithMarker,
TestComposition
composition)
Workspaces\WorkspaceTests_EditorFeatures.cs (2)
38
TestComposition
composition = null)
591
var
composition = EditorTestCompositions.EditorFeatures.AddParts(
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (3)
Diagnostics\Suppression\SuppressionAllCodeTests.cs (1)
24
private static readonly
TestComposition
s_compositionWithMockDiagnosticUpdateSourceRegistrationService = FeaturesTestCompositions.Features
EditAndContinue\CSharpEditAndContinueAnalyzerTests.cs (1)
32
private static readonly
TestComposition
s_composition = FeaturesTestCompositions.Features;
src\Analyzers\CSharp\Tests\NamingStyles\NamingStylesTests.cs (1)
30
protected override
TestComposition
GetComposition()
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (55)
AbstractCommandHandlerTestState.cs (1)
57
TestComposition
composition,
CommentSelection\AbstractToggleCommentTestBase.cs (1)
29
internal abstract EditorTestWorkspace GetWorkspace(string markup,
TestComposition
composition);
Completion\AbstractArgumentProviderTests`1.cs (2)
26
private static readonly
TestComposition
s_baseComposition = EditorTestCompositions.EditorFeatures.AddExcludedPartTypes(typeof(ArgumentProvider));
35
protected virtual
TestComposition
GetComposition()
Completion\AbstractCompletionProviderTests.cs (2)
38
private static readonly
TestComposition
s_baseComposition = EditorTestCompositions.EditorFeatures.AddExcludedPartTypes(typeof(CompletionProvider));
88
protected virtual
TestComposition
GetComposition()
EditorTestCompositions.cs (6)
21
public static readonly
TestComposition
Editor =
TestComposition
.Empty
59
public static readonly
TestComposition
EditorFeatures = FeaturesTestCompositions.Features
69
public static readonly
TestComposition
EditorFeaturesWpf = EditorFeatures
73
public static readonly
TestComposition
InteractiveWindow = EditorFeaturesWpf
79
public static readonly
TestComposition
LanguageServerProtocolEditorFeatures = EditorFeatures
ExtractInterface\ExtractInterfaceTestState.cs (1)
23
public static readonly
TestComposition
Composition = EditorTestCompositions.EditorFeatures.AddParts(
Formatting\CoreFormatterTestsBase.cs (1)
42
private static readonly
TestComposition
s_composition = EditorTestCompositions.EditorFeatures.AddParts(typeof(TestFormattingRuleFactoryServiceFactory));
KeywordHighlighting\AbstractKeywordHighlighterTests.cs (3)
22
private static readonly
TestComposition
s_baseComposition = EditorTestCompositions.EditorFeatures.AddExcludedPartTypes(typeof(IHighlighter));
23
private
TestComposition
_lazyComposition;
25
protected
TestComposition
Composition
LanguageServer\AbstractLanguageServerProtocolTests.cs (8)
53
protected static readonly
TestComposition
EditorFeaturesLspComposition = EditorTestCompositions.LanguageServerProtocolEditorFeatures
57
protected static readonly
TestComposition
FeaturesLspComposition = LspTestCompositions.LanguageServerProtocol
110
protected virtual
TestComposition
Composition => EditorFeaturesLspComposition;
315
private protected Task<TestLspServer> CreateTestLspServerAsync(string markup, bool mutatingLspWorkspace, InitializationOptions? initializationOptions = null,
TestComposition
? composition = null)
318
private protected Task<TestLspServer> CreateTestLspServerAsync(string[] markups, bool mutatingLspWorkspace, InitializationOptions? initializationOptions = null,
TestComposition
? composition = null)
321
private protected Task<TestLspServer> CreateVisualBasicTestLspServerAsync(string markup, bool mutatingLspWorkspace, InitializationOptions? initializationOptions = null,
TestComposition
? composition = null)
325
string[] markups, string languageName, bool mutatingLspWorkspace, InitializationOptions? initializationOptions,
TestComposition
? composition = null, bool commonReferences = true)
386
InitializationOptions? options, string? workspaceKind, bool mutatingLspWorkspace,
TestComposition
? composition = null)
NavigateTo\AbstractNavigateToTests.cs (8)
43
protected static readonly
TestComposition
DefaultComposition = EditorTestCompositions.EditorFeatures.AddParts(typeof(TestWorkspaceNavigateToSearchHostService));
44
protected static readonly
TestComposition
FirstVisibleComposition = EditorTestCompositions.EditorFeatures.AddParts(typeof(TestWorkspaceNavigateToSearchHostService), typeof(FirstDocIsVisibleDocumentTrackingService.Factory));
45
protected static readonly
TestComposition
FirstActiveAndVisibleComposition = EditorTestCompositions.EditorFeatures.AddParts(typeof(TestWorkspaceNavigateToSearchHostService), typeof(FirstDocumentIsActiveAndVisibleDocumentTrackingService.Factory));
70
protected abstract EditorTestWorkspace CreateWorkspace(string content,
TestComposition
composition);
115
TestComposition
composition)
123
TestComposition
composition)
132
TestComposition
composition)
144
TestComposition
composition)
Squiggles\SquiggleUtilities.cs (2)
24
internal static
TestComposition
CompositionWithSolutionCrawler = EditorTestCompositions.EditorFeatures
27
internal static
TestComposition
WpfCompositionWithSolutionCrawler = EditorTestCompositions.EditorFeaturesWpf
TaskList\AbstractTaskListTests.cs (3)
19
private static readonly
TestComposition
s_inProcessComposition = EditorTestCompositions.EditorFeatures;
20
private static readonly
TestComposition
s_outOffProcessComposition = s_inProcessComposition.WithTestHostParts(TestHost.OutOfProcess);
25
protected abstract EditorTestWorkspace CreateWorkspace(string codeWithMarker,
TestComposition
testComposition);
Workspaces\CSharpTestWorkspaceFixture.cs (1)
14
protected override EditorTestWorkspace CreateWorkspace(
TestComposition
composition = null)
Workspaces\EditorTestWorkspace.cs (1)
32
TestComposition
? composition = null,
Workspaces\EditorTestWorkspace_Create.cs (9)
14
public static EditorTestWorkspace Create(string xmlDefinition, bool openDocuments = false,
TestComposition
composition = null)
20
TestComposition
composition = null,
29
TestComposition
composition = null,
83
TestComposition
composition = null,
100
TestComposition
composition)
119
TestComposition
composition = null,
132
TestComposition
composition = null,
148
TestComposition
composition = null,
160
TestComposition
composition = null,
Workspaces\InteractiveCSharpTestWorkspaceFixture.cs (2)
14
internal static EditorTestWorkspace CreateInteractiveWorkspace(string fileContent,
TestComposition
composition)
27
protected override EditorTestWorkspace CreateWorkspace(
TestComposition
composition = null)
Workspaces\TestWorkspaceFixture.cs (3)
26
public EditorTestWorkspace GetWorkspace(
TestComposition
composition = null)
32
public EditorTestWorkspace GetWorkspace(string markup,
TestComposition
composition = null, string workspaceKind = null)
57
protected abstract EditorTestWorkspace CreateWorkspace(
TestComposition
composition);
Workspaces\VisualBasicTestWorkspaceFixture.cs (1)
14
protected override EditorTestWorkspace CreateWorkspace(
TestComposition
composition = null)
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities2 (3)
Intellisense\TestState.vb (2)
41
Public Shared ReadOnly CompositionWithoutCompletionTestParts As
TestComposition
= EditorTestCompositions.EditorFeaturesWpf.
91
includeFormatCommandHandler As Boolean) As
TestComposition
Utilities\GoToHelpers\GoToTestHelpers.vb (1)
10
Public ReadOnly Composition As
TestComposition
= EditorTestCompositions.EditorFeatures.AddParts(
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (21)
CodeFixes\CodeFixServiceTests.cs (1)
35
private static readonly
TestComposition
s_compositionWithMockDiagnosticUpdateSourceRegistrationService = EditorTestCompositions.EditorFeatures;
CodeRefactorings\CodeRefactoringServiceTest.cs (1)
76
var
composition = FeaturesTestCompositions.Features.AddParts(typeof(TypeScriptCodeRefactoringProvider));
CommentSelection\ToggleBlockCommentCommandHandlerTests.cs (1)
1507
internal override EditorTestWorkspace GetWorkspace(string markup,
TestComposition
composition)
Diagnostics\DiagnosticAnalyzerServiceTests.cs (3)
36
private static readonly
TestComposition
s_featuresCompositionWithMockDiagnosticUpdateSourceRegistrationService = EditorTestCompositions.EditorFeatures
39
private static readonly
TestComposition
s_editorFeaturesCompositionWithMockDiagnosticUpdateSourceRegistrationService = EditorTestCompositions.EditorFeatures;
611
var
composition = s_editorFeaturesCompositionWithMockDiagnosticUpdateSourceRegistrationService.AddParts(
Diagnostics\SuppressMessageAttributeWorkspaceTests.cs (1)
25
private static readonly
TestComposition
s_compositionWithMockDiagnosticUpdateSourceRegistrationService = EditorTestCompositions.EditorFeatures;
EditAndContinue\EditAndContinueLanguageServiceTests.cs (2)
48
var
composition = EditorTestCompositions.EditorFeatures
89
var
localComposition = EditorTestCompositions.LanguageServerProtocolEditorFeatures
Extensions\IProjectionBufferFactoryServiceExtensionsTests.cs (2)
52
var
composition = EditorTestCompositions.EditorFeatures;
82
var
composition = EditorTestCompositions.EditorFeatures;
InheritanceMargin\InheritanceMarginTests.cs (2)
26
private static readonly
TestComposition
s_inProcessComposition = EditorTestCompositions.EditorFeatures;
27
private static readonly
TestComposition
s_outOffProcessComposition = s_inProcessComposition.WithTestHostParts(TestHost.OutOfProcess);
MetadataAsSource\AbstractMetadataAsSourceTests.TestContext.cs (1)
291
var
composition = EditorTestCompositions.EditorFeatures
Options\GlobalOptionsTests.cs (1)
152
var
composition = EditorTestCompositions.LanguageServerProtocolEditorFeatures.
Preview\PreviewWorkspaceTests.cs (1)
149
var
composition = EditorTestCompositions.EditorFeatures;
SymbolFinder\DependentTypeFinderTests.cs (2)
45
var
composition = EditorTestCompositions.EditorFeatures.WithTestHostParts(host);
621
var
composition = EditorTestCompositions.EditorFeatures.WithTestHostParts(host);
ValueTracking\AbstractBaseValueTrackingTests.cs (1)
24
protected abstract TestWorkspace CreateWorkspace(string code,
TestComposition
composition);
ValueTracking\CSharpValueTrackingTests.cs (1)
16
protected override TestWorkspace CreateWorkspace(string code,
TestComposition
composition)
ValueTracking\VisualBasicValueTrackingTests.cs (1)
16
protected override TestWorkspace CreateWorkspace(string code,
TestComposition
composition)
Microsoft.CodeAnalysis.Features.Test.Utilities (1)
EditAndContinue\EditAndContinueWorkspaceTestBase.cs (1)
71
var
composition = FeaturesTestCompositions.Features
Microsoft.CodeAnalysis.Features.UnitTests (2)
EditAndContinue\EditSessionActiveStatementsTests.cs (1)
31
private static readonly
TestComposition
s_composition = FeaturesTestCompositions.Features.AddParts(typeof(NoCompilationLanguageService));
EditAndContinue\RemoteEditAndContinueServiceTests.cs (1)
40
var
localComposition = FeaturesTestCompositions.Features.WithTestHostParts(testHost)
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (16)
Completion\CompletionFeaturesTests.cs (1)
32
protected override
TestComposition
Composition => FeaturesLspComposition;
Diagnostics\AbstractPullDiagnosticTestsBase.cs (1)
55
protected override
TestComposition
Composition => base.Composition.AddParts(typeof(MockTypescriptDiagnosticAnalyzer));
Diagnostics\AdditionalFileDiagnosticsTests.cs (1)
115
protected override
TestComposition
Composition => base.Composition.AddParts(typeof(MockAdditionalFileDiagnosticAnalyzer));
Diagnostics\DiagnosticsPullCacheTests.cs (1)
114
protected override
TestComposition
Composition => base.Composition.AddParts(typeof(TestDiagnosticSourceProvider));
Diagnostics\NonLocalDiagnosticTests.cs (1)
68
protected override
TestComposition
Composition => base.Composition.AddParts(typeof(NonLocalDiagnosticsAnalyzer));
Diagnostics\WorkspaceProjectDiagnosticsTests.cs (1)
64
protected override
TestComposition
Composition => base.Composition.AddParts(typeof(MockProjectDiagnosticAnalyzer));
HandlerTests.cs (1)
29
protected override
TestComposition
Composition => base.Composition.AddParts(
Initialize\LocaleTests.cs (1)
21
protected override
TestComposition
Composition => base.Composition
InlineCompletions\InlineCompletionsTests.cs (1)
24
protected override
TestComposition
Composition => base.Composition
LanguageServerTargetTests.cs (1)
28
protected override
TestComposition
Composition => base.Composition.AddParts(typeof(StatefulLspServiceFactory), typeof(StatelessLspService));
MapCode\MapCodeTests.cs (1)
43
protected override
TestComposition
Composition => FeaturesLspComposition
Options\LspOptionsTests.cs (1)
22
protected override
TestComposition
Composition => LspTestCompositions.LanguageServerProtocol
Ordering\RequestOrderingTests.cs (1)
26
protected override
TestComposition
Composition => base.Composition
References\FindAllReferencesHandlerFeaturesTests.cs (1)
18
protected override
TestComposition
Composition => LspTestCompositions.LanguageServerProtocol
UriTests.cs (1)
28
protected override
TestComposition
Composition => base.Composition.AddParts(typeof(CustomResolveHandler));
VSTypeScriptHandlerTests.cs (1)
32
protected override
TestComposition
Composition => base.Composition.AddParts(typeof(TypeScriptHandlerFactory));
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (41)
MEF\ExportProviderCache.cs (2)
24
private static readonly
TestComposition
s_defaultHostExportProviderComposition =
TestComposition
.Empty
MEF\FeaturesTestCompositions.cs (6)
14
public static readonly
TestComposition
Features =
TestComposition
.Empty
23
public static readonly
TestComposition
RemoteHost =
TestComposition
.Empty
27
public static
TestComposition
WithTestHostParts(this
TestComposition
composition, TestHost host)
MEF\TestComposition.cs (20)
24
public static readonly
TestComposition
Empty = new TestComposition([], [], []);
141
public
TestComposition
Add(
TestComposition
composition)
144
public
TestComposition
AddAssemblies(params Assembly[]? assemblies)
147
public
TestComposition
AddAssemblies(IEnumerable<Assembly>? assemblies)
150
public
TestComposition
AddParts(IEnumerable<Type>? types)
153
public
TestComposition
AddParts(params Type[]? types)
156
public
TestComposition
AddExcludedPartTypes(IEnumerable<Type>? types)
159
public
TestComposition
AddExcludedPartTypes(params Type[]? types)
162
public
TestComposition
Remove(
TestComposition
composition)
165
public
TestComposition
RemoveAssemblies(params Assembly[]? assemblies)
168
public
TestComposition
RemoveAssemblies(IEnumerable<Assembly>? assemblies)
171
public
TestComposition
RemoveParts(IEnumerable<Type>? types)
174
public
TestComposition
RemoveParts(params Type[]? types)
177
public
TestComposition
RemoveExcludedPartTypes(IEnumerable<Type>? types)
180
public
TestComposition
RemoveExcludedPartTypes(params Type[]? types)
183
public
TestComposition
WithAssemblies(ImmutableHashSet<Assembly> assemblies)
205
public
TestComposition
WithParts(ImmutableHashSet<Type> parts)
208
public
TestComposition
WithExcludedPartTypes(ImmutableHashSet<Type> excludedPartTypes)
Workspaces\TestWorkspace.cs (1)
18
TestComposition
? composition = null,
Workspaces\TestWorkspace_Create.cs (9)
14
public static TestWorkspace Create(string xmlDefinition, bool openDocuments = false,
TestComposition
composition = null)
20
TestComposition
composition = null,
29
TestComposition
composition = null,
83
TestComposition
composition = null,
100
TestComposition
composition)
119
TestComposition
composition = null,
132
TestComposition
composition = null,
148
TestComposition
composition = null,
160
TestComposition
composition = null,
Workspaces\TestWorkspace`1.cs (3)
43
public
TestComposition
? Composition { get; }
62
TestComposition
? composition = null,
165
private static HostServices GetHostServices([NotNull] ref
TestComposition
? composition, bool hasWorkspaceConfigurationOptions)
Microsoft.CodeAnalysis.Workspaces.UnitTests (24)
FindAllDeclarationsTests.TestSolutionsAndProject.cs (1)
79
var
composition = FeaturesTestCompositions.Features.WithTestHostParts(testHost);
Formatter\FormatterTests.cs (1)
30
private static readonly
TestComposition
s_composition = FeaturesTestCompositions.Features;
TestCompositionTests.cs (19)
18
var
composition1 = FeaturesTestCompositions.Features.AddParts(typeof(TestErrorReportingService), typeof(TestSourceGeneratorTelemetryCollectorWorkspaceServiceFactory));
19
var
composition2 = FeaturesTestCompositions.Features.AddParts(typeof(TestSourceGeneratorTelemetryCollectorWorkspaceServiceFactory), typeof(TestErrorReportingService));
29
var
composition1 =
TestComposition
.Empty;
30
var
composition2 = composition1.AddAssemblies(assembly1);
44
var
composition1 =
TestComposition
.Empty;
45
var
composition2 = composition1.AddParts(type1);
46
var
composition3 = composition2.RemoveParts(type1);
63
var
composition1 =
TestComposition
.Empty;
64
var
composition2 = composition1.AddExcludedPartTypes(type1);
65
var
composition3 = composition2.RemoveExcludedPartTypes(type1);
88
var
composition1 =
TestComposition
.Empty.AddAssemblies(assembly1).AddParts(type1).AddExcludedPartTypes(excluded1);
89
var
composition2 =
TestComposition
.Empty.AddAssemblies(assembly2).AddParts(type1, type2).AddExcludedPartTypes(excluded2);
90
var
composition3 = composition1.Add(composition2);
96
var
composition4 = composition3.Remove(composition1);
WorkspaceTests\AdhocWorkspaceTests.cs (1)
582
var
composition = FeaturesTestCompositions.Features;
WorkspaceTests\DynamicFileInfoProviderMefTests.cs (2)
49
var
composition =
TestComposition
.Empty.AddParts(typeof(TestDynamicFileInfoProviderThatProducesNoFiles));
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (1)
DocumentOutline\DocumentOutlineTestsBase.cs (1)
72
private static readonly
TestComposition
s_composition = EditorTestCompositions.LanguageServerProtocolEditorFeatures
Microsoft.VisualStudio.LanguageServices.Test.Utilities2 (3)
CodeModel\CodeModelTestHelpers.vb (1)
27
Public ReadOnly Composition As
TestComposition
= VisualStudioTestCompositions.LanguageServices.AddParts(
ProjectSystemShim\Framework\TestEnvironment.vb (1)
52
Private Shared ReadOnly s_composition As
TestComposition
= EditorTestCompositions.EditorFeaturesWpf _
VisualStudioTestCompositions.vb (1)
18
Public Shared ReadOnly LanguageServices As
TestComposition
= EditorTestCompositions.EditorFeaturesWpf.
Microsoft.VisualStudio.LanguageServices.UnitTests (3)
Diagnostics\ExternalDiagnosticUpdateSourceTests.vb (1)
32
Private Shared ReadOnly s_composition As
TestComposition
= VisualStudioTestCompositions.LanguageServices.AddParts(
Preview\PreviewChangesTests.vb (1)
19
Private Shared ReadOnly s_composition As
TestComposition
= VisualStudioTestCompositions.LanguageServices
Venus\DocumentService_IntegrationTests.vb (1)
41
Private Shared ReadOnly s_compositionWithMockDiagnosticUpdateSourceRegistrationService As
TestComposition
= EditorTestCompositions.EditorFeatures
Roslyn.VisualStudio.Next.UnitTests (4)
Remote\RemoteHostClientServiceFactoryTests.cs (1)
25
private static readonly
TestComposition
s_composition = FeaturesTestCompositions.Features.WithTestHostParts(TestHost.OutOfProcess);
Services\SolutionServiceTests.cs (2)
36
private static readonly
TestComposition
s_composition = FeaturesTestCompositions.Features.WithTestHostParts(TestHost.OutOfProcess);
37
private static readonly
TestComposition
s_compositionWithFirstDocumentIsActiveAndVisible =
Services\VisualStudioDiagnosticAnalyzerExecutorTests.cs (1)
250
var
composition = EditorTestCompositions.EditorFeatures.WithTestHostParts(TestHost.OutOfProcess);