MCPcopy Create free account

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

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

FunctionTestLookupDiff
(t *testing.T)
internal/scan/coverage_test.go:89
FunctionTestLookupProvider_AnthropicDetails
(t *testing.T)
internal/llm/providers_test.go:179
FunctionTestLookupProvider_ChatGPTDetails
(t *testing.T)
internal/llm/providers_test.go:35
FunctionTestLookupProvider_DeepSeekFlash
(t *testing.T)
internal/llm/providers_test.go:239
FunctionTestLookupProvider_KnownProviders
(t *testing.T)
internal/llm/providers_test.go:12
FunctionTestLookupProvider_LiteLLMDetails
(t *testing.T)
internal/llm/providers_test.go:357
FunctionTestLookupProvider_MiniMaxDetails
(t *testing.T)
internal/llm/providers_test.go:48
FunctionTestLookupProvider_MistralDetails
(t *testing.T)
internal/llm/providers_test.go:402
FunctionTestLookupProvider_OllamaCloudDetails
(t *testing.T)
internal/llm/providers_test.go:311
FunctionTestLookupProvider_OpenAIDetails
(t *testing.T)
internal/llm/providers_test.go:195
FunctionTestLookupProvider_OpenAIResponsesDetails
(t *testing.T)
internal/llm/providers_test.go:249
FunctionTestLookupProvider_OpenRouterDetails
(t *testing.T)
internal/llm/providers_test.go:223
FunctionTestLookupProvider_PreservesModelOrder
(t *testing.T)
internal/llm/providers_test.go:145
FunctionTestLookupProvider_ReturnsCopyOfModels
(t *testing.T)
internal/llm/providers_test.go:135
FunctionTestLookupProvider_Unknown
(t *testing.T)
internal/llm/providers_test.go:102
FunctionTestLookupProvider_XAIDetails
(t *testing.T)
internal/llm/providers_test.go:437
FunctionTestLoopbackLogin
(t *testing.T)
internal/chatgptauth/lifecycle_test.go:24
FunctionTestLoopbackNoBrowserCancellation
(t *testing.T)
internal/chatgptauth/lifecycle_test.go:388
FunctionTestMain
(m *testing.M)
internal/reviewtask/testmain_test.go:11
FunctionTestMain
(m *testing.M)
internal/session/testmain_test.go:11
FunctionTestMain
(m *testing.M)
internal/mcp/stdio_test.go:29
FunctionTestMain
(m *testing.M)
internal/scan/testmain_test.go:11
FunctionTestMain
(m *testing.M)
internal/llmloop/testmain_test.go:11
FunctionTestMain
(m *testing.M)
internal/agent/testmain_test.go:11
FunctionTestMain
(m *testing.M)
cmd/opencodereview/testmain_test.go:13
FunctionTestMain
(m *testing.M)
acp/internal/contract/mock_contract_test.go:32
FunctionTestMain
(m *testing.M)
acp/internal/testutil/stub_main_test.go:12
FunctionTestMain
(m *testing.M)
acp/internal/orchestrator/stub_main_test.go:14
FunctionTestMain
(m *testing.M)
acp/internal/orchestrator/process/stub_main_test.go:14
FunctionTestMain
(m *testing.M)
acp/cmd/ocr-acp/stub_main_test.go:14
FunctionTestMainLoopStopStringAndReason
MainLoopStop must be self-describing in both registers: String() for logs and telemetry, Reason() for the manifest reason and scan warning that are th
internal/llmloop/stop_test.go:12
FunctionTestMainLoopStopUnknownValue
A value outside the enum must name itself in both registers rather than borrow the StopNone catch-all. This also guards the enum's growth: adding a co
internal/llmloop/stop_test.go:51
FunctionTestMakefileBuildMatchesURLPattern
(t *testing.T)
internal/release/asset_naming_test.go:136
FunctionTestManifestBuilderFrozenNoOp
TestManifestBuilderFrozenNoOp covers the frozen-branch no-ops of the void setters and the errFrozen paths of the mutating methods after Finalize has f
internal/session/manifest_guards_test.go:60
FunctionTestManifestBuilderNilReceiver
TestManifestBuilderNilReceiver covers the `if b == nil` guard on every exported ManifestBuilder method: a nil builder must never panic, the mutating e
internal/session/manifest_guards_test.go:17
FunctionTestManifestFlowAllFailedTimeoutAndPanic
(t *testing.T)
internal/agent/manifest_integration_test.go:370
FunctionTestManifestFlowBudgetAndSkipped
(t *testing.T)
internal/agent/manifest_integration_test.go:461
FunctionTestManifestFlowCancellationBeforeDispatchStartsNoSubtask
(t *testing.T)
internal/agent/manifest_integration_test.go:299
FunctionTestManifestFlowCancellationPersistsResumableSession
(t *testing.T)
internal/agent/manifest_integration_test.go:233
FunctionTestManifestFlowCompleteAndPartial
(t *testing.T)
internal/agent/manifest_integration_test.go:161
FunctionTestManifestFlowExcludedItemIDCollisionKeepsSelected
Two paths that differ only in separator normalize to one item_id. When selection excludes one and selects the other, the excluded record must give way
internal/agent/manifest_integration_test.go:205
FunctionTestManifestFlowGroupBudgetStopIsPartialWhenSomeFilesHaveComments
A group that never calls task_done before exhausting its round budget must classify coverage per file, not per group: a.go already has a comment from
internal/agent/manifest_integration_test.go:566
FunctionTestManifestFlowMixedFailureIsIsolatedToPartial
A single item failing by timeout, panic, or budget must stay isolated: the run is partial (not failed), the sibling still completes, and run_failure i
internal/agent/manifest_integration_test.go:405
FunctionTestManifestFlowResumeIgnoresCheckpointTheParentManifestDoesNotVouchFor
TestManifestFlowResumeIgnoresCheckpointTheParentManifestDoesNotVouchFor covers a checkpoint line whose fingerprint the parent's coverage never settled
internal/agent/manifest_integration_test.go:760
FunctionTestManifestFlowResumeOfFullyFailedParentRedispatchesEverything
TestManifestFlowResumeOfFullyFailedParentRedispatchesEverything pins the case resume exists for. The parent's every item failed, so replay left no che
internal/agent/manifest_integration_test.go:791
FunctionTestManifestFlowResumeRecordsParentAndReusedItem
(t *testing.T)
internal/agent/manifest_integration_test.go:641
FunctionTestManifestFlowResumeWithProviderTransition
TestManifestFlowResumeWithProviderTransition verifies that a resumed run records the *current* provider/model in execution (not the parent's) while st
internal/agent/manifest_integration_test.go:862
FunctionTestManifestFlowResumeWithReusedAndAllRerunsFailedIsPartial
(t *testing.T)
internal/agent/manifest_integration_test.go:826
FunctionTestManifestFlowReusedCommentsStayOutOfPrompts
TestManifestFlowReusedCommentsStayOutOfPrompts pins the isolation half of reuse: a reused finding is merged into the output and nothing else. Feeding
internal/agent/manifest_integration_test.go:699
FunctionTestManifestFlowRunInputFailureIsPersisted
(t *testing.T)
internal/agent/manifest_integration_test.go:330
FunctionTestManifestMessage
TestManifestMessage covers every terminal-state branch of manifestMessage, including the waived-count variant of a complete run and the failed run wit
cmd/opencodereview/output_manifest_test.go:50
FunctionTestManifest_NilReceiver
TestManifest_NilReceiver covers the sh == nil branch of Manifest.
internal/session/list_more_test.go:56
FunctionTestManualE2ERetryReport
(t *testing.T)
cmd/opencodereview/manual_e2e_retry_test.go:134
FunctionTestMapResponsesResponse_FunctionCalls
(t *testing.T)
internal/llm/responses_client_test.go:416
FunctionTestMapResponsesResponse_RawOutputPreservesReasoningDelimiters
(t *testing.T)
internal/llm/responses_client_test.go:406
FunctionTestMapResponsesResponse_ReasoningAggregated
(t *testing.T)
internal/llm/responses_client_test.go:540
FunctionTestMapResponsesResponse_StatusFailedAndCancelled
(t *testing.T)
internal/llm/responses_client_test.go:478
FunctionTestMapResponsesResponse_StatusIncomplete
(t *testing.T)
internal/llm/responses_client_test.go:458
FunctionTestMapResponsesResponse_TextOnly
--- mapResponsesResponse tests ---
internal/llm/responses_client_test.go:365
FunctionTestMapResponsesResponse_Usage
(t *testing.T)
internal/llm/responses_client_test.go:502
FunctionTestMarkFailedEnforcesRedaction
The redaction floor is enforced through the builder, not just the helper: a secret passed via MarkFailed must not reach the manifest.
internal/session/manifest_test.go:712
FunctionTestMarkUnknownItemErrors
Marking an item that was never selected returns an error (not a silent no-op).
internal/session/manifest_test.go:398
FunctionTestMarkdownDeliveryFailureKeepsAcceptedReport
(test *testing.T)
internal/behaviortask/markdown_test.go:90
FunctionTestMarkdownOnlySubmissionAndArtifacts
(test *testing.T)
internal/behaviortask/markdown_test.go:54
FunctionTestMarkdownOutputDestinations
(test *testing.T)
cmd/opencodereview/markdown_test.go:368
FunctionTestMarkdownSchemaRejectsLegacyAndBadTypes
(test *testing.T)
internal/behaviortask/markdown_test.go:78
FunctionTestMarkdownValidation
(test *testing.T)
internal/behaviortask/markdown_test.go:18
FunctionTestMaskKey
(t *testing.T)
cmd/opencodereview/provider_cmd_test.go:22
FunctionTestMatchConsecutive_EmptySideLines
(t *testing.T)
internal/diff/resolver_test.go:513
FunctionTestMatchConsecutive_ExactFull
(t *testing.T)
internal/diff/resolver_test.go:536
FunctionTestMatchConsecutive_FirstMatchWins
(t *testing.T)
internal/diff/resolver_test.go:497
FunctionTestMatchConsecutive_MatchAtEnd
(t *testing.T)
internal/diff/resolver_test.go:520
FunctionTestMatchConsecutive_MatchAtStart
(t *testing.T)
internal/diff/resolver_test.go:528
FunctionTestMatchConsecutive_MultiLine
(t *testing.T)
internal/diff/resolver_test.go:481
FunctionTestMatchConsecutive_NoMatch
(t *testing.T)
internal/diff/resolver_test.go:489
FunctionTestMatchConsecutive_SingleLine
--------------------------------------------------------------------------- matchConsecutive unit tests ----------------------------------------------
internal/diff/resolver_test.go:473
FunctionTestMatchConsecutive_TargetLongerThanLines
(t *testing.T)
internal/diff/resolver_test.go:505
FunctionTestMatchFileNamesAuthorizesOnlyCandidates
(t *testing.T)
internal/tool/file_find_test.go:18
FunctionTestMatchGitignorePattern
(t *testing.T)
internal/diff/gitignore_test.go:245
FunctionTestMaxTokensConfigRoundTrip
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:103
FunctionTestMaybeRunDedup_SkipWhenDisabled
(t *testing.T)
internal/scan/coverage_test.go:492
FunctionTestMaybeRunDedup_SkipWhenTooFewComments
(t *testing.T)
internal/scan/coverage_test.go:507
FunctionTestMaybeRunDedup_Success
(t *testing.T)
internal/scan/coverage_test.go:445
FunctionTestMaybeRunPlan_SkipPathsDoNotCallLLM
(t *testing.T)
internal/scan/agent_test.go:188
FunctionTestMaybeRunPlan_Success
(t *testing.T)
internal/scan/coverage_test.go:334
FunctionTestMaybeRunProjectSummary_SkipWhenDisabled
(t *testing.T)
internal/scan/coverage_test.go:415
FunctionTestMaybeRunProjectSummary_SkipWhenNoComments
(t *testing.T)
internal/scan/coverage_test.go:423
FunctionTestMaybeRunProjectSummary_Success
(t *testing.T)
internal/scan/coverage_test.go:376
FunctionTestMergeModelLists
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:797
FunctionTestMessage_EstimatedTokens
(t *testing.T)
internal/llm/client_test.go:2303
FunctionTestMiniMaxModelSelectionAndRequest
(t *testing.T)
cmd/opencodereview/provider_minimax_test.go:20
FunctionTestMiniMaxSuggestedModels
(t *testing.T)
internal/llm/providers_test.go:83
FunctionTestMockCancelReportsCancelledManifest
TestMockCancelReportsCancelledManifest drives the cancellation path: wait for the READY marker on stderr, send SIGINT, then check the real cancellatio
acp/internal/contract/mock_contract_test.go:242
FunctionTestMockDefaultScenarioSucceeds
TestMockDefaultScenarioSucceeds pins the default -scenario value: running the binary bare is how a developer first tries it, so it must not error.
acp/internal/contract/mock_contract_test.go:198
FunctionTestMockEmptyCommentsEmitsArray
(t *testing.T)
acp/internal/contract/mock_contract_test.go:147
FunctionTestMockInvalidJSONDoesNotDecode
TestMockInvalidJSONDoesNotDecode confirms the malformed-output scenario actually produces output the adapter must reject.
acp/internal/contract/mock_contract_test.go:226
FunctionTestMockNonZeroExitStillDecodes
TestMockNonZeroExitStillDecodes documents that a failed run reports its status through the JSON document, not only through the exit code.
acp/internal/contract/mock_contract_test.go:210
FunctionTestMockPartialCarriesCoverageFailure
(t *testing.T)
acp/internal/contract/mock_contract_test.go:130
FunctionTestMockScanScenarioMatchesContract
(t *testing.T)
acp/internal/contract/mock_contract_test.go:172
FunctionTestMockStderrPollutionDoesNotLeak
(t *testing.T)
acp/internal/contract/mock_contract_test.go:161
← previousnext →4,601–4,700 of 7,484, ranked by callers