MCPcopy Create free account

hub / github.com/cli/cli / functions

Functions7,572 in github.com/cli/cli

FunctionTestRunSendTelemetryServerError
(t *testing.T)
pkg/cmd/send-telemetry/send_telemetry_test.go:208
FunctionTestRunUnlink_Repo
(t *testing.T)
pkg/cmd/project/unlink/unlink_test.go:186
FunctionTestRunUnlink_Team
(t *testing.T)
pkg/cmd/project/unlink/unlink_test.go:296
FunctionTestRunUnmarkTemplate_Org
(t *testing.T)
pkg/cmd/project/mark-template/mark_template_test.go:184
FunctionTestRunUpdate_JSON
(t *testing.T)
pkg/cmd/project/edit/edit_test.go:513
FunctionTestRunUpdate_Me
(t *testing.T)
pkg/cmd/project/edit/edit_test.go:330
FunctionTestRunUpdate_OmitParams
(t *testing.T)
pkg/cmd/project/edit/edit_test.go:418
FunctionTestRunUpdate_Org
(t *testing.T)
pkg/cmd/project/edit/edit_test.go:232
FunctionTestRunUpdate_User
(t *testing.T)
pkg/cmd/project/edit/edit_test.go:133
FunctionTestRunVerify
(t *testing.T)
pkg/cmd/attestation/verify/verify_test.go:373
FunctionTestRunViewWeb_Me
(t *testing.T)
pkg/cmd/project/view/view_test.go:457
FunctionTestRunViewWeb_Org
(t *testing.T)
pkg/cmd/project/view/view_test.go:379
FunctionTestRunViewWeb_TTY
(t *testing.T)
pkg/cmd/project/view/view_test.go:532
FunctionTestRunViewWeb_User
(t *testing.T)
pkg/cmd/project/view/view_test.go:301
FunctionTestRunView_Org
(t *testing.T)
pkg/cmd/project/view/view_test.go:229
FunctionTestRunView_User
(t *testing.T)
pkg/cmd/project/view/view_test.go:94
FunctionTestRunView_Viewer
(t *testing.T)
pkg/cmd/project/view/view_test.go:166
FunctionTestRun_Duration
(t *testing.T)
pkg/cmd/run/shared/shared_test.go:61
FunctionTestSSHKeyUploadHTTPError
(t *testing.T)
pkg/cmd/ssh-key/add/add_test.go:156
FunctionTestSSOURL
(t *testing.T)
pkg/cmd/factory/default_test.go:331
FunctionTestSandboxFilePath
(t *testing.T)
acceptance/acceptance_test.go:247
FunctionTestScanAllAgentsDeduplicatesSharedProjectDirs
(t *testing.T)
pkg/cmd/skills/update/update_test.go:297
FunctionTestScanInstalledSkills
(t *testing.T)
pkg/cmd/skills/update/update_test.go:75
FunctionTestSchemaSourceLocate
(t *testing.T)
script/ghmock/schemafiles_test.go:58
FunctionTestScopeLabels
(t *testing.T)
internal/skills/registry/registry_test.go:343
FunctionTestSearch
(t *testing.T)
pkg/cmd/discussion/client/client_test.go:557
FunctionTestSearchIssues
(t *testing.T)
pkg/cmd/search/shared/shared_test.go:31
FunctionTestSearchIssuesAndAdvancedSearch
TODO advancedIssueSearchCleanup Remove this test once GHES 3.17 support ends.
pkg/cmd/issue/list/http_test.go:172
FunctionTestSearchIssues_rejectsPullRequestQualifiers
(t *testing.T)
pkg/cmd/issue/list/http_test.go:218
FunctionTestSearchPullRequestsAndAdvancedSearch
TODO advancedIssueSearchCleanup Remove this test once GHES 3.17 support ends.
pkg/cmd/pr/list/http_test.go:182
FunctionTestSearchRun
(t *testing.T)
pkg/cmd/skills/search/search_test.go:137
FunctionTestSearchRun_TelemetryRecordsInstallFromResults
TestSearchRun_TelemetryRecordsInstallFromResults verifies that when a user searches, picks one or more results interactively, and proceeds to install
pkg/cmd/skills/search/search_test.go:654
FunctionTestSearchRun_UnsupportedHost
(t *testing.T)
pkg/cmd/skills/search/search_test.go:21
FunctionTestSearcher
(t *testing.T)
pkg/cmd/search/shared/shared_test.go:18
FunctionTestSearcherCode
(t *testing.T)
pkg/search/searcher_test.go:17
FunctionTestSearcherCommits
(t *testing.T)
pkg/search/searcher_test.go:282
FunctionTestSearcherIssues
(t *testing.T)
pkg/search/searcher_test.go:854
FunctionTestSearcherIssuesAdvancedSyntax
(t *testing.T)
pkg/search/searcher_test.go:1140
FunctionTestSearcherIssuesSemanticSearch
(t *testing.T)
pkg/search/searcher_test.go:1222
FunctionTestSearcherIssuesSemanticSearchIsBoundedToSinglePage
(t *testing.T)
pkg/search/searcher_test.go:1294
FunctionTestSearcherRepositories
(t *testing.T)
pkg/search/searcher_test.go:568
FunctionTestSearcherURL
(t *testing.T)
pkg/search/searcher_test.go:1329
FunctionTestSelectAcceptanceTestGroups
(t *testing.T)
acceptance/acceptance_test.go:690
FunctionTestSelectNameWithCodespaceName
(t *testing.T)
pkg/cmd/codespace/codespace_selector_test.go:33
FunctionTestSelectSSHKeys
(t *testing.T)
pkg/cmd/codespace/ssh_test.go:121
FunctionTestSelectScripts
TestSelectScripts exercises the real selectScripts function, verifying that it correctly matches files in the command directory, skips names belonging
acceptance/scriptfilter_unit_test.go:61
FunctionTestSelectWithCodespaceName
(t *testing.T)
pkg/cmd/codespace/codespace_selector_test.go:11
FunctionTestSerialize
(t *testing.T)
internal/skills/frontmatter/frontmatter_test.go:210
FunctionTestServiceCollectsConcurrentFacts
(t *testing.T)
internal/telemetry/service_test.go:128
FunctionTestServiceCopiesRecordedEvents
(t *testing.T)
internal/telemetry/service_test.go:13
FunctionTestServiceDeviceIDFallback
(t *testing.T)
internal/telemetry/telemetry_test.go:350
FunctionTestServiceDisabledBeforeRecordingDropsLaterEvents
(t *testing.T)
internal/telemetry/telemetry_test.go:505
FunctionTestServiceDisablingOverridesPromotedPendingEvents
(t *testing.T)
internal/telemetry/service_test.go:55
FunctionTestServiceFinish
(t *testing.T)
internal/telemetry/telemetry_test.go:365
FunctionTestServiceFinishDeliversOnce
(t *testing.T)
internal/telemetry/service_test.go:76
FunctionTestServicePromotesAllEventsBeforeCompletion
(t *testing.T)
internal/telemetry/service_test.go:37
FunctionTestServiceRecordingDoesNotWaitForDelivery
(t *testing.T)
internal/telemetry/service_test.go:92
FunctionTestServiceReducingSampleRateExcludesInvocation
(t *testing.T)
internal/telemetry/telemetry_test.go:489
FunctionTestServiceSampling
(t *testing.T)
internal/telemetry/telemetry_test.go:432
FunctionTestSetActiveCredential
(t *testing.T)
internal/config/refreshable_test.go:250
FunctionTestSetHostSpecificKey
(t *testing.T)
internal/config/config_test.go:157
FunctionTestSetRun
(t *testing.T)
pkg/cmd/alias/set/set_test.go:98
FunctionTestSetTopLevelKey
(t *testing.T)
internal/config/config_test.go:148
FunctionTestSetUserSpecificKey
(t *testing.T)
internal/config/config_test.go:166
FunctionTestSetUserSpecificKeyNoUserPresent
(t *testing.T)
internal/config/config_test.go:179
FunctionTestSetsCorrectCommandInGitConfig
This is a whitebox test unlike the contract because although we don't use the exact configured command, it's important that it is exactly right since
pkg/cmd/auth/shared/gitcredentials/helper_config_test.go:42
FunctionTestSetup_configureExisting
(t *testing.T)
pkg/cmd/auth/shared/git_credential_test.go:33
FunctionTestSetup_expiring_externalHelper_configuresOurs
(t *testing.T)
pkg/cmd/auth/shared/git_credential_test.go:302
FunctionTestSetup_refreshableExternalHelper_acceptGh
(t *testing.T)
pkg/cmd/auth/shared/git_credential_test.go:84
FunctionTestSetup_refreshableExternalHelper_declineGh
(t *testing.T)
pkg/cmd/auth/shared/git_credential_test.go:51
FunctionTestSetup_setOurs_nonGH
(t *testing.T)
pkg/cmd/auth/shared/git_credential_test.go:167
FunctionTestShortRef
(t *testing.T)
internal/skills/discovery/discovery_test.go:401
FunctionTestShortSHA
(t *testing.T)
git/client_test.go:1863
FunctionTestShortcutURL
(t *testing.T)
pkg/cmd/issue/artifact/shared/content_test.go:236
FunctionTestShouldCheckForExtensionUpdate
(t *testing.T)
internal/update/update_test.go:428
FunctionTestShouldCheckForUpdate
(t *testing.T)
internal/update/update_test.go:371
FunctionTestShouldCopyToClipboard
(t *testing.T)
pkg/cmd/auth/shared/login_flow_test.go:61
FunctionTestShouldUseExpiring
(t *testing.T)
pkg/cmd/auth/shared/login_flow_test.go:102
FunctionTestSignerWorkflowSANMatching
TestSignerWorkflowSANMatching drives the pattern built by validateSignerWorkflow through the sigstore-go matcher that consumes it, because that matche
pkg/cmd/attestation/verify/policy_test.go:343
FunctionTestSignerWorkflowSANMatchingObservedCertificate
TestSignerWorkflowSANMatchingObservedCertificate uses the SubjectAlternativeName from a certificate Fulcio actually issued for a workflow stored at .g
pkg/cmd/attestation/verify/policy_test.go:422
FunctionTestSignerWorkflowSANMatchingObservedNestedRef
TestSignerWorkflowSANMatchingObservedNestedRef uses the job_workflow_ref claim observed from a workflow run on a branch named "main@refs/heads/evil".
pkg/cmd/attestation/verify/policy_test.go:495
FunctionTestSignerWorkflowSANMatchingPinnedRef
TestSignerWorkflowSANMatchingPinnedRef covers a --signer-workflow value that pins a ref as well as a workflow. Such a value has to match the end of th
pkg/cmd/attestation/verify/policy_test.go:438
FunctionTestSignerWorkflowSANMatchingRepositoryValue
TestSignerWorkflowSANMatchingRepositoryValue covers a --signer-workflow value that names a repository instead of a workflow. The value is still matche
pkg/cmd/attestation/verify/policy_test.go:510
FunctionTestSimplifyURL
(t *testing.T)
pkg/cmd/repo/clone/clone_test.go:512
FunctionTestSingleLineFieldValue
(t *testing.T)
pkg/cmd/project/shared/queries/queries_test.go:851
FunctionTestSkillCommandsAreSampledAt100
(t *testing.T)
pkg/cmd/skills/skills_test.go:13
FunctionTestSkillSearchFuncEscapesDescriptionControlCharacters
(t *testing.T)
pkg/cmd/skills/install/install_test.go:3087
FunctionTestSkillSearchFuncTruncatesLabelsToAvailableWidth
(t *testing.T)
pkg/cmd/skills/install/install_test.go:2660
FunctionTestSomeExpect
(t *testing.T)
pkg/option/option_test.go:183
FunctionTestSomeStringer
(t *testing.T)
pkg/option/option_test.go:115
FunctionTestSomeUnwrap
(t *testing.T)
pkg/option/option_test.go:124
FunctionTestSomeUnwrapOr
(t *testing.T)
pkg/option/option_test.go:137
FunctionTestSomeUnwrapOrElse
(t *testing.T)
pkg/option/option_test.go:145
FunctionTestSomeUnwrapOrZero
(t *testing.T)
pkg/option/option_test.go:153
FunctionTestSomeValue
(t *testing.T)
pkg/option/option_test.go:171
FunctionTestSpawnSendTelemetryRejectsOversizedPayload
(t *testing.T)
internal/telemetry/telemetry_test.go:535
FunctionTestSpecificPRResolver
(t *testing.T)
pkg/cmd/pr/checkout/checkout_test.go:758
FunctionTestSplitFileArg
(t *testing.T)
internal/attachments/flags_test.go:399
FunctionTestStandardSearchString
(t *testing.T)
pkg/search/query_test.go:11
FunctionTestStartJupyterServerFailure
Test that the RPC invoker returns an error when the JupyterLab server fails to start
internal/codespaces/rpc/invoker_test.go:141
← previousnext →6,701–6,800 of 7,572, ranked by callers