MCPcopy Create free account

hub / github.com/alibaba/open-code-review / functions

Functions7,484 in github.com/alibaba/open-code-review

FunctionTestProviderIsEmittedEvenWhenEmpty
provider is required but may be empty: an empty string stably denotes an unnamed endpoint and must not be omitted.
internal/llm/retry_report_test.go:807
FunctionTestProviderReloadConfigAfterSaveFailure
(t *testing.T)
cmd/opencodereview/provider_tui_rollback_test.go:170
FunctionTestProviderTUINonConfigCredentialProviderDropsPreviousKey
(t *testing.T)
cmd/opencodereview/bedrock_config_test.go:356
FunctionTestProviderTUINonConfigCredentialProviderSkipsAPIKeyStep
TestProviderTUINonConfigCredentialProviderSkipsAPIKeyStep pins the wizard flow: the model step is the last one for a provider with no key to collect.
cmd/opencodereview/bedrock_config_test.go:307
FunctionTestProviderTUIResult_ManualProtocolIsCanonical
TestProviderTUIResult_ManualProtocolIsCanonical makes sure result() for the Manual tab returns the canonical protocol name picked from manualProtocols
cmd/opencodereview/provider_tui_test.go:2991
FunctionTestProviderTUIResult_ResolvedModel
(t *testing.T)
cmd/opencodereview/provider_cmd_test.go:489
FunctionTestProviderTUIView_CustomForm_AllSteps
--- viewCustomProviderForm field steps ---
cmd/opencodereview/provider_tui_funcs_test.go:2125
FunctionTestProviderTUIView_CustomForm_WithError
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:2138
FunctionTestProviderTUIView_ManualForm_AllSteps
--- viewManualTab field steps ---
cmd/opencodereview/provider_tui_funcs_test.go:2151
FunctionTestProviderTUIView_ManualForm_URLErrorUnderField
The URL error is rendered under the URL input, so the user sees it next to the value to fix instead of below the other fields.
cmd/opencodereview/provider_tui_funcs_test.go:2177
FunctionTestProviderTUIView_ManualForm_WithError
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:2164
FunctionTestProviderTUIView_ManualTab_WithExistingConfig
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:2200
FunctionTestProviderTUIView_OfficialTab_ShowsActiveModelSuffix
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:106
FunctionTestProviderTUIView_StepAPIKey
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:996
FunctionTestProviderTUIView_StepAPIKey_CustomProvider
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:1005
FunctionTestProviderTUIView_StepModel
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:955
FunctionTestProviderTUIView_StepModel_ConfirmingDeleteModel
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:985
FunctionTestProviderTUIView_StepModel_CustomModel
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:964
FunctionTestProviderTUIView_StepModel_CustomTabDeleteHelp
--- viewModel with custom tab and deleteModel ---
cmd/opencodereview/provider_tui_funcs_test.go:2214
FunctionTestProviderTUIView_StepModel_FormError
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:974
FunctionTestProviderTUIView_StepProvider_ConfirmingDelete
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:939
FunctionTestProviderTUIView_StepProvider_CustomTab
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:880
FunctionTestProviderTUIView_StepProvider_CustomTab_CreatingCustom
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:894
FunctionTestProviderTUIView_StepProvider_CustomTab_EditingCustom
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:904
FunctionTestProviderTUIView_StepProvider_ManualTab
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:920
FunctionTestProviderTUIView_StepProvider_ManualTab_InForm
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:929
FunctionTestProviderTUIView_StepProvider_OfficialTab
--- View rendering tests (smoke) ---
cmd/opencodereview/provider_tui_funcs_test.go:872
FunctionTestProviderTUI_ApiKeyClearSavedKeyReturnsEmpty
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:2277
FunctionTestProviderTUI_ApiKeyEnterWithoutEditKeepsOriginal
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:2246
FunctionTestProviderTUI_ApiKeyPasteReplacesMaskedKey
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:2140
FunctionTestProviderTUI_ApiKeyResultTrimSpace
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:2302
FunctionTestProviderTUI_ApiKeyTypingShowsOneStarPerChar
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:2216
FunctionTestProviderTUI_CancelIncompleteOfficialProviderSwitch_NoPersistedChanges
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:2473
FunctionTestProviderTUI_CustomCreateApiKeyOptional
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:2428
FunctionTestProviderTUI_CustomExistingApiKeyEmptyBlocksEnter
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:2398
FunctionTestProviderTUI_CustomFormCreateReturnsToModelList
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:984
FunctionTestProviderTUI_CustomFormEditRejectsInvalidAuthHeader
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:735
FunctionTestProviderTUI_CustomFormEscFromNameExitsForm
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:615
FunctionTestProviderTUI_CustomFormPassesKToAuthHeaderInput
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1921
FunctionTestProviderTUI_CustomFormRejectsDuplicateName
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:638
FunctionTestProviderTUI_CustomFormRejectsInvalidAuthHeader
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:686
FunctionTestProviderTUI_CustomModelInput_AddsSingleName
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1318
FunctionTestProviderTUI_CustomModelInput_RejectsDuplicate
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1369
FunctionTestProviderTUI_CustomProviderExistsInList
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1037
FunctionTestProviderTUI_CustomTabSelectAddStartsForm
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:597
FunctionTestProviderTUI_CustomTabShowsAddOption
--- Custom tab tests ---
cmd/opencodereview/provider_tui_test.go:581
FunctionTestProviderTUI_CustomTab_DeleteModelSkipsSavedInSessionWhenNoModelDeleted
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1797
FunctionTestProviderTUI_CustomTab_DeleteModelViaDKey
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1810
FunctionTestProviderTUI_CustomTab_DeleteOnCustomModelInputIgnored
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1653
FunctionTestProviderTUI_CustomTab_ModelShowsDeleteHint
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1664
FunctionTestProviderTUI_DeleteActiveCustomProvider
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1245
FunctionTestProviderTUI_DeleteCustomProvider
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1150
FunctionTestProviderTUI_DeleteCustomProviderCancel
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1191
FunctionTestProviderTUI_DeleteEscCancels
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1275
FunctionTestProviderTUI_DeleteModelPreservesActiveModel
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:2632
FunctionTestProviderTUI_DeleteOnAddOptionIgnored
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1224
FunctionTestProviderTUI_EditCustomClearKey_NoMaskedOnStepAPIKey
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:873
FunctionTestProviderTUI_EditCustomProviderSaveRejectsDuplicateRename
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:772
FunctionTestProviderTUI_EscFromAPIKeyGoesBackToModel
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:182
FunctionTestProviderTUI_EscFromModelGoesBackToProvider
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:163
FunctionTestProviderTUI_EscFromProviderCancels
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:201
FunctionTestProviderTUI_EscKeyString
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:214
FunctionTestProviderTUI_ManualFormEscFromURLExitsForm
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:246
FunctionTestProviderTUI_ManualFormEscRefocusesPreviousInput
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:271
FunctionTestProviderTUI_ManualFormEscRestoresOriginalValues
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:327
FunctionTestProviderTUI_ManualFormPassesKToAuthHeaderInput
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1887
FunctionTestProviderTUI_ManualFormPrefilledValues
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:367
FunctionTestProviderTUI_ManualFormPrefilledWhenProviderSet
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:424
FunctionTestProviderTUI_ManualFormPrefillsAuthHeader
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:455
FunctionTestProviderTUI_ManualFormRejectsWhitespaceOnlyToken
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:520
FunctionTestProviderTUI_ManualFormRequiresTokenOnFirstSetup
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:500
FunctionTestProviderTUI_ManualFormSkipsEmptyTokenWhenOriginalExists
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:471
FunctionTestProviderTUI_ManualResult
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:397
FunctionTestProviderTUI_ManualTabEnterStartsForm
--- Manual tab tests ---
cmd/opencodereview/provider_tui_test.go:223
FunctionTestProviderTUI_ManualTokenPasteReplacesMaskedToken
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:2181
FunctionTestProviderTUI_OfficialApiKeyEmptyWithEnvAllowsEnter
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:2363
FunctionTestProviderTUI_OfficialApiKeyEmptyWithoutEnvBlocksEnter
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:2326
FunctionTestProviderTUI_OfficialModelChangeBlockedAtAPIKey_KeepsGlobalModel
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:2563
FunctionTestProviderTUI_OfficialProvidersSortedByDisplayName
--- Official tab tests (updated from original) ---
cmd/opencodereview/provider_tui_test.go:148
FunctionTestProviderTUI_OfficialTab_CustomModelInput_PersistsName
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1415
FunctionTestProviderTUI_OfficialTab_CustomModelInput_RejectsDuplicate
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1472
FunctionTestProviderTUI_OfficialTab_DeleteActiveUserModelClearsCfg
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1752
FunctionTestProviderTUI_OfficialTab_DeleteBuiltInModelIgnored
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1616
FunctionTestProviderTUI_OfficialTab_DeleteModelPreservesActiveModel
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1696
FunctionTestProviderTUI_OfficialTab_DeleteOnCustomModelInputIgnored
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1642
FunctionTestProviderTUI_OfficialTab_DeleteUserAddedModel
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1579
FunctionTestProviderTUI_OfficialTab_DeleteUserAddedModelCancel
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1720
FunctionTestProviderTUI_OfficialTab_RegistryModelNotDeletable
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1627
FunctionTestProviderTUI_OfficialTab_UserAddedModelShowsDeleteHint
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1680
FunctionTestProviderTUI_PersistCustomModelName_SaveFailureRollsBack
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1858
FunctionTestProviderTUI_ReenterEditAfterClearKey_ShowsEmpty
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:926
FunctionTestProviderTUI_ResultUsesSessionModelPickWhenSelectionEmpty
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:1867
FunctionTestProviderTUI_SameOfficialProviderModelChange_DefersPersistUntilConfirm
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:2532
FunctionTestProviderTUI_SelectExistingCustomGoesToModel
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1062
FunctionTestProviderTUI_SessionModelPickSurvivesOfficialProviderSwitch
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:540
FunctionTestProviderTUI_TabKeyCycles
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:106
FunctionTestProviderTUI_TabSwitchLeft
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:74
FunctionTestProviderTUI_TabSwitchOnlyOnStepProvider
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:128
FunctionTestProviderTUI_TabSwitchRight
--- Tab switching tests ---
cmd/opencodereview/provider_tui_test.go:48
FunctionTestProviderTUI_ViewAPIKey_EnvSetNoSavedKey
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:2078
← previousnext →5,201–5,300 of 7,484, ranked by callers