MCPcopy Create free account
hub / github.com/cli/cli / MultiSelectWithSearchCalls

Method MultiSelectWithSearchCalls

internal/prompter/prompter_mock.go:438–456  ·  view source on GitHub ↗

MultiSelectWithSearchCalls gets all the calls that were made to MultiSelectWithSearch. Check the length with: len(mockedPrompter.MultiSelectWithSearchCalls())

()

Source from the content-addressed store, hash-verified

436//
437// len(mockedPrompter.MultiSelectWithSearchCalls())
438func (mock *PrompterMock) MultiSelectWithSearchCalls() []struct {
439 Prompt string
440 SearchPrompt string
441 Defaults []string
442 PersistentOptions []string
443 SearchFunc func(string) MultiSelectSearchResult
444} {
445 var calls []struct {
446 Prompt string
447 SearchPrompt string
448 Defaults []string
449 PersistentOptions []string
450 SearchFunc func(string) MultiSelectSearchResult
451 }
452 mock.lockMultiSelectWithSearch.RLock()
453 calls = mock.calls.MultiSelectWithSearch
454 mock.lockMultiSelectWithSearch.RUnlock()
455 return calls
456}
457
458// Password calls PasswordFunc.
459func (mock *PrompterMock) Password(prompt string) (string, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected