MCPcopy Create free account

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

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

FunctionTestGitGrep_WithRunner_NoMatch
(t *testing.T)
internal/tool/code_search_test.go:714
FunctionTestGitGrep_WorkspaceMode_Found
(t *testing.T)
internal/tool/code_search_test.go:144
FunctionTestGitGrep_WorkspaceMode_NoMatch
(t *testing.T)
internal/tool/code_search_test.go:156
FunctionTestGitGrep_WorkspaceMode_UntrackedFile
(t *testing.T)
internal/tool/code_search_test.go:466
FunctionTestGitRepoRejectsEmptyRef
(t *testing.T)
acp/internal/intent/validate_extra_test.go:12
FunctionTestGitRepoResolvesHead
(t *testing.T)
acp/internal/intent/validate_extra_test.go:18
FunctionTestGitVersion_AtLeast
(t *testing.T)
internal/gitcmd/version_test.go:52
FunctionTestGitcmdPipeHelper
TestGitcmdPipeHelper is the helper entry point. It does nothing unless the mode env var is set, so a normal test run ignores it.
internal/gitcmd/runner_pipe_windows_test.go:37
FunctionTestGroupBatches_BatchSizeCap
(t *testing.T)
internal/scan/batch_test.go:102
FunctionTestGroupBatches_ByDirectory
(t *testing.T)
internal/scan/batch_test.go:73
FunctionTestGroupBatches_ByLanguage
(t *testing.T)
internal/scan/batch_test.go:51
FunctionTestGroupBatches_Empty
(t *testing.T)
internal/scan/batch_test.go:116
FunctionTestGroupBatches_None
(t *testing.T)
internal/scan/batch_test.go:93
FunctionTestGroupChurn
(t *testing.T)
internal/agent/grouping_test.go:717
FunctionTestGroupDiffs_AtFileThresholdCallsLLM
(t *testing.T)
internal/agent/grouping_test.go:409
FunctionTestGroupDiffs_BundleDisabledFallsToPerFile
(t *testing.T)
internal/agent/grouping_test.go:429
FunctionTestGroupDiffs_BundleSplitByMaxFilesPerGroup
(t *testing.T)
internal/agent/grouping_test.go:488
FunctionTestGroupDiffs_BundleTokenBudgetSplit
(t *testing.T)
internal/agent/grouping_test.go:354
FunctionTestGroupDiffs_LLMError_Fallback
(t *testing.T)
internal/agent/grouping_test.go:257
FunctionTestGroupDiffs_LLMSuccess
(t *testing.T)
internal/agent/grouping_test.go:271
FunctionTestGroupDiffs_NoGroupingTask
(t *testing.T)
internal/agent/grouping_test.go:249
FunctionTestGroupDiffs_SingleFile
(t *testing.T)
internal/agent/grouping_test.go:241
FunctionTestGroupDiffs_SingleFileSkipsQuietly
(t *testing.T)
internal/agent/grouping_test.go:446
FunctionTestGroupDiffs_SingleFileSkipsWithGroupingDisabled
(t *testing.T)
internal/agent/grouping_test.go:473
FunctionTestGroupDiffs_SkipLogReportsActualShape
(t *testing.T)
internal/agent/grouping_test.go:379
FunctionTestGroupDiffs_SmallHighChurnPerFile
(t *testing.T)
internal/agent/grouping_test.go:331
FunctionTestGroupDiffs_SmallLowChurnBundles
(t *testing.T)
internal/agent/grouping_test.go:306
FunctionTestGroupRules
(t *testing.T)
internal/delegate/rulegroup_test.go:35
FunctionTestGroupingPlan
(t *testing.T)
internal/config/template/template_test.go:148
FunctionTestGroupingStrategyString
(t *testing.T)
internal/config/template/template_test.go:184
FunctionTestGroupingView
(t *testing.T)
internal/viewer/store_test.go:112
FunctionTestHTTPClientWithHeaderTimeout
(t *testing.T)
internal/llm/retry_boundary_test.go:735
FunctionTestHTTPFailureIncludesSafeProviderMessage
(t *testing.T)
acp/internal/intent/llm/diagnostics_test.go:240
FunctionTestHTTPFailureRedactsEncodedQueryCredentials
(t *testing.T)
acp/internal/intent/llm/diagnostics_test.go:175
FunctionTestHTTPFailureShape
(t *testing.T)
internal/chatgptauth/lifecycle_test.go:363
FunctionTestHandleCompare
(t *testing.T)
internal/viewer/compare_test.go:210
FunctionTestHandleCustomFormEnter_Steps
TestHandleCustomFormEnter_Steps drives handleCustomFormEnter through the create flow's every cpStep, covering both guard and advance branches.
cmd/opencodereview/provider_tui_customform_test.go:17
FunctionTestHandleDown_CustomTab
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:614
FunctionTestHandleDown_CustomTab_Wraps
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:631
FunctionTestHandleDown_ModelStep
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:647
FunctionTestHandleDown_ModelStep_Wraps
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:658
FunctionTestHandleDown_OfficialTab
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:589
FunctionTestHandleDown_OfficialTab_Wraps
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:601
FunctionTestHandleManualFormEnter_AuthTokenGate
The Manual tab's auth-token gate is the legacy twin of apiKeyStepCanConfirm: llm.auth_token_cmd has to stand in for an empty field the same way.
cmd/opencodereview/provider_tui_funcs_test.go:2027
FunctionTestHandleManualFormEnter_Steps
TestHandleManualFormEnter_Steps drives handleManualFormEnter through every manualStep, covering both the guard (empty required field) and advance bran
cmd/opencodereview/provider_tui_manualenter_test.go:15
FunctionTestHandleRepos_EmptyRoot
(t *testing.T)
internal/viewer/handler_test.go:38
FunctionTestHandleRepos_NotFoundForNonRootPath
(t *testing.T)
internal/viewer/handler_test.go:52
FunctionTestHandleRepos_PermissionDenied
(t *testing.T)
internal/viewer/handler_test.go:74
FunctionTestHandleRepos_Success
(t *testing.T)
internal/viewer/handler_test.go:17
FunctionTestHandleRepos_UnreadableRoot
(t *testing.T)
internal/viewer/handler_test.go:63
FunctionTestHandleSession_EmptyCWD
(t *testing.T)
internal/viewer/handler_test.go:251
FunctionTestHandleSession_GroupingRendersPaths
(t *testing.T)
internal/viewer/handler_test.go:183
FunctionTestHandleSession_NotFound
(t *testing.T)
internal/viewer/handler_test.go:235
FunctionTestHandleSession_RendersMarkIdentityNotState
The session page is the marks UI's only server dependency: it must render each card's stable data-mark-id plus the client-side buttons, and carry no m
internal/viewer/handler_test.go:295
FunctionTestHandleSession_ServedPageKeepsStaticRefs
TestHandleSession_ServedPageKeepsStaticRefs guards the other half of the export gates in session.html. sessionPageData.Static is false for every HTTP
internal/viewer/server_extra_test.go:1517
FunctionTestHandleSession_Success
(t *testing.T)
internal/viewer/handler_test.go:159
FunctionTestHandleSessions_ErrorOnBadDir
(t *testing.T)
internal/viewer/handler_test.go:148
FunctionTestHandleSessions_NoCWD
(t *testing.T)
internal/viewer/handler_test.go:130
FunctionTestHandleSessions_Success
(t *testing.T)
internal/viewer/handler_test.go:107
FunctionTestHandleUp_CustomTab
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:419
FunctionTestHandleUp_ModelStep
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:436
FunctionTestHandleUp_ModelStepWraps
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:447
FunctionTestHandleUp_OfficialTab
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:390
FunctionTestHandleUp_Wraps
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:407
FunctionTestHasLineBounds
(t *testing.T)
acp/internal/adapter/workspace/files_test.go:79
FunctionTestHasOddQuotes
(t *testing.T)
internal/tool/comment_args_repair_test.go:523
FunctionTestHasReviewLimitWarning
(t *testing.T)
cmd/opencodereview/output_helpers_test.go:44
FunctionTestHasSubtaskErrors
(t *testing.T)
cmd/opencodereview/output_helpers_test.go:21
FunctionTestHasSuspectTruncation
(t *testing.T)
internal/tool/comment_args_repair_test.go:559
FunctionTestHashFields_EmptyIsCanonical
(t *testing.T)
internal/agent/manifest_hash_test.go:24
FunctionTestHashFields_LengthPrefixPreventsCollision
(t *testing.T)
internal/agent/manifest_hash_test.go:30
FunctionTestHeaderTransport
(t *testing.T)
internal/mcp/client_test.go:18
FunctionTestHeaderTransport_401
(t *testing.T)
internal/mcp/client_test.go:51
FunctionTestHeaderTransport_403
(t *testing.T)
internal/mcp/client_test.go:72
FunctionTestHomeConfigPath
(t *testing.T)
internal/telemetry/config_test.go:269
FunctionTestHostGuard
(t *testing.T)
internal/viewer/hostguard_test.go:103
FunctionTestHostOnly
(t *testing.T)
internal/viewer/hostguard_test.go:12
FunctionTestHumanTokens
(t *testing.T)
internal/scan/estimate_test.go:14
FunctionTestHumanTokens
These tests mirror internal/scan/estimate_test.go deliberately: the agent estimate helpers are re-declared copies that must stay in sync with scan's (
internal/agent/estimate_test.go:21
FunctionTestIdempotentSameOutcome
Re-applying the same terminal state is idempotent (no error).
internal/session/manifest_test.go:329
FunctionTestIdentityAndExecutionFields
Identity/execution setters populate the manifest and stop mattering after freeze.
internal/session/manifest_test.go:496
FunctionTestIdleProgressUpdatesElapsedWithoutRepeatingContent
(t *testing.T)
acp/internal/adapter/presentation/progress_test.go:259
FunctionTestInheritedPipeAcceptsGoPipes
(t *testing.T)
acp/cmd/ocr-acp/stdio_windows_test.go:18
FunctionTestInheritedPipeCloseCancelsBlockedWrite
(t *testing.T)
acp/cmd/ocr-acp/stdio_windows_test.go:55
FunctionTestInitConsoleProviders
(t *testing.T)
internal/telemetry/exporter_test.go:69
FunctionTestInitEmbeddedLoader
(t *testing.T)
internal/llm/embedded_loader_test.go:80
FunctionTestInitMCPClients
(t *testing.T)
cmd/opencodereview/review_helpers_test.go:303
FunctionTestInitMCPClients_ErrorBranches
TestInitMCPClients_ErrorBranches covers the connect/start/setup failure paths that end in a "skip this server" continue. Each server fails fast (refus
cmd/opencodereview/review_mcp_more_test.go:34
FunctionTestInitOTLPHTTPProviders_HonoursBasePath
TestInitOTLPHTTPProviders_HonoursBasePath is the regression test for the bug this exporter had: WithEndpoint takes a bare host:port, so a base path in
internal/telemetry/exporter_test.go:251
FunctionTestInitOTLPHTTPProviders_InvalidEndpoint
(t *testing.T)
internal/telemetry/exporter_test.go:117
FunctionTestInitOTLPProviders_InvalidEndpoint
(t *testing.T)
internal/telemetry/exporter_test.go:94
FunctionTestInitOTLPProviders_ProtocolRouting
(t *testing.T)
internal/telemetry/exporter_test.go:141
FunctionTestInit_AlreadyInitialized
(t *testing.T)
internal/telemetry/provider_test.go:75
FunctionTestInit_AlreadyInitializedWithShutdowns
(t *testing.T)
internal/telemetry/provider_test.go:89
FunctionTestInit_DisabledByDefault
(t *testing.T)
internal/telemetry/provider_test.go:105
FunctionTestInit_EnabledConsole
(t *testing.T)
internal/telemetry/provider_test.go:134
FunctionTestInit_ReturnsNil
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:167
FunctionTestInjectDiffMap
(t *testing.T)
internal/agent/coverage_test.go:119
FunctionTestInlineIcon
(t *testing.T)
internal/viewer/server_extra_test.go:811
FunctionTestInstallWithConfig
(t *testing.T)
acp/internal/testutil/stub_test.go:94
← previousnext →4,101–4,200 of 7,169, ranked by callers