Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/open-code-review
/ functions
Functions
7,169 in github.com/alibaba/open-code-review
⨍
Functions
7,169
◇
Types & classes
774
Function
TestSelectBackground
(t *testing.T)
cmd/opencodereview/background_file_test.go:198
Function
TestSelectFilesDeletionGate
TestSelectFilesDeletionGate covers the one gate selectFiles adds over the static ones: a deletion is never selected, however reviewable its path looks
internal/agent/preview_test.go:526
Function
TestSelectFilesDropsFilteredPaths
(t *testing.T)
internal/agent/coverage_test.go:163
Function
TestSelectFilesTooLarge
(t *testing.T)
internal/agent/agent_test.go:612
Function
TestSelectFilesTooLarge_Boundary
TestSelectFilesTooLarge_Boundary pins the 80% threshold exactly: with MaxTokens=100 the limit is 80, so an 80-token diff is kept and an 81-token one i
internal/agent/agent_test.go:646
Function
TestSelectFilesTooLarge_ZeroMaxTokens
(t *testing.T)
internal/agent/agent_test.go:665
Function
TestSelectFiles_Starlark
(t *testing.T)
internal/agent/preview_test.go:544
Function
TestSelectScanItems_Large
(t *testing.T)
internal/scan/agent_test.go:296
Function
TestSelectScanItems_LargeBoundary
TestSelectScanItems_LargeBoundary pins the 80% threshold exactly: with MaxTokens=100 the limit is 80, so an 80-token item is kept and an 81-token one
internal/scan/agent_test.go:334
Function
TestSelectScanItems_NoLimit
(t *testing.T)
internal/scan/agent_test.go:352
Function
TestSelectScanItems_Reviewability
(t *testing.T)
internal/scan/coverage_test.go:112
Function
TestSelectedCustomProvider_NotCustomTab
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:546
Function
TestSelectedCustomProvider_OutOfBounds
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:554
Function
TestSelectedModelFromState_CustomModelInput
--- selectedModelFromState tests ---
cmd/opencodereview/provider_tui_funcs_test.go:1674
Function
TestSelectedModelFromState_OutOfBounds
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:1684
Function
TestSelectedWinsOverExcluded
An item_id is never in both sets, and the selected set wins either way: excluding a selected item is rejected, selecting an excluded one replaces it.
internal/session/manifest_test.go:945
Function
TestSensitiveHeader
(t *testing.T)
internal/llm/raw_test.go:338
Function
TestSessionAcceptsPromptAfterCancellation
(t *testing.T)
acp/internal/adapter/lifecycle_test.go:120
Function
TestSessionCompareCmd_HelpRoutes
TestSessionCompareCmd_HelpRoutes mirrors the parent-command routing checks: `session compare --help` must resolve through the session command tree.
cmd/opencodereview/session_cmd_test.go:974
Function
TestSessionCompareCompletesBothPositionals
TestSessionCompareCompletesBothPositionals pins that typing the first session id does not stop completion of the second.
cmd/opencodereview/session_cmd_test.go:990
Function
TestSessionDisplayDoesNotInferLegacyComplete
(t *testing.T)
cmd/opencodereview/session_cmd_test.go:552
Function
TestSessionDisplayUsesManifestStatusAndCoverage
(t *testing.T)
cmd/opencodereview/session_cmd_test.go:517
Function
TestSessionDisplayUsesUnknownForInvalidManifestStatus
(t *testing.T)
cmd/opencodereview/session_cmd_test.go:541
Function
TestSessionEndIncludesFailures
(t *testing.T)
internal/session/persist_test.go:385
Function
TestSessionFilePath_EmptyID
--- SessionFilePath ---
internal/session/resume_test.go:18
Function
TestSessionFilePath_ValidID
(t *testing.T)
internal/session/resume_test.go:25
Function
TestSessionFilePermissions
(t *testing.T)
internal/session/persist_test.go:237
Function
TestSessionIDsSurviveDeletion
(t *testing.T)
acp/internal/adapter/lifecycle_test.go:159
Function
TestSessionJS_PreservesCodeBlockDollarSigns
String.prototype.replace interprets $&, $$, $` and $' in replacement strings. Because esc() runs before fenced code extraction, a literal "$" before a
internal/viewer/server_extra_test.go:1243
Function
TestSessionJS_UsesDefaultCommentPaging
(t *testing.T)
internal/viewer/server_extra_test.go:1030
Function
TestSessionKeyContext
(t *testing.T)
internal/llm/sessionkey_test.go:26
Function
TestSessionRecordsIncludeLLMSource
(t *testing.T)
internal/session/persist_test.go:133
Function
TestSessionRejectsUnknownCommit
(t *testing.T)
acp/internal/adapter/prompt_test.go:72
Function
TestSessionRm_CompletionNarrowsWithRepoFlag
(t *testing.T)
cmd/opencodereview/session_rm_test.go:513
Function
TestSessionRm_CompletionOffersSessionsFromEveryRepository
(t *testing.T)
cmd/opencodereview/session_rm_test.go:486
Function
TestSessionRm_CorruptSessionIsDeletableAndDescribedHonestly
(t *testing.T)
cmd/opencodereview/session_rm_test.go:158
Function
TestSessionRm_DeclinedConfirmationKeepsTheSession
(t *testing.T)
cmd/opencodereview/session_rm_test.go:35
Function
TestSessionRm_FindsTheSessionWithoutBeingToldTheRepository
(t *testing.T)
cmd/opencodereview/session_rm_test.go:349
Function
TestSessionRm_ListsCandidatesRatherThanGuessing
(t *testing.T)
cmd/opencodereview/session_rm_test.go:368
Function
TestSessionRm_NonInteractiveStdinDoesNotDelete
(t *testing.T)
cmd/opencodereview/session_rm_test.go:61
Function
TestSessionRm_OtherRepoRefusedBeforePrompting
(t *testing.T)
cmd/opencodereview/session_rm_test.go:198
Function
TestSessionRm_PromptMatchesTheListFormatting
(t *testing.T)
cmd/opencodereview/session_rm_test.go:285
Function
TestSessionRm_RejectsTraversalIDsBeforeTouchingTheFilesystem
(t *testing.T)
cmd/opencodereview/session_rm_test.go:131
Function
TestSessionRm_RepoFlagNarrowsAnAmbiguousID
(t *testing.T)
cmd/opencodereview/session_rm_test.go:393
Function
TestSessionRm_RepoFlagRefusesAnUnverifiableSession
(t *testing.T)
cmd/opencodereview/session_rm_test.go:446
Function
TestSessionRm_TraversalIDIsRefusedBeforeSearchingEveryRepository
(t *testing.T)
cmd/opencodereview/session_rm_test.go:431
Function
TestSessionRm_UnknownIDAnywhereSaysSoWithoutPrompting
(t *testing.T)
cmd/opencodereview/session_rm_test.go:413
Function
TestSessionRm_UnknownIDExplainsHowToList
(t *testing.T)
cmd/opencodereview/session_rm_test.go:109
Function
TestSessionRm_UnreadableSessionIsReportedNotTreatedAsCorrupt
(t *testing.T)
cmd/opencodereview/session_rm_test.go:259
Function
TestSessionRm_UnverifiableSessionIsStillDeletableByIDAlone
(t *testing.T)
cmd/opencodereview/session_rm_test.go:471
Function
TestSessionRm_YesFlagDeletesWithoutPrompting
(t *testing.T)
cmd/opencodereview/session_rm_test.go:83
Function
TestSessionShow_CompletesIDsAcrossRepositories
(t *testing.T)
cmd/opencodereview/session_show_anywhere_test.go:137
Function
TestSessionTaskKey
(t *testing.T)
internal/llm/sessionkey_test.go:45
Function
TestSessionTaskKeyProviderSafeLength
(t *testing.T)
internal/llm/sessionkey_test.go:78
Function
TestSessionTaskKeySessionPrefixCollisionBoundary
(t *testing.T)
internal/llm/sessionkey_test.go:130
Function
TestSessionTaskKeyTruncatesLongSessionComponent
(t *testing.T)
internal/llm/sessionkey_test.go:108
Function
TestSessionTaskKeyTruncatesLongTaskType
(t *testing.T)
internal/llm/sessionkey_test.go:117
Function
TestSessionTemplateLoadsPagerScript
(t *testing.T)
internal/viewer/server_extra_test.go:1500
Function
TestSessionTemplatePaginatesLongResultSections
(t *testing.T)
internal/viewer/server_extra_test.go:998
Function
TestSessionsDir_HomeUnset
TestSessionsDir_HomeUnset covers the os.UserHomeDir error branch by clearing the HOME environment variable.
internal/session/list_more_test.go:30
Function
TestSessionsJS_PagerContract
(t *testing.T)
internal/viewer/server_extra_test.go:294
Function
TestSessionsRoot
(t *testing.T)
internal/viewer/store_load_test.go:52
Function
TestSetAttr_AllTypes
(t *testing.T)
internal/telemetry/span_test.go:112
Function
TestSetAttr_NilSpan
(t *testing.T)
internal/telemetry/span_test.go:125
Function
TestSetConfigValueAuthHeaderNormalizesKnownValues
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:19
Function
TestSetConfigValueAuthHeaderRejectsCustomHeader
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:31
Function
TestSetConfigValueCustomProviderAuxiliaryFieldRequiresExistingProvider
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:607
Function
TestSetConfigValueCustomProviderExtraHeaders
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:585
Function
TestSetConfigValueCustomProviderRejectsPresetName
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:642
Function
TestSetConfigValueDottedProviderName
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:223
Function
TestSetConfigValueDottedProviderRequiresExistingEntry
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:309
Function
TestSetConfigValueKeyCmdFields
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:156
Function
TestSetConfigValueLanguage
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1214
Function
TestSetConfigValueLlmAuthToken
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1132
Function
TestSetConfigValueLlmExtraBody
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1278
Function
TestSetConfigValueLlmExtraBodyInvalid
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1291
Function
TestSetConfigValueLlmExtraHeaders
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:524
Function
TestSetConfigValueLlmExtraHeadersInvalid
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:542
Function
TestSetConfigValueLlmExtraHeadersReservedRejected
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:550
Function
TestSetConfigValueLlmModel
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1142
Function
TestSetConfigValueLlmProtocol
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:418
Function
TestSetConfigValueLlmRetryCodesNoWarningForValidCodes
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1883
Function
TestSetConfigValueLlmRetryCodesRedundantWarning
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1852
Function
TestSetConfigValueLlmURL
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1122
Function
TestSetConfigValueLlmUseAnthropic
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1152
Function
TestSetConfigValueLlmUseAnthropicInvalid
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1207
Function
TestSetConfigValueMCPServer
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1097
Function
TestSetConfigValueMaxTokens
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:82
Function
TestSetConfigValueMaxTokensRejectsInvalidValues
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:93
Function
TestSetConfigValueModel
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:71
Function
TestSetConfigValueModelWithCustomProvider
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:505
Function
TestSetConfigValueModelWithProvider
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:119
Function
TestSetConfigValueProvider
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:39
Function
TestSetConfigValueProviderClearsModel
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1325
Function
TestSetConfigValueProviderEntry
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:138
Function
TestSetConfigValueProviderEntryExtraBody
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:491
Function
TestSetConfigValueProviderEntryInvalidKey
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:470
Function
TestSetConfigValueProviderEntryInvalidPath
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:478
Function
TestSetConfigValueProviderEntryModelsCommaSeparated
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:354
Function
TestSetConfigValueProviderEntryModelsJSON
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:335
← previous
next →
5,801–5,900 of 7,169, ranked by callers