MCPcopy Create free account

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

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

FunctionTestCatalogErrorBoundsAndShapes
(t *testing.T)
internal/chatgptauth/api_error_test.go:21
FunctionTestCatalogRequestFailurePaths
(t *testing.T)
internal/chatgptauth/api_error_test.go:48
FunctionTestCategoryCounts_NormalizesUnknownCategories
(t *testing.T)
internal/viewer/server_startserver_test.go:258
FunctionTestChangeSelectionUsesHeadGitignore
(test *testing.T)
internal/behaviortask/prepare_test.go:19
FunctionTestChatGPTAuthCLIValidation
(t *testing.T)
cmd/opencodereview/chatgpt_auth_test.go:15
FunctionTestChatGPTAuthLogoutEmpty
(t *testing.T)
cmd/opencodereview/chatgpt_auth_test.go:39
FunctionTestChatGPTAuthStatusEmpty
(t *testing.T)
cmd/opencodereview/chatgpt_auth_test.go:29
FunctionTestChatGPTCapabilityStatus
(t *testing.T)
internal/llm/chatgpt_roundtrip_test.go:150
FunctionTestChatGPTCommandLifecycle
(t *testing.T)
cmd/opencodereview/chatgpt_auth_lifecycle_test.go:39
FunctionTestChatGPTCommandStoreErrors
(t *testing.T)
cmd/opencodereview/chatgpt_auth_lifecycle_test.go:178
FunctionTestChatGPTEnablePlanCLI
(t *testing.T)
cmd/opencodereview/chatgpt_consent_test.go:16
FunctionTestChatGPTExplicitModelServerRejection
(t *testing.T)
internal/llm/chatgpt_model_test.go:66
FunctionTestChatGPTFallbackCallAndCredentialFailure
(t *testing.T)
internal/llm/chatgpt_roundtrip_test.go:123
FunctionTestChatGPTLateFailureAndWrongNamespace
(t *testing.T)
internal/llm/chatgpt_roundtrip_test.go:93
FunctionTestChatGPTModelSelectionContract
(t *testing.T)
internal/llm/chatgpt_model_test.go:19
FunctionTestChatGPTNativeToolHTTPRoundTrip
(t *testing.T)
internal/llm/chatgpt_roundtrip_test.go:40
FunctionTestChatGPTRejectsOverrides
(t *testing.T)
internal/llm/chatgpt_test.go:110
FunctionTestChatGPTRequestNamespaceAndReplay
(t *testing.T)
internal/llm/chatgpt_test.go:23
FunctionTestChatGPTResolveEndpoint
(t *testing.T)
internal/llm/chatgpt_test.go:122
FunctionTestChatGPTStatusExpiryAfterSignOut
(t *testing.T)
cmd/opencodereview/chatgpt_auth_lifecycle_test.go:150
FunctionTestChatGPTStreamFailureDetails
(t *testing.T)
internal/llm/responses_client_test.go:916
FunctionTestChatGPTStreamTerminal
(t *testing.T)
internal/llm/chatgpt_test.go:62
FunctionTestChatResponse_Content
(t *testing.T)
internal/llm/message_test.go:129
FunctionTestChatResponse_Content_Empty
(t *testing.T)
internal/llm/message_test.go:141
FunctionTestChatResponse_Content_FallbackToReasoning
(t *testing.T)
internal/llm/message_test.go:148
FunctionTestChatResponse_Content_NilContent
(t *testing.T)
internal/llm/message_test.go:160
FunctionTestChatResponse_Content_StripsThinkTags
(t *testing.T)
internal/llm/message_test.go:171
FunctionTestChatResponse_ToolCalls
(t *testing.T)
internal/llm/message_test.go:249
FunctionTestChatResponse_ToolCalls_Empty
(t *testing.T)
internal/llm/message_test.go:269
FunctionTestChatResponse_VisibleContent_EmptyString
(t *testing.T)
internal/llm/message_test.go:201
FunctionTestChatResponse_VisibleContent_NilContent
(t *testing.T)
internal/llm/message_test.go:190
FunctionTestChatResponse_VisibleContent_NoChoices
(t *testing.T)
internal/llm/message_test.go:183
FunctionTestChatResponse_VisibleContent_NormalText
(t *testing.T)
internal/llm/message_test.go:213
FunctionTestChatResponse_VisibleContent_StripsThinkTags
(t *testing.T)
internal/llm/message_test.go:225
FunctionTestChatResponse_VisibleContent_WhitespaceOnly
(t *testing.T)
internal/llm/message_test.go:237
FunctionTestCheckAPIKeyRequirement
(t *testing.T)
cmd/opencodereview/bedrock_config_test.go:275
FunctionTestCheckDoesNotRewriteArtifact
(t *testing.T)
internal/llm/gen/check_test.go:228
FunctionTestCheckGitVersion
(t *testing.T)
internal/gitcmd/version_test.go:88
FunctionTestCheckGitVersion_Real
(t *testing.T)
internal/gitcmd/version_test.go:134
FunctionTestCheckKotlinNames
(t *testing.T)
internal/llm/gen/kotlin_test.go:51
FunctionTestCheckKotlinPackage
(t *testing.T)
internal/llm/gen/kotlin_test.go:83
FunctionTestCheckMetricErr
(t *testing.T)
internal/telemetry/metrics_test.go:30
FunctionTestCheckPresets
(t *testing.T)
internal/llm/gen/check_test.go:17
FunctionTestCheckPresetsImport
(t *testing.T)
internal/llm/gen/check_test.go:91
FunctionTestCheckPresetsImportLineTerminators
(t *testing.T)
internal/llm/gen/check_test.go:163
FunctionTestCheckPresetsImportWhitespace
(t *testing.T)
internal/llm/gen/check_test.go:134
FunctionTestCheckRejectsDuplicateRegistryModels
(t *testing.T)
internal/llm/gen/check_test.go:221
FunctionTestCheckRequiresExistingFile
(t *testing.T)
internal/llm/gen/check_test.go:191
FunctionTestChecksumFilenameNoVersion
(t *testing.T)
internal/release/asset_naming_test.go:177
FunctionTestClarificationMergeCompatibilityAndLists
(t *testing.T)
acp/internal/intent/natural_test.go:243
FunctionTestClassifyAttempt
(t *testing.T)
internal/llm/retry_report_test.go:81
FunctionTestClassifyAttemptTwoHundredFallsThroughToError
A 2xx carries no error information, so the error decides. This is the path the client-boundary correction feeds when a 200 turns out to be truncated.
internal/llm/retry_report_test.go:121
FunctionTestClassifyBoundaryError
--- classification units --- The false return is the contract: an error the boundary cannot recognize is left alone rather than bucketed as unknown, b
internal/llm/retry_boundary_test.go:603
FunctionTestClassifyItemError
classifyItemError maps a per-file review error to a coverage FailureClass and a static, leak-free reason. The mapping must recognize the sentinels thr
internal/agent/coverage_test.go:1023
FunctionTestClassifyMainLoopStop
classifyMainLoopStop keeps the unknown class for the empty-round and compression exits, but each reason must name its trigger: in --format json runs t
internal/agent/coverage_test.go:1064
FunctionTestClassifyStreamError
Unlike the boundary classifier this one always answers, because the caller already knows the failure came from an established stream. The fallback is
internal/llm/retry_boundary_test.go:652
FunctionTestClearCfgActiveModelIfDeleted
(t *testing.T)
cmd/opencodereview/provider_tui_rollback_test.go:50
FunctionTestClient_NameAndTools
(t *testing.T)
internal/mcp/client_test.go:204
FunctionTestCloneCustomProviderList
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:691
FunctionTestCloneCustomProvidersMap
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:669
FunctionTestCloneCustomProvidersMap_Nil
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:684
FunctionTestCloneProviderEntry_CopiesEveryField
cloneProviderEntry lists fields by hand, which is how timeout_sec and extra_headers came to be silently dropped on the save-rollback paths. This fails
cmd/opencodereview/provider_tui_funcs_test.go:283
FunctionTestCloneProviderEntry_NilExtraBody
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:263
FunctionTestCloneProviderEntry_NilRetryCodesAndExtraHeaders
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:347
FunctionTestCloneProviderEntry_TimeoutAndRetryCodes
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:316
FunctionTestCloneProviderEntry_WithExtraBody
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:203
FunctionTestClonedLegacyManifestHasNonNilExcluded
A manifest persisted before the excluded set existed decodes without one; the copy handed to consumers must still render it as [] rather than null.
internal/session/manifest_test.go:1012
FunctionTestCloseAll_JoinsPerServerErrorMessages
TestCloseAll_JoinsPerServerErrorMessages checks the error aggregation: every failing server is named, in a single joined message, and quiet servers do
internal/mcp/closeall_test.go:101
FunctionTestCloseAll_MixedFleetRealisticProfile
TestCloseAll_MixedFleetRealisticProfile models a realistic fleet: healthy servers, hung servers, and servers that exit non-zero, all closing at once.
internal/mcp/closeall_stress_test.go:56
FunctionTestCloseAll_ResponsiveServersCloseCleanly
TestCloseAll_ResponsiveServersCloseCleanly pins the unchanged behavior for well-behaved servers: close is quick and error-free.
internal/mcp/closeall_test.go:80
FunctionTestCloseAll_SlowCooperativeServerIsWaitedFor
TestCloseAll_SlowCooperativeServerIsWaitedFor covers the distinction the escalation exists to make: a server that needs ~1.2s to wind down after stdin
internal/mcp/closeall_stress_test.go:110
FunctionTestCloseAll_StressManyUnresponsiveServers
Stress coverage for issue #1141: the acceptance criterion says MCP shutdown must stay bounded "regardless of how many stdio servers are configured". T
internal/mcp/closeall_stress_test.go:26
FunctionTestCloseAll_TimeoutPreservesCollectedErrors
TestCloseAll_TimeoutPreservesCollectedErrors checks that when the ctx deadline fires, errors from servers that already finished closing are not droppe
internal/mcp/closeall_test.go:131
FunctionTestCloseAll_UnresponsiveServersStayWithinBudget
TestCloseAll_UnresponsiveServersStayWithinBudget covers the issue #1141 acceptance criterion: total MCP shutdown stays well inside 3s no matter how un
internal/mcp/closeall_test.go:48
FunctionTestCodeAccessConcurrentSides
(test *testing.T)
internal/tool/code_access_test.go:140
FunctionTestCodeAccessEmptyAndMissingTrees
(test *testing.T)
internal/tool/code_access_test.go:180
FunctionTestCodeAccessSides
(test *testing.T)
internal/tool/code_access_test.go:70
FunctionTestCodeAndLogMarkdownPreserveFencesAndNewlines
(t *testing.T)
acp/internal/adapter/presentation/markdown_test.go:11
FunctionTestCodeCommentProvider_Execute
(t *testing.T)
internal/tool/code_comment_test.go:292
FunctionTestCodeReviewResult_JSON
(t *testing.T)
internal/model/model_test.go:181
FunctionTestCodeScopeAndObservationLocations
(test *testing.T)
internal/behaviortask/code_test.go:19
FunctionTestCodeSearchProvider_Execute_AllowsDoubleDotInFilename
(t *testing.T)
internal/tool/code_search_test.go:649
FunctionTestCodeSearchProvider_Execute_BlankSearchText
(t *testing.T)
internal/tool/code_search_test.go:545
FunctionTestCodeSearchProvider_Execute_CaseSensitive
(t *testing.T)
internal/tool/code_search_test.go:668
FunctionTestCodeSearchProvider_Execute_Found
(t *testing.T)
internal/tool/code_search_test.go:556
FunctionTestCodeSearchProvider_Execute_PerlRegexp
(t *testing.T)
internal/tool/code_search_test.go:684
FunctionTestCodeSearchProvider_Execute_PropagatesGitFailure
(t *testing.T)
internal/tool/code_search_test.go:571
FunctionTestCodeSearchProvider_Execute_RejectsTraversalPattern
(t *testing.T)
internal/tool/code_search_test.go:617
FunctionTestCodeSearchProvider_Execute_WithFilePatterns
(t *testing.T)
internal/tool/code_search_test.go:589
FunctionTestCodeSearchProvider_Tool
(t *testing.T)
internal/tool/code_search_test.go:538
FunctionTestCollectCustomProviders_Nil
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:475
FunctionTestCollectCustomProviders_NilConfig
--- collectCustomProviders tests ---
cmd/opencodereview/provider_tui_test.go:1091
FunctionTestCollectCustomProviders_NilMap
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:482
FunctionTestCollectCustomProviders_ReadsCustomProviders
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1098
FunctionTestCollectCustomProviders_Sorted
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:489
FunctionTestCollectCustomProviders_SortedByName
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1117
FunctionTestCollectPendingComments_AwaitsPool
TestCollectPendingComments_AwaitsPool covers the worker-pool drain branch of CollectPendingComments.
internal/reviewtask/loop_execute_test.go:129
FunctionTestCollectPendingComments_NilPool
(t *testing.T)
internal/reviewtask/runner_test.go:12
FunctionTestCollectToolDefs_Basic
(t *testing.T)
internal/mcp/provider_test.go:183
FunctionTestCollectToolDefs_Dedup
(t *testing.T)
internal/mcp/provider_test.go:243
← previousnext →3,601–3,700 of 7,390, ranked by callers