MCPcopy Create free account

hub / github.com/cli/cli / functions

Functions7,572 in github.com/cli/cli

FunctionTestListRun
(t *testing.T)
pkg/cmd/run/list/list_test.go:139
FunctionTestListRun
(t *testing.T)
pkg/cmd/event/subscription/list/list_test.go:100
FunctionTestListRun
(t *testing.T)
pkg/cmd/workflow/list/list_test.go:89
FunctionTestListRunDefaultHost
(t *testing.T)
pkg/cmd/event/subscription/list/list_test.go:225
FunctionTestListSessionsByResourceID
(t *testing.T)
pkg/cmd/agent-task/capi/sessions_test.go:1199
FunctionTestListSessionsByResourceIDRequiresResource
(t *testing.T)
pkg/cmd/agent-task/capi/sessions_test.go:1188
FunctionTestListSkillFiles
(t *testing.T)
internal/skills/discovery/discovery_test.go:1671
FunctionTestListSubscriptions
(t *testing.T)
pkg/cmd/event/client/client_test.go:87
FunctionTestListSubscriptionsDecodesFields
(t *testing.T)
pkg/cmd/event/client/client_test.go:173
FunctionTestListenRun
(t *testing.T)
pkg/cmd/event/listen/listen_test.go:219
FunctionTestListenRunBackoffResetsOnlyAfterDelivery
(t *testing.T)
pkg/cmd/event/listen/listen_test.go:602
FunctionTestListenRunResourceHost
(t *testing.T)
pkg/cmd/event/listen/listen_test.go:773
FunctionTestListenTCPInterfaces
(t *testing.T)
internal/codespaces/codespaces_test.go:15
FunctionTestLiveFixtureRepositoryClientUsesAPIHost
(t *testing.T)
acceptance/fixture_repository_test.go:270
FunctionTestLiveSigstoreVerifier
(t *testing.T)
pkg/cmd/attestation/verification/sigstore_integration_test.go:19
FunctionTestLiveSigstoreVerifier_noVerifierSet
(t *testing.T)
pkg/cmd/attestation/verification/sigstore_test.go:58
FunctionTestLoadBundleFromJSONFile
(t *testing.T)
pkg/cmd/attestation/verification/attestation_test.go:58
FunctionTestLoadBundlesFromJSONLinesFile
(t *testing.T)
pkg/cmd/attestation/verification/attestation_test.go:16
FunctionTestLoadBundlesFromJSONLinesFile_RejectEmptyJSONLFile
(t *testing.T)
pkg/cmd/attestation/verification/attestation_test.go:45
FunctionTestLockAcquiresWhenFree
(t *testing.T)
internal/flock/flock_test.go:103
FunctionTestLockBlocksUntilUnlocked
(t *testing.T)
internal/flock/flock_test.go:112
FunctionTestLockReturnsNonContentionError
(t *testing.T)
internal/flock/flock_test.go:141
FunctionTestLockTimesOutUnderContention
(t *testing.T)
internal/flock/flock_test.go:148
FunctionTestLogFlusherWritesNoneMarkerForEmptyPayload
(t *testing.T)
internal/telemetry/telemetry_test.go:333
FunctionTestLogin
(t *testing.T)
pkg/cmd/auth/shared/login_flow_test.go:156
FunctionTestLoginAcquiresRefreshLock
(t *testing.T)
internal/config/refreshable_test.go:579
FunctionTestLoginAddsHostIfNotAlreadyAdded
(t *testing.T)
internal/config/auth_config_test.go:348
FunctionTestLoginAddsUserToConfigWithoutGitProtocolAndWithSecureStorage
This test mimics the behaviour of logging in with a token, not providing a git protocol, and using secure storage.
internal/config/auth_config_test.go:363
FunctionTestLoginFailsWhenOtherCredentialKindSurvivesPurge
TestLoginFailsWhenOtherCredentialKindSurvivesPurge covers the purge post-condition checks: an OS keyring can report a delete as successful while the s
internal/config/refreshable_test.go:840
FunctionTestLoginInsecurePostMigrationUsesConfigForToken
(t *testing.T)
internal/config/auth_config_test.go:898
FunctionTestLoginInsecureStorage
(t *testing.T)
internal/config/auth_config_test.go:305
FunctionTestLoginPostMigrationSetsGitProtocol
(t *testing.T)
internal/config/auth_config_test.go:918
FunctionTestLoginPostMigrationSetsUser
(t *testing.T)
internal/config/auth_config_test.go:937
FunctionTestLoginProceedsWhenRefreshLockCannotBeAcquired
(t *testing.T)
internal/config/refreshable_test.go:597
FunctionTestLoginPurgesRefreshableRecord
TestLoginPurgesRefreshableRecord is the inverse of TestLoginRefreshablePurgesNonExpiringLogin: logging in with a non-refreshable token must remove the
internal/config/refreshable_test.go:808
FunctionTestLoginRefreshable
(t *testing.T)
internal/config/refreshable_test.go:682
FunctionTestLoginRefreshablePurgesNonExpiringKeyringLogin
TestLoginRefreshablePurgesNonExpiringKeyringLogin covers the keyring arm of the non-expiring purge. Resolution now probes the ordinary keyring before
internal/config/refreshable_test.go:785
FunctionTestLoginRefreshablePurgesNonExpiringLogin
(t *testing.T)
internal/config/refreshable_test.go:764
FunctionTestLoginRefreshableRejectsInvalidCredential
(t *testing.T)
internal/config/refreshable_test.go:740
FunctionTestLoginReloadsFreshConfigBeforeMutating
(t *testing.T)
internal/config/refreshable_test.go:619
FunctionTestLoginSecurePostMigrationRemovesTokenFromConfig
(t *testing.T)
internal/config/auth_config_test.go:956
FunctionTestLoginSecureStorageRemovesOldInsecureConfigToken
(t *testing.T)
internal/config/auth_config_test.go:277
FunctionTestLoginSecureStorageUsesKeyring
(t *testing.T)
internal/config/auth_config_test.go:254
FunctionTestLoginSecureStorageWithErrorFallsbackAndReports
(t *testing.T)
internal/config/auth_config_test.go:290
FunctionTestLoginSetsGitProtocolForProvidedHost
(t *testing.T)
internal/config/auth_config_test.go:334
FunctionTestLoginSetsUserForProvidedHost
(t *testing.T)
internal/config/auth_config_test.go:319
FunctionTestLoginSucceedsWhenKeyringUnavailable
(t *testing.T)
internal/config/refreshable_test.go:644
FunctionTestLogin_doesNotRecordAuthTelemetryForEnterprise
(t *testing.T)
pkg/cmd/auth/shared/login_flow_test.go:894
FunctionTestLogin_pastedTokenIgnoresConfiguredExpiringPreference
(t *testing.T)
pkg/cmd/auth/shared/login_flow_test.go:629
FunctionTestLogin_recordsAuthTelemetry
(t *testing.T)
pkg/cmd/auth/shared/login_flow_test.go:687
FunctionTestLogin_recordsAuthTelemetryOnFailure
(t *testing.T)
pkg/cmd/auth/shared/login_flow_test.go:743
FunctionTestLogin_recordsExpiringSetupCancelled
(t *testing.T)
pkg/cmd/auth/shared/login_flow_test.go:845
FunctionTestLogoutAcquiresRefreshLock
(t *testing.T)
internal/config/refreshable_test.go:372
FunctionTestLogoutIgnoresErrorsFromConfigAndKeyring
Note that I'm not sure this test enforces particularly desirable behaviour since it leads users to believe a token has been removed when really that m
internal/config/auth_config_test.go:455
FunctionTestLogoutOfActiveUserSwitchesUserIfPossible
(t *testing.T)
internal/config/auth_config_test.go:400
FunctionTestLogoutOfInactiveUserDoesNotSwitchUser
(t *testing.T)
internal/config/auth_config_test.go:426
FunctionTestLogoutReloadsFreshConfigBeforeRemovingCredentials
(t *testing.T)
internal/config/refreshable_test.go:552
FunctionTestLogoutRemovesAllUserCredentialRecords
(t *testing.T)
internal/config/refreshable_test.go:328
FunctionTestLogoutRemovesHostAndKeyringToken
(t *testing.T)
internal/config/auth_config_test.go:377
FunctionTestLogoutRightAfterMigrationRemovesHost
(t *testing.T)
internal/config/auth_config_test.go:877
FunctionTestLogoutWithCredential
(t *testing.T)
internal/config/refreshable_test.go:391
FunctionTestMain
TestMain lets the test binary stand in for gh. runBinary starts gh with an environment built from scratch, so a small wrapper script sets GHMOCK_FAKE_
script/ghmock/run_test.go:30
FunctionTestMain
(m *testing.M)
acceptance/acceptance_test.go:226
FunctionTestManPrintFlagsHidesShortDeprecated
(t *testing.T)
internal/docs/man_test.go:157
FunctionTestManPrintFlagsShowsDefaultValues
(t *testing.T)
internal/docs/man_test.go:189
FunctionTestManagedFixtureRejectsRepositoryCreation
(t *testing.T)
acceptance/fixture_repository_test.go:327
FunctionTestManager_Create
(t *testing.T)
pkg/cmd/extension/manager_test.go:1362
FunctionTestManager_Create_go_binary
(t *testing.T)
pkg/cmd/extension/manager_test.go:1391
FunctionTestManager_Create_other_binary
(t *testing.T)
pkg/cmd/extension/manager_test.go:1442
FunctionTestManager_Dispatch
(t *testing.T)
pkg/cmd/extension/manager_test.go:147
FunctionTestManager_Dispatch_binary
(t *testing.T)
pkg/cmd/extension/manager_test.go:176
FunctionTestManager_Dispatch_ghExtensionEnv
(t *testing.T)
pkg/cmd/extension/manager_test.go:201
FunctionTestManager_Install_amd64_when_supported
(t *testing.T)
pkg/cmd/extension/manager_test.go:1260
FunctionTestManager_Install_binary
(t *testing.T)
pkg/cmd/extension/manager_test.go:1189
FunctionTestManager_Install_binary_pinned
(t *testing.T)
pkg/cmd/extension/manager_test.go:1025
FunctionTestManager_Install_binary_unsupported
(t *testing.T)
pkg/cmd/extension/manager_test.go:1092
FunctionTestManager_Install_git
(t *testing.T)
pkg/cmd/extension/manager_test.go:899
FunctionTestManager_Install_git_pinned
(t *testing.T)
pkg/cmd/extension/manager_test.go:979
FunctionTestManager_Install_local
(t *testing.T)
pkg/cmd/extension/manager_test.go:830
FunctionTestManager_Install_local_no_executable_found
(t *testing.T)
pkg/cmd/extension/manager_test.go:874
FunctionTestManager_Install_not_installable
(t *testing.T)
pkg/cmd/extension/manager_test.go:946
FunctionTestManager_Install_rosetta_fallback_not_found
(t *testing.T)
pkg/cmd/extension/manager_test.go:1136
FunctionTestManager_List
(t *testing.T)
pkg/cmd/extension/manager_test.go:74
FunctionTestManager_MigrateToBinaryExtension
(t *testing.T)
pkg/cmd/extension/manager_test.go:510
FunctionTestManager_Remove
(t *testing.T)
pkg/cmd/extension/manager_test.go:270
FunctionTestManager_UpgradeExtension_BinaryExtension
(t *testing.T)
pkg/cmd/extension/manager_test.go:590
FunctionTestManager_UpgradeExtension_BinaryExtension_DryRun
(t *testing.T)
pkg/cmd/extension/manager_test.go:721
FunctionTestManager_UpgradeExtension_BinaryExtension_Pinned
(t *testing.T)
pkg/cmd/extension/manager_test.go:775
FunctionTestManager_UpgradeExtension_BinaryExtension_Pinned_Force
(t *testing.T)
pkg/cmd/extension/manager_test.go:655
FunctionTestManager_UpgradeExtension_GitExtension
(t *testing.T)
pkg/cmd/extension/manager_test.go:431
FunctionTestManager_UpgradeExtension_GitExtension_DryRun
(t *testing.T)
pkg/cmd/extension/manager_test.go:457
FunctionTestManager_UpgradeExtension_GitExtension_Force
(t *testing.T)
pkg/cmd/extension/manager_test.go:483
FunctionTestManager_UpgradeExtension_GitExtension_Pinned
(t *testing.T)
pkg/cmd/extension/manager_test.go:801
FunctionTestManager_UpgradeExtension_LocalExtension
(t *testing.T)
pkg/cmd/extension/manager_test.go:398
FunctionTestManager_UpgradeExtension_LocalExtension_DryRun
(t *testing.T)
pkg/cmd/extension/manager_test.go:414
FunctionTestManager_UpgradeExtensions
(t *testing.T)
pkg/cmd/extension/manager_test.go:319
FunctionTestManager_UpgradeExtensions_DryRun
(t *testing.T)
pkg/cmd/extension/manager_test.go:359
FunctionTestManager_Upgrade_NoExtensions
(t *testing.T)
pkg/cmd/extension/manager_test.go:289
FunctionTestManager_Upgrade_NoMatchingExtension
(t *testing.T)
pkg/cmd/extension/manager_test.go:301
FunctionTestManager_list_includeMetadata
(t *testing.T)
pkg/cmd/extension/manager_test.go:107
← previousnext →5,901–6,000 of 7,572, ranked by callers