MCPcopy Create free account

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

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

FunctionTestContentLogging_Disabled
(t *testing.T)
internal/telemetry/provider_test.go:49
FunctionTestContentLogging_EnabledWithEnv
(t *testing.T)
internal/telemetry/provider_test.go:58
FunctionTestContentLogging_EnabledWithoutEnv
(t *testing.T)
internal/telemetry/provider_test.go:66
FunctionTestContentSecurityPolicyIsStrict
The CSP must stay strict: no 'unsafe-inline'/'unsafe-eval' relaxation, since the formerly-inline session script now lives in static/session.js.
internal/viewer/securityheaders_test.go:51
FunctionTestContentToText_Empty
(t *testing.T)
internal/mcp/client_test.go:182
FunctionTestContentToText_MultipleText
(t *testing.T)
internal/mcp/client_test.go:170
FunctionTestContentToText_SingleText
(t *testing.T)
internal/mcp/client_test.go:160
FunctionTestContentToText_UnsupportedType
(t *testing.T)
internal/mcp/client_test.go:194
FunctionTestContextPaginationReplayAndVerification
(test *testing.T)
internal/behaviortask/context_test.go:19
FunctionTestContextWithTraceParentFromEnv_AbsentOrDisabled
(t *testing.T)
internal/telemetry/span_test.go:209
FunctionTestContextWithTraceParentFromEnv_Extracts
(t *testing.T)
internal/telemetry/span_test.go:183
FunctionTestContextWithTraceParentFromEnv_Malformed
(t *testing.T)
internal/telemetry/span_test.go:230
FunctionTestConversationToolBindings
(test *testing.T)
internal/config/template/template_test.go:12
FunctionTestCopyAbortCancelsIdleSynchronousRead
(t *testing.T)
acp/cmd/ocr-acp/stdio_windows_test.go:170
FunctionTestCopyLlmComments_DeepCopy
(t *testing.T)
internal/session/resume_test.go:459
FunctionTestCopyLlmComments_Empty
(t *testing.T)
internal/session/resume_test.go:453
FunctionTestCopyLlmComments_Nil
--- copyLlmComments ---
internal/session/resume_test.go:447
FunctionTestCopyMessages
(t *testing.T)
internal/llmloop/compression_test.go:281
FunctionTestCopyMessages
(t *testing.T)
internal/agent/util_test.go:140
FunctionTestCopyRejectsThreadInitializationFailure
(t *testing.T)
acp/cmd/ocr-acp/stdio_windows_test.go:124
FunctionTestCountLines
(t *testing.T)
internal/scan/provider_test.go:18
FunctionTestCountMessagesTokens
(t *testing.T)
internal/llmloop/compression_test.go:17
FunctionTestCountMessagesTokens
(t *testing.T)
internal/agent/util_test.go:161
FunctionTestCountMessagesTokens_Empty
(t *testing.T)
internal/llmloop/compression_test.go:28
FunctionTestCountMessagesTokens_IncludesNativePayload
TestCountMessagesTokens_IncludesNativePayload guards a gap found in review of the #805 fix: once an assistant turn's Native payload (thinking blocks,
internal/llmloop/compression_test.go:41
FunctionTestCountMessagesTokens_IncludesToolCalls
TestCountMessagesTokens_IncludesToolCalls guards against under-counting assistant turns that invoke tools under protocols where tool calls live on Too
internal/llmloop/compression_test.go:61
FunctionTestCountTokens
(t *testing.T)
internal/llm/client_test.go:1948
FunctionTestCountTokensForModel
(t *testing.T)
internal/llm/client_test.go:1971
FunctionTestCountTokensUsesEmbeddedBpeData
TestCountTokensUsesEmbeddedBpeData guards the root cause behind the offline failures of TestSelectFilesTooLarge_Boundary and TestSelectScanItems_Large
internal/llm/embedded_loader_test.go:90
FunctionTestCoverageSortedAndNonNilJSON
Coverage arrays are sorted by item_id and marshal as [] (never null).
internal/session/manifest_test.go:523
FunctionTestCpProtocolIndex
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:2800
FunctionTestCpProtocols_ContainsAllCanonicalNames
--- protocol normalization / openai-responses support ---
cmd/opencodereview/provider_tui_test.go:2764
FunctionTestCredentialsRefreshWindow
(t *testing.T)
internal/chatgptauth/refresh_recovery_test.go:253
FunctionTestCrossProcessSessionLock
(t *testing.T)
internal/chatgptauth/lifecycle_test.go:339
FunctionTestCtrlBreakUndeliverable
A console-less agent cannot deliver CTRL_BREAK at all. That is the expected outcome of the cooperative interrupt, not a cleanup failure, so it must be
acp/internal/orchestrator/process/winapi_windows_test.go:17
FunctionTestCurrentProvider_OutOfBounds
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:528
FunctionTestCurrentProvider_WrongTab
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:537
FunctionTestCustomAPIKeyForSave
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:960
FunctionTestCustomBedrockModelListDoesNotGateOverride
(t *testing.T)
internal/llm/bedrock_test.go:322
FunctionTestCustomDeadlineCauseIsNotExposed
(t *testing.T)
acp/internal/intent/llm/diagnostics_test.go:156
FunctionTestCustomFormEndsAtProtocolForBedrock
TestCustomFormEndsAtProtocolForBedrock covers the Custom form's ambient branch. Bedrock has no url, no api key and no auth header to collect, so walki
cmd/opencodereview/provider_tui_customform_test.go:202
FunctionTestCustomListCount
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:361
FunctionTestCustomProviderActiveModel_DifferentProvider
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:28
FunctionTestCustomProviderActiveModel_MatchingProvider
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:38
FunctionTestCustomProviderActiveModel_NilCfg
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:19
FunctionTestCustomProviderCanSelectBedrock
TestCustomProviderCanSelectBedrock is the other half of that contract: where a provider entry exists there is somewhere to put aws_region and aws_prof
internal/llm/bedrock_test.go:250
FunctionTestCustomProviderEntry_Fallback
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:720
FunctionTestCustomProviderEntry_FromConfig
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:706
FunctionTestCustomProviderNameTaken
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:506
FunctionTestDecodeResultAcceptsContractSuccessStatuses
(t *testing.T)
acp/internal/orchestrator/internal_test.go:120
FunctionTestDecodeResultValidationAndStatuses
(t *testing.T)
acp/internal/orchestrator/internal_test.go:103
FunctionTestDefaultAuthHeader
(t *testing.T)
internal/llm/message_test.go:385
FunctionTestDefaultConfig
(t *testing.T)
internal/telemetry/config_test.go:12
FunctionTestDefaultStoreAndInvalidStores
(t *testing.T)
internal/chatgptauth/io_test.go:20
FunctionTestDefaultToolNamesAreUnique
(test *testing.T)
internal/config/toolsconfig/toolsconfig_test.go:53
FunctionTestDefaultToolNamesMatchDefinitions
(test *testing.T)
internal/config/toolsconfig/toolsconfig_test.go:71
FunctionTestDelegateContextMergeBaseEmptyForNonRange
(t *testing.T)
cmd/opencodereview/delegate_helpers_test.go:58
FunctionTestDelegateContextMergeBase_Range
(t *testing.T)
cmd/opencodereview/delegate_exec_test.go:272
FunctionTestDelegateContextResolver
(t *testing.T)
cmd/opencodereview/delegate_helpers_test.go:69
FunctionTestDelegateContextReviewMode
(t *testing.T)
cmd/opencodereview/delegate_helpers_test.go:38
FunctionTestDelegateDiffExamples
(t *testing.T)
internal/delegate/instructions_test.go:204
FunctionTestDelegateDiffModes
(t *testing.T)
cmd/opencodereview/flags_test.go:180
FunctionTestDelegateFromWithoutToUsesHEADRangeE2E
(t *testing.T)
cmd/opencodereview/default_to_head_e2e_test.go:109
FunctionTestDelegateGitIsolation
(t *testing.T)
internal/delegate/instructions_test.go:304
FunctionTestDelegatePagerPTY
(t *testing.T)
internal/delegate/instructions_test.go:377
FunctionTestDelegatePagerProcess
(t *testing.T)
internal/delegate/instructions_test.go:364
FunctionTestDeleteCustomProvider_NotFound
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1476
FunctionTestDeleteSessionAt_DeletesALocationFromTheSearch
(t *testing.T)
internal/session/delete_test.go:339
FunctionTestDeleteSessionAt_RefusesAPathThatDisagreesWithItsParts
(t *testing.T)
internal/session/delete_test.go:319
FunctionTestDeleteSessionAt_RefusesATraversingEncodedDir
(t *testing.T)
internal/session/delete_test.go:296
FunctionTestDeleteSessionAt_RefusesPathOutsideSessionsRoot
(t *testing.T)
internal/session/delete_test.go:280
FunctionTestDeleteSessionAt_UnattributableSessionIsStillDeletable
(t *testing.T)
internal/session/delete_test.go:192
FunctionTestDeleteSession_MissingSessionIsReportedNotSilentlyIgnored
(t *testing.T)
internal/session/delete_test.go:70
FunctionTestDeleteSession_RefusesASessionRecordedForAnotherRepo
(t *testing.T)
internal/session/delete_test.go:131
FunctionTestDeleteSession_RefusesAnEmptyID
(t *testing.T)
internal/session/delete_test.go:122
FunctionTestDeleteSession_RefusesIdsThatEscapeTheSessionsDirectory
(t *testing.T)
internal/session/delete_test.go:81
FunctionTestDeleteSession_RemovesOnlyTheNamedSession
(t *testing.T)
internal/session/delete_test.go:42
FunctionTestDeleteSession_UnattributableSessionIsRefusedAgainstARepository
(t *testing.T)
internal/session/delete_test.go:178
FunctionTestDescribeFilesNoManifest
TestDescribeFilesNoManifest covers the branch where RunManifest is nil.
cmd/opencodereview/session_display_more_test.go:77
FunctionTestDescribeRange
TestDescribeRange covers each review-mode branch plus the fallthrough.
cmd/opencodereview/session_display_more_test.go:23
FunctionTestDescribeStart
TestDescribeStart covers the zero-time and formatted branches.
cmd/opencodereview/session_display_more_test.go:65
FunctionTestDescribeTimeoutIndependentCallerDeadline
(t *testing.T)
internal/llm/request_timeout_test.go:164
FunctionTestDiagnosticMetadataSurvivesShortConfigurationValues
(t *testing.T)
acp/internal/intent/llm/diagnostics_test.go:264
FunctionTestDiagnosticsBoundProviderOutput
(t *testing.T)
acp/internal/intent/llm/diagnostics_test.go:215
FunctionTestDiagnosticsDoNotReplaceProgressActivity
(t *testing.T)
acp/internal/adapter/presentation/progress_test.go:19
FunctionTestDiagnosticsRedactUsernameCredentials
(t *testing.T)
acp/internal/intent/llm/diagnostics_test.go:223
FunctionTestDiffMapPathsKeepsEmptyDiff
A path that holds an empty diff is still a path the message can offer.
internal/tool/diffmap_test.go:56
FunctionTestDiffMapPathsSorted
Paths are reported sorted so a message built from them is stable.
internal/tool/diffmap_test.go:47
FunctionTestDiffMapReplacementDropsEarlierPaths
The not-found message is derived from the snapshot the provider currently holds, so its correctness rests on two properties of that snapshot: it is re
internal/tool/diffmap_test.go:21
FunctionTestDiffMap_Get
(t *testing.T)
internal/tool/file_read_diff_test.go:21
FunctionTestDiffModesPreserveCQuotedPaths
(t *testing.T)
internal/diff/git_cquoted_test.go:56
FunctionTestDiffModesPreserveNonASCIIPaths
(t *testing.T)
internal/diff/git_test.go:334
FunctionTestDiffStatus
(t *testing.T)
internal/agent/preview_test.go:630
FunctionTestDiff_JSONRoundTrip
(t *testing.T)
internal/model/model_test.go:11
FunctionTestDisconnectReapsOCRBeforeAdapterExit
(t *testing.T)
acp/cmd/ocr-acp/main_test.go:57
FunctionTestDiscoverRepos_Empty
(t *testing.T)
internal/viewer/store_test.go:161
FunctionTestDiscoverRepos_FindsRepos
(t *testing.T)
internal/viewer/store_test.go:196
FunctionTestDiscoverRepos_NonExistentDir
(t *testing.T)
internal/viewer/store_test.go:172
FunctionTestDiscoverRepos_SkipsDirsWithNoJSONL
(t *testing.T)
internal/viewer/store_test.go:236
FunctionTestDiscoverRepos_SkipsFiles
(t *testing.T)
internal/viewer/store_test.go:182
← previousnext →3,801–3,900 of 7,390, ranked by callers