43 references to TestCommandExecutionContext
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (43)
AbstractCommandHandlerTestState.cs (29)
257
=> commandHandler(new BackspaceKeyCommandArgs(TextView, SubjectBuffer), nextHandler,
TestCommandExecutionContext
.Create());
260
=> commandHandler(new DeleteKeyCommandArgs(TextView, SubjectBuffer), nextHandler,
TestCommandExecutionContext
.Create());
263
=> commandHandler(new WordDeleteToStartCommandArgs(TextView, SubjectBuffer), nextHandler,
TestCommandExecutionContext
.Create());
266
=> commandHandler(new EscapeKeyCommandArgs(TextView, SubjectBuffer), nextHandler,
TestCommandExecutionContext
.Create());
269
=> commandHandler(new EscapeKeyCommandArgs(TextView, SubjectBuffer),
TestCommandExecutionContext
.Create());
272
=> commandHandler(new UpKeyCommandArgs(TextView, SubjectBuffer), nextHandler,
TestCommandExecutionContext
.Create());
275
=> commandHandler(new DownKeyCommandArgs(TextView, SubjectBuffer), nextHandler,
TestCommandExecutionContext
.Create());
278
=> commandHandler(new TabKeyCommandArgs(TextView, SubjectBuffer), nextHandler,
TestCommandExecutionContext
.Create());
281
=> commandHandler(new TabKeyCommandArgs(TextView, SubjectBuffer),
TestCommandExecutionContext
.Create());
284
=> commandHandler(new BackTabKeyCommandArgs(TextView, SubjectBuffer), nextHandler,
TestCommandExecutionContext
.Create());
287
=> commandHandler(new BackTabKeyCommandArgs(TextView, SubjectBuffer),
TestCommandExecutionContext
.Create());
290
=> commandHandler(new ReturnKeyCommandArgs(TextView, SubjectBuffer), nextHandler,
TestCommandExecutionContext
.Create());
293
=> commandHandler(new ReturnKeyCommandArgs(TextView, SubjectBuffer),
TestCommandExecutionContext
.Create());
296
=> commandHandler(new PageUpKeyCommandArgs(TextView, SubjectBuffer), nextHandler,
TestCommandExecutionContext
.Create());
299
=> commandHandler(new PageDownKeyCommandArgs(TextView, SubjectBuffer), nextHandler,
TestCommandExecutionContext
.Create());
302
=> commandHandler(new CopyCommandArgs(TextView, SubjectBuffer), nextHandler,
TestCommandExecutionContext
.Create());
305
=> commandHandler(new CutCommandArgs(TextView, SubjectBuffer), nextHandler,
TestCommandExecutionContext
.Create());
308
=> commandHandler(new PasteCommandArgs(TextView, SubjectBuffer), nextHandler,
TestCommandExecutionContext
.Create());
311
=> commandHandler(new InvokeCompletionListCommandArgs(TextView, SubjectBuffer), nextHandler,
TestCommandExecutionContext
.Create());
314
=> commandHandler(new CommitUniqueCompletionListItemCommandArgs(TextView, SubjectBuffer), nextHandler,
TestCommandExecutionContext
.Create());
317
=> commandHandler(new InsertSnippetCommandArgs(TextView, SubjectBuffer), nextHandler,
TestCommandExecutionContext
.Create());
320
=> commandHandler(new InsertSnippetCommandArgs(TextView, SubjectBuffer),
TestCommandExecutionContext
.Create());
323
=> commandHandler(new SurroundWithCommandArgs(TextView, SubjectBuffer), nextHandler,
TestCommandExecutionContext
.Create());
326
=> commandHandler(new SurroundWithCommandArgs(TextView, SubjectBuffer),
TestCommandExecutionContext
.Create());
329
=> commandHandler(new InvokeSignatureHelpCommandArgs(TextView, SubjectBuffer), nextHandler,
TestCommandExecutionContext
.Create());
332
=> commandHandler(new TypeCharCommandArgs(TextView, SubjectBuffer, typeChar), nextHandler,
TestCommandExecutionContext
.Create());
344
=> commandHandler(new SaveCommandArgs(TextView, SubjectBuffer), nextHandler,
TestCommandExecutionContext
.Create());
347
=> commandHandler(new SelectAllCommandArgs(TextView, SubjectBuffer), nextHandler,
TestCommandExecutionContext
.Create());
350
=> commandHandler(new ToggleCompletionModeCommandArgs(TextView, SubjectBuffer), nextHandler,
TestCommandExecutionContext
.Create());
AbstractTypingCommandHandlerTest.cs (1)
42
if (!commandHandler.ExecuteCommand(args,
TestCommandExecutionContext
.Create()))
AutomaticCompletion\AbstractAutomaticLineEnderTests.cs (1)
87
commandHandler.ExecuteCommand(new AutomaticLineEnderCommandArgs(view, buffer), nextHandler,
TestCommandExecutionContext
.Create());
CommentSelection\AbstractToggleCommentTestBase.cs (2)
46
commandHandler.ExecuteCommand(textView, textBuffer, ValueTuple.Create(),
TestCommandExecutionContext
.Create());
61
commandHandler.ExecuteCommand(textView, originalSubjectBuffer, ValueTuple.Create(),
TestCommandExecutionContext
.Create());
CompleteStatement\AbstractCompleteStatementTests.cs (1)
83
commandHandler.ExecuteCommand(commandArgs, nextHandler,
TestCommandExecutionContext
.Create());
DocumentationComments\AbstractDocumentationCommentTests.cs (5)
41
commandHandler.ExecuteCommand(commandArgs, nextHandler,
TestCommandExecutionContext
.Create());
55
commandHandler.ExecuteCommand(commandArgs, nextHandler,
TestCommandExecutionContext
.Create());
70
commandHandler.ExecuteCommand(commandArgs, nextHandler,
TestCommandExecutionContext
.Create());
89
commandHandler.ExecuteCommand(commandArgs, nextHandler,
TestCommandExecutionContext
.Create());
108
commandHandler.ExecuteCommand(commandArgs, nextHandler,
TestCommandExecutionContext
.Create());
DocumentationComments\AbstractXmlTagCompletionTests.cs (1)
39
commandHandler.ExecuteCommand(args, nextHandler,
TestCommandExecutionContext
.Create());
Formatting\CoreFormatterTestsBase.cs (3)
147
commandHandler.ExecuteCommand(commandArgs,
TestCommandExecutionContext
.Create());
255
commandHandler.ExecuteCommand(commandArgs, () => { },
TestCommandExecutionContext
.Create());
262
commandHandler.ExecuteCommand(commandArgs, () => { },
TestCommandExecutionContext
.Create());