49 references to SnippetTestState
Microsoft.VisualStudio.LanguageServices.UnitTests (49)
Snippets\CSharpSnippetCommandHandlerTests.vb (18)
18
Dim testState =
SnippetTestState
.CreateTestState(markup, LanguageNames.CSharp)
32
Dim testState =
SnippetTestState
.CreateTestState(markup, LanguageNames.CSharp)
46
Dim testState =
SnippetTestState
.CreateTestState(markup, LanguageNames.CSharp)
59
Dim testState =
SnippetTestState
.CreateTestState(markup, LanguageNames.CSharp, startActiveSession:=True)
72
Dim testState =
SnippetTestState
.CreateTestState(markup, LanguageNames.CSharp)
84
Dim testState =
SnippetTestState
.CreateTestState(markup, LanguageNames.CSharp)
106
Dim testState =
SnippetTestState
.CreateTestState(markup, LanguageNames.VisualBasic)
118
Dim testState =
SnippetTestState
.CreateTestState(markup, LanguageNames.CSharp, startActiveSession:=True)
130
Dim testState =
SnippetTestState
.CreateTestState(markup, LanguageNames.CSharp)
141
Dim testState =
SnippetTestState
.CreateTestState(markup, LanguageNames.CSharp, startActiveSession:=True)
151
Dim testState =
SnippetTestState
.CreateTestState(markup, LanguageNames.CSharp)
161
Dim testState =
SnippetTestState
.CreateTestState(markup, LanguageNames.CSharp, startActiveSession:=True)
173
Dim testState =
SnippetTestState
.CreateTestState(markup, LanguageNames.CSharp)
191
Dim testState =
SnippetTestState
.CreateTestState(markup, LanguageNames.CSharp)
209
Dim testState =
SnippetTestState
.CreateTestState(markup, LanguageNames.CSharp)
220
Dim testState =
SnippetTestState
.CreateSubmissionTestState(markup, LanguageNames.CSharp)
234
Dim testState =
SnippetTestState
.CreateSubmissionTestState(markup, LanguageNames.CSharp)
253
Dim testState =
SnippetTestState
.CreateSubmissionTestState(markup, LanguageNames.CSharp)
Snippets\SnippetCompletionProviderTests.vb (6)
22
Dim testState =
SnippetTestState
.CreateTestState(markup, LanguageNames.VisualBasic, extraParts:={GetType(MockSnippetInfoService)})
45
Dim testState =
SnippetTestState
.CreateTestState(markup, LanguageNames.VisualBasic, extraParts:={GetType(MockSnippetInfoService)})
68
Dim testState =
SnippetTestState
.CreateTestState(markup, LanguageNames.VisualBasic, extraParts:={GetType(MockSnippetInfoService)})
82
Dim testState =
SnippetTestState
.CreateTestState(markup, LanguageNames.VisualBasic, extraParts:={GetType(MockSnippetInfoService)})
98
Dim testState =
SnippetTestState
.CreateTestState(markup, LanguageNames.VisualBasic, extraParts:={GetType(MockSnippetInfoService)})
114
Dim testState =
SnippetTestState
.CreateTestState(markup, LanguageNames.VisualBasic, extraParts:={GetType(MockSnippetInfoService)})
Snippets\SnippetTestState.vb (2)
97
Public Shared Function CreateTestState(markup As String, languageName As String, Optional startActiveSession As Boolean = False, Optional extraParts As IEnumerable(Of Type) = Nothing) As
SnippetTestState
108
Public Shared Function CreateSubmissionTestState(markup As String, languageName As String, Optional startActiveSession As Boolean = False, Optional extraParts As IEnumerable(Of Type) = Nothing) As
SnippetTestState
Snippets\VisualBasicSnippetCommandHandlerTests.vb (23)
19
Dim testState =
SnippetTestState
.CreateTestState(markup, LanguageNames.VisualBasic)
33
Dim testState =
SnippetTestState
.CreateTestState(markup, LanguageNames.VisualBasic)
45
Dim testState =
SnippetTestState
.CreateTestState(markup, LanguageNames.VisualBasic, startActiveSession:=True)
57
Dim testState =
SnippetTestState
.CreateTestState(markup, LanguageNames.VisualBasic, startActiveSession:=True)
69
Dim testState =
SnippetTestState
.CreateTestState(markup, LanguageNames.VisualBasic)
81
Dim testState =
SnippetTestState
.CreateTestState(markup, LanguageNames.VisualBasic)
103
Dim testState =
SnippetTestState
.CreateTestState(markup, LanguageNames.VisualBasic)
126
Dim testState =
SnippetTestState
.CreateTestState(markup, LanguageNames.VisualBasic)
140
Dim testState =
SnippetTestState
.CreateTestState(markup, LanguageNames.VisualBasic, startActiveSession:=True)
161
Dim testState =
SnippetTestState
.CreateTestState(markup, LanguageNames.VisualBasic)
182
Dim testState =
SnippetTestState
.CreateTestState(markup, LanguageNames.VisualBasic, startActiveSession:=True)
203
Dim testState =
SnippetTestState
.CreateTestState(markup, LanguageNames.VisualBasic)
225
Dim testState =
SnippetTestState
.CreateTestState(markup, LanguageNames.VisualBasic, startActiveSession:=True)
246
Dim testState =
SnippetTestState
.CreateTestState(markup, LanguageNames.VisualBasic)
270
Dim testState =
SnippetTestState
.CreateTestState(markup, LanguageNames.VisualBasic)
287
Dim testState =
SnippetTestState
.CreateTestState(markup, LanguageNames.VisualBasic)
304
Dim testState =
SnippetTestState
.CreateTestState(markup, LanguageNames.VisualBasic)
321
Dim testState =
SnippetTestState
.CreateTestState(markup, LanguageNames.VisualBasic)
336
Dim testState =
SnippetTestState
.CreateTestState(markup, LanguageNames.VisualBasic)
352
Dim testState =
SnippetTestState
.CreateTestState(markup, LanguageNames.VisualBasic)
364
Dim testState =
SnippetTestState
.CreateTestState(markup, LanguageNames.VisualBasic)
376
Dim testState =
SnippetTestState
.CreateSubmissionTestState(markup, LanguageNames.VisualBasic)
390
Dim testState =
SnippetTestState
.CreateSubmissionTestState(markup, LanguageNames.VisualBasic)