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
TestGitGrep_WithRunner_NoMatch
(t *testing.T)
internal/tool/code_search_test.go:714
Function
TestGitGrep_WorkspaceMode_Found
(t *testing.T)
internal/tool/code_search_test.go:144
Function
TestGitGrep_WorkspaceMode_NoMatch
(t *testing.T)
internal/tool/code_search_test.go:156
Function
TestGitGrep_WorkspaceMode_UntrackedFile
(t *testing.T)
internal/tool/code_search_test.go:466
Function
TestGitRepoRejectsEmptyRef
(t *testing.T)
acp/internal/intent/validate_extra_test.go:12
Function
TestGitRepoResolvesHead
(t *testing.T)
acp/internal/intent/validate_extra_test.go:18
Function
TestGitVersion_AtLeast
(t *testing.T)
internal/gitcmd/version_test.go:52
Function
TestGitcmdPipeHelper
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
Function
TestGroupBatches_BatchSizeCap
(t *testing.T)
internal/scan/batch_test.go:102
Function
TestGroupBatches_ByDirectory
(t *testing.T)
internal/scan/batch_test.go:73
Function
TestGroupBatches_ByLanguage
(t *testing.T)
internal/scan/batch_test.go:51
Function
TestGroupBatches_Empty
(t *testing.T)
internal/scan/batch_test.go:116
Function
TestGroupBatches_None
(t *testing.T)
internal/scan/batch_test.go:93
Function
TestGroupChurn
(t *testing.T)
internal/agent/grouping_test.go:717
Function
TestGroupDiffs_AtFileThresholdCallsLLM
(t *testing.T)
internal/agent/grouping_test.go:409
Function
TestGroupDiffs_BundleDisabledFallsToPerFile
(t *testing.T)
internal/agent/grouping_test.go:429
Function
TestGroupDiffs_BundleSplitByMaxFilesPerGroup
(t *testing.T)
internal/agent/grouping_test.go:488
Function
TestGroupDiffs_BundleTokenBudgetSplit
(t *testing.T)
internal/agent/grouping_test.go:354
Function
TestGroupDiffs_LLMError_Fallback
(t *testing.T)
internal/agent/grouping_test.go:257
Function
TestGroupDiffs_LLMSuccess
(t *testing.T)
internal/agent/grouping_test.go:271
Function
TestGroupDiffs_NoGroupingTask
(t *testing.T)
internal/agent/grouping_test.go:249
Function
TestGroupDiffs_SingleFile
(t *testing.T)
internal/agent/grouping_test.go:241
Function
TestGroupDiffs_SingleFileSkipsQuietly
(t *testing.T)
internal/agent/grouping_test.go:446
Function
TestGroupDiffs_SingleFileSkipsWithGroupingDisabled
(t *testing.T)
internal/agent/grouping_test.go:473
Function
TestGroupDiffs_SkipLogReportsActualShape
(t *testing.T)
internal/agent/grouping_test.go:379
Function
TestGroupDiffs_SmallHighChurnPerFile
(t *testing.T)
internal/agent/grouping_test.go:331
Function
TestGroupDiffs_SmallLowChurnBundles
(t *testing.T)
internal/agent/grouping_test.go:306
Function
TestGroupRules
(t *testing.T)
internal/delegate/rulegroup_test.go:35
Function
TestGroupingPlan
(t *testing.T)
internal/config/template/template_test.go:148
Function
TestGroupingStrategyString
(t *testing.T)
internal/config/template/template_test.go:184
Function
TestGroupingView
(t *testing.T)
internal/viewer/store_test.go:112
Function
TestHTTPClientWithHeaderTimeout
(t *testing.T)
internal/llm/retry_boundary_test.go:735
Function
TestHTTPFailureIncludesSafeProviderMessage
(t *testing.T)
acp/internal/intent/llm/diagnostics_test.go:240
Function
TestHTTPFailureRedactsEncodedQueryCredentials
(t *testing.T)
acp/internal/intent/llm/diagnostics_test.go:175
Function
TestHTTPFailureShape
(t *testing.T)
internal/chatgptauth/lifecycle_test.go:363
Function
TestHandleCompare
(t *testing.T)
internal/viewer/compare_test.go:210
Function
TestHandleCustomFormEnter_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
Function
TestHandleDown_CustomTab
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:614
Function
TestHandleDown_CustomTab_Wraps
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:631
Function
TestHandleDown_ModelStep
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:647
Function
TestHandleDown_ModelStep_Wraps
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:658
Function
TestHandleDown_OfficialTab
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:589
Function
TestHandleDown_OfficialTab_Wraps
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:601
Function
TestHandleManualFormEnter_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
Function
TestHandleManualFormEnter_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
Function
TestHandleRepos_EmptyRoot
(t *testing.T)
internal/viewer/handler_test.go:38
Function
TestHandleRepos_NotFoundForNonRootPath
(t *testing.T)
internal/viewer/handler_test.go:52
Function
TestHandleRepos_PermissionDenied
(t *testing.T)
internal/viewer/handler_test.go:74
Function
TestHandleRepos_Success
(t *testing.T)
internal/viewer/handler_test.go:17
Function
TestHandleRepos_UnreadableRoot
(t *testing.T)
internal/viewer/handler_test.go:63
Function
TestHandleSession_EmptyCWD
(t *testing.T)
internal/viewer/handler_test.go:251
Function
TestHandleSession_GroupingRendersPaths
(t *testing.T)
internal/viewer/handler_test.go:183
Function
TestHandleSession_NotFound
(t *testing.T)
internal/viewer/handler_test.go:235
Function
TestHandleSession_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
Function
TestHandleSession_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
Function
TestHandleSession_Success
(t *testing.T)
internal/viewer/handler_test.go:159
Function
TestHandleSessions_ErrorOnBadDir
(t *testing.T)
internal/viewer/handler_test.go:148
Function
TestHandleSessions_NoCWD
(t *testing.T)
internal/viewer/handler_test.go:130
Function
TestHandleSessions_Success
(t *testing.T)
internal/viewer/handler_test.go:107
Function
TestHandleUp_CustomTab
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:419
Function
TestHandleUp_ModelStep
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:436
Function
TestHandleUp_ModelStepWraps
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:447
Function
TestHandleUp_OfficialTab
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:390
Function
TestHandleUp_Wraps
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:407
Function
TestHasLineBounds
(t *testing.T)
acp/internal/adapter/workspace/files_test.go:79
Function
TestHasOddQuotes
(t *testing.T)
internal/tool/comment_args_repair_test.go:523
Function
TestHasReviewLimitWarning
(t *testing.T)
cmd/opencodereview/output_helpers_test.go:44
Function
TestHasSubtaskErrors
(t *testing.T)
cmd/opencodereview/output_helpers_test.go:21
Function
TestHasSuspectTruncation
(t *testing.T)
internal/tool/comment_args_repair_test.go:559
Function
TestHashFields_EmptyIsCanonical
(t *testing.T)
internal/agent/manifest_hash_test.go:24
Function
TestHashFields_LengthPrefixPreventsCollision
(t *testing.T)
internal/agent/manifest_hash_test.go:30
Function
TestHeaderTransport
(t *testing.T)
internal/mcp/client_test.go:18
Function
TestHeaderTransport_401
(t *testing.T)
internal/mcp/client_test.go:51
Function
TestHeaderTransport_403
(t *testing.T)
internal/mcp/client_test.go:72
Function
TestHomeConfigPath
(t *testing.T)
internal/telemetry/config_test.go:269
Function
TestHostGuard
(t *testing.T)
internal/viewer/hostguard_test.go:103
Function
TestHostOnly
(t *testing.T)
internal/viewer/hostguard_test.go:12
Function
TestHumanTokens
(t *testing.T)
internal/scan/estimate_test.go:14
Function
TestHumanTokens
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
Function
TestIdempotentSameOutcome
Re-applying the same terminal state is idempotent (no error).
internal/session/manifest_test.go:329
Function
TestIdentityAndExecutionFields
Identity/execution setters populate the manifest and stop mattering after freeze.
internal/session/manifest_test.go:496
Function
TestIdleProgressUpdatesElapsedWithoutRepeatingContent
(t *testing.T)
acp/internal/adapter/presentation/progress_test.go:259
Function
TestInheritedPipeAcceptsGoPipes
(t *testing.T)
acp/cmd/ocr-acp/stdio_windows_test.go:18
Function
TestInheritedPipeCloseCancelsBlockedWrite
(t *testing.T)
acp/cmd/ocr-acp/stdio_windows_test.go:55
Function
TestInitConsoleProviders
(t *testing.T)
internal/telemetry/exporter_test.go:69
Function
TestInitEmbeddedLoader
(t *testing.T)
internal/llm/embedded_loader_test.go:80
Function
TestInitMCPClients
(t *testing.T)
cmd/opencodereview/review_helpers_test.go:303
Function
TestInitMCPClients_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
Function
TestInitOTLPHTTPProviders_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
Function
TestInitOTLPHTTPProviders_InvalidEndpoint
(t *testing.T)
internal/telemetry/exporter_test.go:117
Function
TestInitOTLPProviders_InvalidEndpoint
(t *testing.T)
internal/telemetry/exporter_test.go:94
Function
TestInitOTLPProviders_ProtocolRouting
(t *testing.T)
internal/telemetry/exporter_test.go:141
Function
TestInit_AlreadyInitialized
(t *testing.T)
internal/telemetry/provider_test.go:75
Function
TestInit_AlreadyInitializedWithShutdowns
(t *testing.T)
internal/telemetry/provider_test.go:89
Function
TestInit_DisabledByDefault
(t *testing.T)
internal/telemetry/provider_test.go:105
Function
TestInit_EnabledConsole
(t *testing.T)
internal/telemetry/provider_test.go:134
Function
TestInit_ReturnsNil
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:167
Function
TestInjectDiffMap
(t *testing.T)
internal/agent/coverage_test.go:119
Function
TestInlineIcon
(t *testing.T)
internal/viewer/server_extra_test.go:811
Function
TestInstallWithConfig
(t *testing.T)
acp/internal/testutil/stub_test.go:94
← previous
next →
4,101–4,200 of 7,169, ranked by callers