MCPcopy Create free account

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

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

FunctionTestSelectBackground
(t *testing.T)
cmd/opencodereview/background_file_test.go:198
FunctionTestSelectFilesDeletionGate
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
FunctionTestSelectFilesDropsFilteredPaths
(t *testing.T)
internal/agent/coverage_test.go:163
FunctionTestSelectFilesTooLarge
(t *testing.T)
internal/agent/agent_test.go:612
FunctionTestSelectFilesTooLarge_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
FunctionTestSelectFilesTooLarge_ZeroMaxTokens
(t *testing.T)
internal/agent/agent_test.go:665
FunctionTestSelectFiles_Starlark
(t *testing.T)
internal/agent/preview_test.go:544
FunctionTestSelectScanItems_Large
(t *testing.T)
internal/scan/agent_test.go:296
FunctionTestSelectScanItems_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
FunctionTestSelectScanItems_NoLimit
(t *testing.T)
internal/scan/agent_test.go:352
FunctionTestSelectScanItems_Reviewability
(t *testing.T)
internal/scan/coverage_test.go:112
FunctionTestSelectedCustomProvider_NotCustomTab
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:546
FunctionTestSelectedCustomProvider_OutOfBounds
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:554
FunctionTestSelectedModelFromState_CustomModelInput
--- selectedModelFromState tests ---
cmd/opencodereview/provider_tui_funcs_test.go:1674
FunctionTestSelectedModelFromState_OutOfBounds
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:1684
FunctionTestSelectedWinsOverExcluded
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
FunctionTestSensitiveHeader
(t *testing.T)
internal/llm/raw_test.go:338
FunctionTestSessionAcceptsPromptAfterCancellation
(t *testing.T)
acp/internal/adapter/lifecycle_test.go:120
FunctionTestSessionCompareCmd_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
FunctionTestSessionCompareCompletesBothPositionals
TestSessionCompareCompletesBothPositionals pins that typing the first session id does not stop completion of the second.
cmd/opencodereview/session_cmd_test.go:990
FunctionTestSessionDisplayDoesNotInferLegacyComplete
(t *testing.T)
cmd/opencodereview/session_cmd_test.go:552
FunctionTestSessionDisplayUsesManifestStatusAndCoverage
(t *testing.T)
cmd/opencodereview/session_cmd_test.go:517
FunctionTestSessionDisplayUsesUnknownForInvalidManifestStatus
(t *testing.T)
cmd/opencodereview/session_cmd_test.go:541
FunctionTestSessionEndIncludesFailures
(t *testing.T)
internal/session/persist_test.go:385
FunctionTestSessionFilePath_EmptyID
--- SessionFilePath ---
internal/session/resume_test.go:18
FunctionTestSessionFilePath_ValidID
(t *testing.T)
internal/session/resume_test.go:25
FunctionTestSessionFilePermissions
(t *testing.T)
internal/session/persist_test.go:237
FunctionTestSessionIDsSurviveDeletion
(t *testing.T)
acp/internal/adapter/lifecycle_test.go:159
FunctionTestSessionJS_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
FunctionTestSessionJS_UsesDefaultCommentPaging
(t *testing.T)
internal/viewer/server_extra_test.go:1030
FunctionTestSessionKeyContext
(t *testing.T)
internal/llm/sessionkey_test.go:26
FunctionTestSessionRecordsIncludeLLMSource
(t *testing.T)
internal/session/persist_test.go:133
FunctionTestSessionRejectsUnknownCommit
(t *testing.T)
acp/internal/adapter/prompt_test.go:72
FunctionTestSessionRm_CompletionNarrowsWithRepoFlag
(t *testing.T)
cmd/opencodereview/session_rm_test.go:513
FunctionTestSessionRm_CompletionOffersSessionsFromEveryRepository
(t *testing.T)
cmd/opencodereview/session_rm_test.go:486
FunctionTestSessionRm_CorruptSessionIsDeletableAndDescribedHonestly
(t *testing.T)
cmd/opencodereview/session_rm_test.go:158
FunctionTestSessionRm_DeclinedConfirmationKeepsTheSession
(t *testing.T)
cmd/opencodereview/session_rm_test.go:35
FunctionTestSessionRm_FindsTheSessionWithoutBeingToldTheRepository
(t *testing.T)
cmd/opencodereview/session_rm_test.go:349
FunctionTestSessionRm_ListsCandidatesRatherThanGuessing
(t *testing.T)
cmd/opencodereview/session_rm_test.go:368
FunctionTestSessionRm_NonInteractiveStdinDoesNotDelete
(t *testing.T)
cmd/opencodereview/session_rm_test.go:61
FunctionTestSessionRm_OtherRepoRefusedBeforePrompting
(t *testing.T)
cmd/opencodereview/session_rm_test.go:198
FunctionTestSessionRm_PromptMatchesTheListFormatting
(t *testing.T)
cmd/opencodereview/session_rm_test.go:285
FunctionTestSessionRm_RejectsTraversalIDsBeforeTouchingTheFilesystem
(t *testing.T)
cmd/opencodereview/session_rm_test.go:131
FunctionTestSessionRm_RepoFlagNarrowsAnAmbiguousID
(t *testing.T)
cmd/opencodereview/session_rm_test.go:393
FunctionTestSessionRm_RepoFlagRefusesAnUnverifiableSession
(t *testing.T)
cmd/opencodereview/session_rm_test.go:446
FunctionTestSessionRm_TraversalIDIsRefusedBeforeSearchingEveryRepository
(t *testing.T)
cmd/opencodereview/session_rm_test.go:431
FunctionTestSessionRm_UnknownIDAnywhereSaysSoWithoutPrompting
(t *testing.T)
cmd/opencodereview/session_rm_test.go:413
FunctionTestSessionRm_UnknownIDExplainsHowToList
(t *testing.T)
cmd/opencodereview/session_rm_test.go:109
FunctionTestSessionRm_UnreadableSessionIsReportedNotTreatedAsCorrupt
(t *testing.T)
cmd/opencodereview/session_rm_test.go:259
FunctionTestSessionRm_UnverifiableSessionIsStillDeletableByIDAlone
(t *testing.T)
cmd/opencodereview/session_rm_test.go:471
FunctionTestSessionRm_YesFlagDeletesWithoutPrompting
(t *testing.T)
cmd/opencodereview/session_rm_test.go:83
FunctionTestSessionShow_CompletesIDsAcrossRepositories
(t *testing.T)
cmd/opencodereview/session_show_anywhere_test.go:137
FunctionTestSessionTaskKey
(t *testing.T)
internal/llm/sessionkey_test.go:45
FunctionTestSessionTaskKeyProviderSafeLength
(t *testing.T)
internal/llm/sessionkey_test.go:78
FunctionTestSessionTaskKeySessionPrefixCollisionBoundary
(t *testing.T)
internal/llm/sessionkey_test.go:130
FunctionTestSessionTaskKeyTruncatesLongSessionComponent
(t *testing.T)
internal/llm/sessionkey_test.go:108
FunctionTestSessionTaskKeyTruncatesLongTaskType
(t *testing.T)
internal/llm/sessionkey_test.go:117
FunctionTestSessionTemplateLoadsPagerScript
(t *testing.T)
internal/viewer/server_extra_test.go:1500
FunctionTestSessionTemplatePaginatesLongResultSections
(t *testing.T)
internal/viewer/server_extra_test.go:998
FunctionTestSessionsDir_HomeUnset
TestSessionsDir_HomeUnset covers the os.UserHomeDir error branch by clearing the HOME environment variable.
internal/session/list_more_test.go:30
FunctionTestSessionsJS_PagerContract
(t *testing.T)
internal/viewer/server_extra_test.go:294
FunctionTestSessionsRoot
(t *testing.T)
internal/viewer/store_load_test.go:52
FunctionTestSetAttr_AllTypes
(t *testing.T)
internal/telemetry/span_test.go:112
FunctionTestSetAttr_NilSpan
(t *testing.T)
internal/telemetry/span_test.go:125
FunctionTestSetConfigValueAuthHeaderNormalizesKnownValues
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:19
FunctionTestSetConfigValueAuthHeaderRejectsCustomHeader
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:31
FunctionTestSetConfigValueCustomProviderAuxiliaryFieldRequiresExistingProvider
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:607
FunctionTestSetConfigValueCustomProviderExtraHeaders
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:585
FunctionTestSetConfigValueCustomProviderRejectsPresetName
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:642
FunctionTestSetConfigValueDottedProviderName
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:223
FunctionTestSetConfigValueDottedProviderRequiresExistingEntry
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:309
FunctionTestSetConfigValueKeyCmdFields
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:156
FunctionTestSetConfigValueLanguage
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1214
FunctionTestSetConfigValueLlmAuthToken
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1132
FunctionTestSetConfigValueLlmExtraBody
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1278
FunctionTestSetConfigValueLlmExtraBodyInvalid
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1291
FunctionTestSetConfigValueLlmExtraHeaders
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:524
FunctionTestSetConfigValueLlmExtraHeadersInvalid
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:542
FunctionTestSetConfigValueLlmExtraHeadersReservedRejected
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:550
FunctionTestSetConfigValueLlmModel
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1142
FunctionTestSetConfigValueLlmProtocol
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:418
FunctionTestSetConfigValueLlmRetryCodesNoWarningForValidCodes
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1883
FunctionTestSetConfigValueLlmRetryCodesRedundantWarning
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1852
FunctionTestSetConfigValueLlmURL
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1122
FunctionTestSetConfigValueLlmUseAnthropic
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1152
FunctionTestSetConfigValueLlmUseAnthropicInvalid
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1207
FunctionTestSetConfigValueMCPServer
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1097
FunctionTestSetConfigValueMaxTokens
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:82
FunctionTestSetConfigValueMaxTokensRejectsInvalidValues
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:93
FunctionTestSetConfigValueModel
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:71
FunctionTestSetConfigValueModelWithCustomProvider
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:505
FunctionTestSetConfigValueModelWithProvider
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:119
FunctionTestSetConfigValueProvider
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:39
FunctionTestSetConfigValueProviderClearsModel
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1325
FunctionTestSetConfigValueProviderEntry
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:138
FunctionTestSetConfigValueProviderEntryExtraBody
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:491
FunctionTestSetConfigValueProviderEntryInvalidKey
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:470
FunctionTestSetConfigValueProviderEntryInvalidPath
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:478
FunctionTestSetConfigValueProviderEntryModelsCommaSeparated
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:354
FunctionTestSetConfigValueProviderEntryModelsJSON
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:335
← previousnext →5,801–5,900 of 7,169, ranked by callers