1 write to SnippetExpansionClient
Microsoft.VisualStudio.LanguageServices.UnitTests (1)
Snippets\SnippetTestState.vb (1)
57SnippetExpansionClient = CType(snippetExpansionClientFactory.GetOrCreateSnippetExpansionClient(SubjectBuffer.AsTextContainer().GetOpenDocumentInCurrentContext(), TextView, SubjectBuffer), MockSnippetExpansionClient)
55 references to SnippetExpansionClient
Microsoft.VisualStudio.LanguageServices.UnitTests (55)
Snippets\CSharpSnippetCommandHandlerTests.vb (23)
20testState.SnippetExpansionClient.TryInsertExpansionReturnValue = True 23Assert.True(testState.SnippetExpansionClient.TryInsertExpansionCalled) 24Assert.Equal(New Span(7, 5), testState.SnippetExpansionClient.InsertExpansionSpan) 34testState.SnippetExpansionClient.TryInsertExpansionReturnValue = True 37Assert.True(testState.SnippetExpansionClient.TryInsertExpansionCalled) 38Assert.Equal(New Span(0, 3), testState.SnippetExpansionClient.InsertExpansionSpan) 48testState.SnippetExpansionClient.TryInsertExpansionReturnValue = False 51Assert.True(testState.SnippetExpansionClient.TryInsertExpansionCalled) 63Assert.True(testState.SnippetExpansionClient.TryHandleTabCalled) 64Assert.False(testState.SnippetExpansionClient.TryInsertExpansionCalled) 76Assert.True(testState.SnippetExpansionClient.TryInsertExpansionCalled) 88Assert.False(testState.SnippetExpansionClient.TryInsertExpansionCalled) 110Assert.False(testState.SnippetExpansionClient.TryInsertExpansionCalled) 122Assert.True(testState.SnippetExpansionClient.TryHandleBackTabCalled) 165Assert.True(testState.SnippetExpansionClient.TryHandleEscapeCalled) 195Assert.False(testState.SnippetExpansionClient.TryInsertExpansionCalled) 213Assert.False(testState.SnippetExpansionClient.TryInsertExpansionCalled) 222testState.SnippetExpansionClient.TryInsertExpansionReturnValue = True 225Assert.False(testState.SnippetExpansionClient.TryInsertExpansionCalled) 240testState.SnippetExpansionClient.TryInsertExpansionReturnValue = True 244Assert.False(testState.SnippetExpansionClient.TryInsertExpansionCalled) 259testState.SnippetExpansionClient.TryInsertExpansionReturnValue = True 263Assert.False(testState.SnippetExpansionClient.TryInsertExpansionCalled)
Snippets\SnippetCompletionProviderTests.vb (2)
38Assert.True(testState.SnippetExpansionClient.TryInsertExpansionCalled) 56Assert.True(testState.SnippetExpansionClient.TryInsertExpansionCalled)
Snippets\SnippetTestState.vb (4)
60SnippetExpansionClient.TryHandleTabReturnValue = True 61SnippetExpansionClient.TryHandleBackTabReturnValue = True 62SnippetExpansionClient.TryHandleEscapeReturnValue = True 63SnippetExpansionClient.TryHandleReturnReturnValue = True
Snippets\VisualBasicSnippetCommandHandlerTests.vb (26)
21testState.SnippetExpansionClient.TryInsertExpansionReturnValue = True 24Assert.True(testState.SnippetExpansionClient.TryInsertExpansionCalled) 25Assert.Equal(New Span(7, 5), testState.SnippetExpansionClient.InsertExpansionSpan) 37Assert.True(testState.SnippetExpansionClient.TryInsertExpansionCalled) 49Assert.False(testState.SnippetExpansionClient.TryInsertExpansionCalled) 61Assert.True(testState.SnippetExpansionClient.TryHandleTabCalled) 73Assert.True(testState.SnippetExpansionClient.TryInsertExpansionCalled) 85Assert.False(testState.SnippetExpansionClient.TryInsertExpansionCalled) 107Assert.False(testState.SnippetExpansionClient.TryInsertExpansionCalled) 144Assert.True(testState.SnippetExpansionClient.TryHandleBackTabCalled) 165Assert.True(testState.SnippetExpansionClient.TryHandleBackTabCalled) 186Assert.True(testState.SnippetExpansionClient.TryHandleReturnCalled) 207Assert.False(testState.SnippetExpansionClient.TryInsertExpansionCalled) 229Assert.True(testState.SnippetExpansionClient.TryHandleEscapeCalled) 250Assert.True(testState.SnippetExpansionClient.TryHandleEscapeCalled) 274Assert.False(testState.SnippetExpansionClient.TryInsertExpansionCalled) 291Assert.False(testState.SnippetExpansionClient.TryInsertExpansionCalled) 308Assert.False(testState.SnippetExpansionClient.TryInsertExpansionCalled) 325Assert.False(testState.SnippetExpansionClient.TryInsertExpansionCalled) 341Assert.False(testState.SnippetExpansionClient.TryInsertExpansionCalled) 357Assert.False(testState.SnippetExpansionClient.TryInsertExpansionCalled) 369Assert.False(testState.SnippetExpansionClient.TryInsertExpansionCalled) 378testState.SnippetExpansionClient.TryInsertExpansionReturnValue = True 381Assert.False(testState.SnippetExpansionClient.TryInsertExpansionCalled) 396testState.SnippetExpansionClient.TryInsertExpansionReturnValue = True 400Assert.False(testState.SnippetExpansionClient.TryInsertExpansionCalled)