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
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
TestPrepareReviewCodeTools
(test *testing.T)
cmd/opencodereview/code_access_test.go:20
Function
TestPrepareReviewCodeToolsErrors
(test *testing.T)
cmd/opencodereview/code_access_test.go:78
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:181
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
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:481
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
Function
TestProgressTitleIsSingleLineBoundedAndEscaped
(t *testing.T)
acp/internal/adapter/presentation/progress_format_test.go:52
Function
TestProgressUsesOneCollapsibleToolAndKeepsLogsOutOfChat
(t *testing.T)
acp/internal/adapter/progress_test.go:96
Function
TestPromptContentCanonicalResourcePath
(t *testing.T)
acp/internal/adapter/resources_test.go:101
Function
TestPromptContentRejectsUnavailableResources
(t *testing.T)
acp/internal/adapter/resources_test.go:70
Function
TestPromptContentRejectsUnreadableResource
(t *testing.T)
acp/internal/adapter/resources_test.go:93
Function
TestPromptContentResources
(t *testing.T)
acp/internal/adapter/resources_test.go:19
Function
TestPromptErrorsAndCancel
(t *testing.T)
acp/internal/adapter/server_test.go:120
Function
TestPromptFindingsAppearOnlyInFinalMessage
(t *testing.T)
acp/internal/adapter/locations_test.go:81
Function
TestPromptOutcomeBranches
(t *testing.T)
acp/internal/adapter/server_test.go:111
Function
TestPromptProgressFailurePreservesErrorAndFinalizesTool
(t *testing.T)
acp/internal/adapter/progress_test.go:145
Function
TestPromptRejectAndClarify
(t *testing.T)
acp/internal/adapter/server_test.go:99
Function
TestPromptScanAndTimeout
(t *testing.T)
acp/internal/adapter/server_test.go:136
Function
TestPromptTokenLimit
(t *testing.T)
internal/llmloop/compression_test.go:293
Function
TestPromptTokenLimitMatchesReplacedExpression
TestPromptTokenLimitMatchesReplacedExpression pins the one-time migration: PromptTokenLimit replaced a literal `maxTokens*4/5` at four call sites, so
internal/llmloop/compression_test.go:322
Function
TestProviderAmbientProtocolOverrideCanBeSaved
(t *testing.T)
cmd/opencodereview/provider_gateway_test.go:81
Function
TestProviderDirPrefix
(t *testing.T)
internal/diff/gitignore_test.go:41
Function
TestProviderGatewayKeySurvivesModelSelection
(t *testing.T)
cmd/opencodereview/provider_gateway_test.go:13
Function
TestProviderGatewayOverrideRequiresCredential
(t *testing.T)
cmd/opencodereview/provider_gateway_test.go:110
Function
TestProviderIsEmittedEvenWhenEmpty
provider is required but may be empty: an empty string stably denotes an unnamed endpoint and must not be omitted.
internal/llm/retry_report_test.go:807
Function
TestProviderReloadConfigAfterSaveFailure
(t *testing.T)
cmd/opencodereview/provider_tui_rollback_test.go:170
Function
TestProviderTUINonConfigCredentialProviderDropsPreviousKey
(t *testing.T)
cmd/opencodereview/bedrock_config_test.go:356
Function
TestProviderTUINonConfigCredentialProviderSkipsAPIKeyStep
TestProviderTUINonConfigCredentialProviderSkipsAPIKeyStep pins the wizard flow: the model step is the last one for a provider with no key to collect.
cmd/opencodereview/bedrock_config_test.go:307
Function
TestProviderTUIResult_ManualProtocolIsCanonical
TestProviderTUIResult_ManualProtocolIsCanonical makes sure result() for the Manual tab returns the canonical protocol name picked from manualProtocols
cmd/opencodereview/provider_tui_test.go:2991
Function
TestProviderTUIResult_ResolvedModel
(t *testing.T)
cmd/opencodereview/provider_cmd_test.go:425
Function
TestProviderTUIView_CustomForm_AllSteps
--- viewCustomProviderForm field steps ---
cmd/opencodereview/provider_tui_funcs_test.go:2125
Function
TestProviderTUIView_CustomForm_WithError
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:2138
Function
TestProviderTUIView_ManualForm_AllSteps
--- viewManualTab field steps ---
cmd/opencodereview/provider_tui_funcs_test.go:2151
Function
TestProviderTUIView_ManualForm_WithError
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:2164
Function
TestProviderTUIView_ManualTab_WithExistingConfig
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:2175
Function
TestProviderTUIView_OfficialTab_ShowsActiveModelSuffix
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:106
Function
TestProviderTUIView_StepAPIKey
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:996
Function
TestProviderTUIView_StepAPIKey_CustomProvider
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:1005
Function
TestProviderTUIView_StepModel
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:955
Function
TestProviderTUIView_StepModel_ConfirmingDeleteModel
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:985
Function
TestProviderTUIView_StepModel_CustomModel
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:964
Function
TestProviderTUIView_StepModel_CustomTabDeleteHelp
--- viewModel with custom tab and deleteModel ---
cmd/opencodereview/provider_tui_funcs_test.go:2189
Function
TestProviderTUIView_StepModel_FormError
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:974
Function
TestProviderTUIView_StepProvider_ConfirmingDelete
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:939
Function
TestProviderTUIView_StepProvider_CustomTab
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:880
Function
TestProviderTUIView_StepProvider_CustomTab_CreatingCustom
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:894
Function
TestProviderTUIView_StepProvider_CustomTab_EditingCustom
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:904
Function
TestProviderTUIView_StepProvider_ManualTab
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:920
Function
TestProviderTUIView_StepProvider_ManualTab_InForm
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:929
Function
TestProviderTUIView_StepProvider_OfficialTab
--- View rendering tests (smoke) ---
cmd/opencodereview/provider_tui_funcs_test.go:872
Function
TestProviderTUI_ApiKeyClearSavedKeyReturnsEmpty
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:2277
Function
TestProviderTUI_ApiKeyEnterWithoutEditKeepsOriginal
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:2246
Function
TestProviderTUI_ApiKeyPasteReplacesMaskedKey
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:2140
Function
TestProviderTUI_ApiKeyResultTrimSpace
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:2302
Function
TestProviderTUI_ApiKeyTypingShowsOneStarPerChar
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:2216
Function
TestProviderTUI_CancelIncompleteOfficialProviderSwitch_NoPersistedChanges
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:2473
Function
TestProviderTUI_CustomCreateApiKeyOptional
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:2428
Function
TestProviderTUI_CustomExistingApiKeyEmptyBlocksEnter
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:2398
Function
TestProviderTUI_CustomFormCreateReturnsToModelList
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:984
Function
TestProviderTUI_CustomFormEditRejectsInvalidAuthHeader
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:735
Function
TestProviderTUI_CustomFormEscFromNameExitsForm
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:615
Function
TestProviderTUI_CustomFormPassesKToAuthHeaderInput
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1921
Function
TestProviderTUI_CustomFormRejectsDuplicateName
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:638
← previous
next →
4,901–5,000 of 7,169, ranked by callers