Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/open-code-review
/ functions
Functions
7,633 in github.com/alibaba/open-code-review
⨍
Functions
7,633
◇
Types & classes
817
Function
TestParseShellRC_NonexistentFile
(t *testing.T)
internal/llm/message_test.go:359
Function
TestParseTemplate_CommentsToolbarMockup
(t *testing.T)
internal/viewer/server_startserver_test.go:224
Function
TestParseTemplate_ExistingCodeLineNumbers
TestParseTemplate_ExistingCodeLineNumbers asserts the rendered session page, not which helper ran: a trustworthy range gets a per-line gutter, anythin
internal/viewer/server_startserver_test.go:311
Function
TestParseTemplate_NonExistent
(t *testing.T)
internal/viewer/server_extra_test.go:54
Function
TestParseTemplate_ReposHTML
(t *testing.T)
internal/viewer/server_extra_test.go:24
Function
TestParseTemplate_SessionHTML
(t *testing.T)
internal/viewer/server_extra_test.go:44
Function
TestParseTemplate_SessionWithComments
TestParseTemplate_SessionWithComments renders session.html with review comments spanning several severities and categories so the template helpers (se
internal/viewer/server_startserver_test.go:172
Function
TestParseTemplate_SessionsHTML
(t *testing.T)
internal/viewer/server_extra_test.go:34
Function
TestParseTemplate_SharedHeader
Execute each page independently: parsing alone misses undefined partials, and parsing every page together can overwrite page-specific breadcrumbs.
internal/viewer/server_extra_test.go:63
Function
TestParseTimeoutEnv
(t *testing.T)
internal/llm/resolver_test.go:1914
Function
TestParseToolArgs_NoValidJSONStillErrors
TestParseToolArgs_NoValidJSONStillErrors confirms the recovery path is a pure addition: a raw string with no balanced JSON value anywhere still return
internal/reviewtask/tool_args_json_test.go:35
Function
TestParseToolArgs_TrailingContentAfterValidJSON
TestParseToolArgs_TrailingContentAfterValidJSON is the reported bug: a harmony-format model (openai.gpt-oss-20b-1:0 on Bedrock) leaks control tokens r
internal/reviewtask/tool_args_json_test.go:13
Function
TestParserConfigurationIsExplicit
(t *testing.T)
acp/cmd/ocr-acp/main_test.go:23
Function
TestParserRejectionPreservesRequestDiagnostics
(t *testing.T)
acp/internal/intent/llm/diagnostics_test.go:132
Function
TestParserWithRepo
(t *testing.T)
acp/internal/intent/parser_extra_test.go:15
Function
TestPartialCloneObjectReads
(test *testing.T)
internal/behaviortask/prepare_test.go:27
Function
TestPartialResultRetainsDiagnosticsAndSuggestions
(t *testing.T)
acp/internal/adapter/presentation/report_test.go:18
Function
TestPartitionMessages_AccountsForToolCalls
(t *testing.T)
internal/llmloop/compression_test.go:88
Function
TestPartitionMessages_CompleteRounds
(t *testing.T)
internal/llmloop/compression_test.go:113
Function
TestPartitionMessages_CompressionNeeded
(t *testing.T)
internal/llmloop/runner_test.go:293
Function
TestPartitionMessages_EverythingFits
(t *testing.T)
internal/llmloop/compression_test.go:159
Function
TestPartitionMessages_NoAssistant
(t *testing.T)
internal/llmloop/compression_test.go:134
Function
TestPartitionMessages_ShortConversation
(t *testing.T)
internal/llmloop/compression_test.go:145
Function
TestPassThroughCPInput
TestPassThroughCPInput drives each custom-provider input step and confirms a key press clears formError, including the masked-API-key replacement bran
cmd/opencodereview/provider_tui_cpinput_test.go:99
Function
TestPatchPathSelectionIsExactAcrossTreeShapes
(test *testing.T)
internal/behaviortask/prepare_test.go:404
Function
TestPathMatches
(t *testing.T)
internal/scan/provider_test.go:41
Function
TestPeekAndLoadSessionLiveness
(t *testing.T)
internal/viewer/store_test.go:395
Function
TestPeekSession
(t *testing.T)
internal/viewer/store_test.go:314
Function
TestPeekSessionUnknownManifestIsLegacy
(t *testing.T)
internal/viewer/store_test.go:501
Function
TestPeekSessionUsesV1ManifestCoverage
(t *testing.T)
internal/viewer/store_test.go:482
Function
TestPeekSession_MissingFile
(t *testing.T)
internal/viewer/store_test.go:364
Function
TestPeekSession_NoSessionEnd
(t *testing.T)
internal/viewer/store_test.go:371
Function
TestPendingFailureCauseSweepsWithoutForcingFailed
A pending failure cause attributes the undecided items without escalating the run: it is a controlled coverage truncation, so anything already covered
internal/session/manifest_test.go:176
Function
TestPendingFailureCauseWithNoCoverageIsFailed
When the truncation leaves nothing covered, the same coverage rule that produced partial above produces failed here — no run_failure needed. This is t
internal/session/manifest_test.go:203
Function
TestPendingLoginConcurrentAccountOperations
(t *testing.T)
internal/chatgptauth/recovery_test.go:225
Function
TestPendingRefreshLogoutAndClear
(t *testing.T)
internal/chatgptauth/refresh_recovery_test.go:187
Function
TestPendingRefreshRecoversAfterIDAndAccessExpiry
(t *testing.T)
internal/chatgptauth/refresh_recovery_test.go:227
Function
TestPendingRefreshRejectsUnverifiedIdentity
(t *testing.T)
internal/chatgptauth/refresh_recovery_test.go:110
Function
TestPersistAddedModelName
TestPersistAddedModelName covers modelTUIModel.persistAddedModelName: empty name, nil config, custom success, official success, and both save failures
cmd/opencodereview/provider_tui_persist_test.go:280
Function
TestPersistCustomModelName
TestPersistCustomModelName covers the providerTUIModel.persistCustomModelName branches: empty name, nil config, custom-tab success, official-tab succe
cmd/opencodereview/provider_tui_persist_test.go:17
Function
TestPhaseEnabled
(t *testing.T)
internal/scan/coverage_test.go:1303
Function
TestPhaseEnabled_GatedByTemplateAndFlag
(t *testing.T)
internal/scan/estimate_test.go:150
Function
TestPhaseEvent_Success
(t *testing.T)
internal/telemetry/events_test.go:131
Function
TestPhaseEvent_WithError
(t *testing.T)
internal/telemetry/events_test.go:137
Function
TestPlanEnabledFor
(t *testing.T)
internal/scan/agent_test.go:216
Function
TestPlanRequired
(t *testing.T)
internal/config/template/template_test.go:502
Function
TestPlanToolReferencesRemainReferenceOnly
(test *testing.T)
internal/agent/coverage_test.go:655
Function
TestPositionalSignature
(t *testing.T)
cmd/opencodereview/arg_errors_test.go:260
Function
TestPostErrors
(t *testing.T)
acp/internal/intent/llm/client_test.go:342
Function
TestPreparationAndArtifactFailures
(test *testing.T)
internal/behaviortask/context_test.go:117
Function
TestPrepareFixedInput
(test *testing.T)
internal/behaviortask/prepare_test.go:354
Function
TestPreparePreservesInventoryAcrossRenameLimit
(test *testing.T)
internal/behaviortask/scope_regression_test.go:17
Function
TestPrepareRejectsWorkspace
(test *testing.T)
internal/behaviortask/prepare_test.go:347
Function
TestPrepareRenameExclusion
(test *testing.T)
internal/behaviortask/prepare_test.go:457
Function
TestPrepareReviewCodeTools
(test *testing.T)
cmd/opencodereview/code_access_test.go:20
Function
TestPrepareReviewCodeToolsErrors
(test *testing.T)
cmd/opencodereview/code_access_test.go:78
Function
TestPrepareRootAndEmptyRange
(test *testing.T)
internal/behaviortask/prepare_test.go:436
Function
TestPreparedReplaySmoke
(test *testing.T)
internal/behaviortask/replay_test.go:18
Function
TestPreterminatedRequestDoesNotStartOCR
(t *testing.T)
acp/internal/orchestrator/termination_test.go:30
Function
TestPreview
TestPreview exercises Agent.Preview against a real workspace diff so the full preview-building path (loadDiffs + whyExcluded + entry assembly) runs.
internal/agent/preview_run_test.go:58
Function
TestPreviewEmptyEntriesNotNil
TestPreviewEmptyEntriesNotNil pins that a clean workspace still yields a non-nil Entries slice, so JSON output marshals `"files":[]` instead of `"file
internal/agent/preview_run_test.go:396
Function
TestPreviewEntry_ExcludeReasonOmitEmpty
(t *testing.T)
internal/model/model_test.go:64
Function
TestPreviewEntry_JSONRoundTrip
(t *testing.T)
internal/model/model_test.go:39
Function
TestPreviewKeepsChangesetOrder
TestPreviewKeepsChangesetOrder pins issue #1236: provider-directory entries sit where Git lists them rather than ahead of every other file, so the pre
internal/agent/preview_run_test.go:167
Function
TestPreviewMarksOversizedDiffTooLarge
TestPreviewMarksOversizedDiffTooLarge pins that preview applies the per-file diff-size ceiling the real run applies before dispatch, and reports it un
internal/agent/preview_run_test.go:250
Function
TestPreviewMatchesRunSelectedCoverage
TestPreviewMatchesRunSelectedCoverage is the property #782 asked for: preview's will_review set must equal the set a fresh, non-resumed, unbudgeted ru
internal/agent/preview_run_test.go:293
Function
TestPreviewMaxTokensMatchesRun
TestPreviewMaxTokensMatchesRun pins the one input preview and the run do not share: the per-file token ceiling. Both resolve it through the same resol
cmd/opencodereview/review_helpers_test.go:262
Function
TestPreviewOmitsUntrackedProviderDirFile
TestPreviewOmitsUntrackedProviderDirFile pins the tracked-only scope of issue #1235: an untracked file under a provider directory is dropped before a
internal/agent/preview_run_test.go:134
Function
TestPreviewReportsGitignoredTrackedFile
TestPreviewReportsGitignoredTrackedFile checks that a tracked file the repository's .gitignore matches is reported as excluded. If it were dropped fro
internal/agent/preview_run_test.go:424
Function
TestPreviewShowsProviderExcludedVendorDiff
TestPreviewShowsProviderExcludedVendorDiff pins issue #1197: a tracked file under vendor/ is intentionally not reviewable, but Preview must still show
internal/agent/preview_run_test.go:88
Function
TestPreview_DoesNotMutateAgentItems
TestPreview_DoesNotMutateAgentItems guards against re-introducing a side-effect that pre-populated a.items, which made subsequent Run calls on the sam
internal/scan/agent_test.go:103
Function
TestPreview_EmptyResultEntriesIsNonNilSlice
TestPreview_EmptyResultEntriesIsNonNilSlice prevents `"files":null` in JSON output when there is nothing reviewable to enumerate.
internal/scan/agent_test.go:127
Function
TestPrintDiffLine
(t *testing.T)
cmd/opencodereview/output_helpers_test.go:663
Function
TestPrintDiffLine_NoColor
(t *testing.T)
cmd/opencodereview/output_color_test.go:66
Function
TestPrintToolCallError
(t *testing.T)
internal/telemetry/events_test.go:239
Function
TestPrintToolCallFinished
(t *testing.T)
internal/telemetry/events_test.go:235
Function
TestPrintToolCallStarted_NoArgs
(t *testing.T)
internal/telemetry/events_test.go:231
Function
TestPrintToolCallStarted_WithArgs
(t *testing.T)
internal/telemetry/events_test.go:227
Function
TestPrintTraceSummary_NoTokenDetails
(t *testing.T)
internal/telemetry/events_test.go:181
Function
TestPrintTraceSummary_WithCacheTokens
(t *testing.T)
internal/telemetry/events_test.go:166
Function
TestPrintTraceSummary_WithSessionID
(t *testing.T)
internal/telemetry/events_test.go:195
Function
TestPrintTraceSummary_WithTokenDetails
(t *testing.T)
internal/telemetry/events_test.go:152
Function
TestPrintTraceSummary_WithoutSessionID
(t *testing.T)
internal/telemetry/events_test.go:211
Function
TestPrintVersion_Dev
(t *testing.T)
cmd/opencodereview/smallfiles_test.go:15
Function
TestPrintVersion_WithCommitAndDate
(t *testing.T)
cmd/opencodereview/smallfiles_test.go:40
Function
TestPrintWizardCancelled
(t *testing.T)
cmd/opencodereview/provider_cmd_test.go:545
Function
TestProbeGitDir_GitRepo
(t *testing.T)
cmd/opencodereview/git_test.go:255
Function
TestProbeGitDir_MissingGitBinary
TestProbeGitDir_MissingGitBinary pins the other half of the classification: with no git to ask, "is this inside a repository" has no answer, so the pr
cmd/opencodereview/git_test.go:268
Function
TestProbeGitDir_PlainDir
(t *testing.T)
cmd/opencodereview/git_test.go:219
Function
TestProbeVersionAcceptsExactLimit
(t *testing.T)
acp/internal/orchestrator/resolve_test.go:111
Function
TestProbeVersionRejectsOutputLimitAndTimeout
(t *testing.T)
acp/internal/orchestrator/resolve_test.go:84
Function
TestProgressCancellationFinishesToolAfterCleanup
(t *testing.T)
acp/internal/adapter/presentation/progress_test.go:205
Function
TestProgressDetailsArriveBeforeRunnerCompletes
(t *testing.T)
acp/internal/adapter/presentation/progress_test.go:75
Function
TestProgressLogPreservesLinesAndBounds
(t *testing.T)
acp/internal/adapter/presentation/progress_format_test.go:17
Function
TestProgressOutputFailureWaitsForCleanup
(t *testing.T)
acp/internal/adapter/presentation/progress_test.go:129
Function
TestProgressStartFailureDoesNotRunOCR
(t *testing.T)
acp/internal/adapter/presentation/progress_test.go:55
Function
TestProgressStyleConcurrentWrites
(test *testing.T)
internal/stdout/style_test.go:57
Function
TestProgressStylePreservesText
(test *testing.T)
internal/stdout/style_test.go:19
Function
TestProgressStyleWriteErrors
(test *testing.T)
internal/stdout/style_test.go:81
Function
TestProgressTerminalStates
(t *testing.T)
acp/internal/adapter/presentation/progress_test.go:176
← previous
next →
5,201–5,300 of 7,633, ranked by callers