Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/open-code-review
/ functions
Functions
7,599 in github.com/alibaba/open-code-review
⨍
Functions
7,599
◇
Types & classes
815
Function
TestProviderTUIView_StepAPIKey
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:996
Function
TestProviderTUIView_StepAPIKey_CustomProvider
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:1005
Function
TestProviderTUIView_StepModel
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:955
Function
TestProviderTUIView_StepModel_ConfirmingDeleteModel
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:985
Function
TestProviderTUIView_StepModel_CustomModel
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:964
Function
TestProviderTUIView_StepModel_CustomTabDeleteHelp
--- viewModel with custom tab and deleteModel ---
cmd/opencodereview/provider_tui_funcs_test.go:2214
Function
TestProviderTUIView_StepModel_FormError
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:974
Function
TestProviderTUIView_StepProvider_ConfirmingDelete
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:939
Function
TestProviderTUIView_StepProvider_CustomTab
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:880
Function
TestProviderTUIView_StepProvider_CustomTab_CreatingCustom
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:894
Function
TestProviderTUIView_StepProvider_CustomTab_EditingCustom
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:904
Function
TestProviderTUIView_StepProvider_ManualTab
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:920
Function
TestProviderTUIView_StepProvider_ManualTab_InForm
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:929
Function
TestProviderTUIView_StepProvider_OfficialTab
--- View rendering tests (smoke) ---
cmd/opencodereview/provider_tui_funcs_test.go:872
Function
TestProviderTUI_ApiKeyClearSavedKeyReturnsEmpty
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:2277
Function
TestProviderTUI_ApiKeyEnterWithoutEditKeepsOriginal
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:2246
Function
TestProviderTUI_ApiKeyPasteReplacesMaskedKey
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:2140
Function
TestProviderTUI_ApiKeyResultTrimSpace
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:2302
Function
TestProviderTUI_ApiKeyTypingShowsOneStarPerChar
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:2216
Function
TestProviderTUI_CancelIncompleteOfficialProviderSwitch_NoPersistedChanges
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:2473
Function
TestProviderTUI_CustomCreateApiKeyOptional
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:2428
Function
TestProviderTUI_CustomExistingApiKeyEmptyBlocksEnter
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:2398
Function
TestProviderTUI_CustomFormCreateReturnsToModelList
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:984
Function
TestProviderTUI_CustomFormEditRejectsInvalidAuthHeader
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:735
Function
TestProviderTUI_CustomFormEscFromNameExitsForm
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:615
Function
TestProviderTUI_CustomFormPassesKToAuthHeaderInput
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1921
Function
TestProviderTUI_CustomFormRejectsDuplicateName
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:638
Function
TestProviderTUI_CustomFormRejectsInvalidAuthHeader
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:686
Function
TestProviderTUI_CustomModelInput_AddsSingleName
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1318
Function
TestProviderTUI_CustomModelInput_RejectsDuplicate
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1369
Function
TestProviderTUI_CustomProviderExistsInList
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1037
Function
TestProviderTUI_CustomTabSelectAddStartsForm
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:597
Function
TestProviderTUI_CustomTabShowsAddOption
--- Custom tab tests ---
cmd/opencodereview/provider_tui_test.go:581
Function
TestProviderTUI_CustomTab_DeleteModelSkipsSavedInSessionWhenNoModelDeleted
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1797
Function
TestProviderTUI_CustomTab_DeleteModelViaDKey
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1810
Function
TestProviderTUI_CustomTab_DeleteOnCustomModelInputIgnored
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1653
Function
TestProviderTUI_CustomTab_ModelShowsDeleteHint
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1664
Function
TestProviderTUI_DeleteActiveCustomProvider
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1245
Function
TestProviderTUI_DeleteCustomProvider
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1150
Function
TestProviderTUI_DeleteCustomProviderCancel
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1191
Function
TestProviderTUI_DeleteEscCancels
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1275
Function
TestProviderTUI_DeleteModelPreservesActiveModel
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:2632
Function
TestProviderTUI_DeleteOnAddOptionIgnored
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1224
Function
TestProviderTUI_EditCustomClearKey_NoMaskedOnStepAPIKey
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:873
Function
TestProviderTUI_EditCustomProviderSaveRejectsDuplicateRename
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:772
Function
TestProviderTUI_EscFromAPIKeyGoesBackToModel
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:182
Function
TestProviderTUI_EscFromModelGoesBackToProvider
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:163
Function
TestProviderTUI_EscFromProviderCancels
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:201
Function
TestProviderTUI_EscKeyString
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:214
Function
TestProviderTUI_ManualFormEscFromURLExitsForm
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:246
Function
TestProviderTUI_ManualFormEscRefocusesPreviousInput
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:271
Function
TestProviderTUI_ManualFormEscRestoresOriginalValues
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:327
Function
TestProviderTUI_ManualFormPassesKToAuthHeaderInput
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1887
Function
TestProviderTUI_ManualFormPrefilledValues
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:367
Function
TestProviderTUI_ManualFormPrefilledWhenProviderSet
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:424
Function
TestProviderTUI_ManualFormPrefillsAuthHeader
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:455
Function
TestProviderTUI_ManualFormRejectsWhitespaceOnlyToken
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:520
Function
TestProviderTUI_ManualFormRequiresTokenOnFirstSetup
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:500
Function
TestProviderTUI_ManualFormSkipsEmptyTokenWhenOriginalExists
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:471
Function
TestProviderTUI_ManualResult
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:397
Function
TestProviderTUI_ManualTabEnterStartsForm
--- Manual tab tests ---
cmd/opencodereview/provider_tui_test.go:223
Function
TestProviderTUI_ManualTokenPasteReplacesMaskedToken
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:2181
Function
TestProviderTUI_OfficialApiKeyEmptyWithEnvAllowsEnter
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:2363
Function
TestProviderTUI_OfficialApiKeyEmptyWithoutEnvBlocksEnter
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:2326
Function
TestProviderTUI_OfficialModelChangeBlockedAtAPIKey_KeepsGlobalModel
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:2563
Function
TestProviderTUI_OfficialProvidersSortedByDisplayName
--- Official tab tests (updated from original) ---
cmd/opencodereview/provider_tui_test.go:148
Function
TestProviderTUI_OfficialTab_CustomModelInput_PersistsName
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1415
Function
TestProviderTUI_OfficialTab_CustomModelInput_RejectsDuplicate
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1472
Function
TestProviderTUI_OfficialTab_DeleteActiveUserModelClearsCfg
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1752
Function
TestProviderTUI_OfficialTab_DeleteBuiltInModelIgnored
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1616
Function
TestProviderTUI_OfficialTab_DeleteModelPreservesActiveModel
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1696
Function
TestProviderTUI_OfficialTab_DeleteOnCustomModelInputIgnored
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1642
Function
TestProviderTUI_OfficialTab_DeleteUserAddedModel
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1579
Function
TestProviderTUI_OfficialTab_DeleteUserAddedModelCancel
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1720
Function
TestProviderTUI_OfficialTab_RegistryModelNotDeletable
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1627
Function
TestProviderTUI_OfficialTab_UserAddedModelShowsDeleteHint
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1680
Function
TestProviderTUI_PersistCustomModelName_SaveFailureRollsBack
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1858
Function
TestProviderTUI_ReenterEditAfterClearKey_ShowsEmpty
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:926
Function
TestProviderTUI_ResultUsesSessionModelPickWhenSelectionEmpty
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:1867
Function
TestProviderTUI_SameOfficialProviderModelChange_DefersPersistUntilConfirm
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:2532
Function
TestProviderTUI_SelectExistingCustomGoesToModel
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1062
Function
TestProviderTUI_SessionModelPickSurvivesOfficialProviderSwitch
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:540
Function
TestProviderTUI_TabKeyCycles
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:106
Function
TestProviderTUI_TabSwitchLeft
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:74
Function
TestProviderTUI_TabSwitchOnlyOnStepProvider
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:128
Function
TestProviderTUI_TabSwitchRight
--- Tab switching tests ---
cmd/opencodereview/provider_tui_test.go:48
Function
TestProviderTUI_ViewAPIKey_EnvSetNoSavedKey
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:2078
Function
TestProviderTUI_ViewAPIKey_EnvSetWithSavedKey
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:2106
Function
TestProviderTUI_ViewAPIKey_FreshHidesReplaceHint
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:2039
Function
TestProviderTUI_ViewAPIKey_MaskedShowsReplaceHintAndLastFour
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1942
Function
TestProviderTUI_ViewAPIKey_MinLenKeyShowsFingerprint
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:2004
Function
TestProviderTUI_ViewAPIKey_NoCmdHintWhenUnset
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:3051
Function
TestProviderTUI_ViewAPIKey_ShortKeyOmitsFingerprint
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1975
Function
TestProviderTUI_ViewAPIKey_ShowsAPIKeyCmdHint
A provider configured only by command renders a blank API-key field, so without this hint there is nothing on screen distinguishing "credential alread
cmd/opencodereview/provider_tui_test.go:3020
Function
TestProviderTUI_ViewAPIKey_ShowsFormError
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:2446
Function
TestProvider_Enumerate_CaseVariantFileNameIsNotFoldedOnCaseSensitiveFS
TestProvider_Enumerate_CaseVariantFileNameIsNotFoldedOnCaseSensitiveFS is the same rule at file level: `src/KEEP.go` names no file where `src/keep.go`
internal/scan/provider_paths_test.go:348
Function
TestProvider_Enumerate_CaseVariantSelectorResolvesOnCaseInsensitiveFS
TestProvider_Enumerate_CaseVariantSelectorResolvesOnCaseInsensitiveFS is the Windows/macOS repair: `--path SRC` names `src/` because the filesystem re
internal/scan/provider_paths_test.go:291
Function
TestProvider_Enumerate_DotSlashPrefixSelectsSubdirectory
TestProvider_Enumerate_DotSlashPrefixSelectsSubdirectory pins the normalization order. filepath.ToSlash has to run before the "./" trim, or a selector
internal/scan/provider_paths_test.go:225
Function
TestProvider_Enumerate_EmptyCaseVariantDirectoryStaysEmpty
TestProvider_Enumerate_EmptyCaseVariantDirectoryStaysEmpty pins the follow-up from review: `src/docs/` exists as an empty directory while `src/DOCS/`
internal/scan/provider_paths_test.go:368
Function
TestProvider_Enumerate_ExactSpellingWinsOnCaseSensitiveFS
TestProvider_Enumerate_ExactSpellingWinsOnCaseSensitiveFS pins the rule where case is meaningful: `src` and `SRC` are two paths, the spelled path wins
internal/scan/provider_paths_test.go:320
← previous
next →
5,301–5,400 of 7,599, ranked by callers