Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/open-code-review
/ functions
Functions
7,390 in github.com/alibaba/open-code-review
⨍
Functions
7,390
◇
Types & classes
806
Function
TestCatalogErrorBoundsAndShapes
(t *testing.T)
internal/chatgptauth/api_error_test.go:21
Function
TestCatalogRequestFailurePaths
(t *testing.T)
internal/chatgptauth/api_error_test.go:48
Function
TestCategoryCounts_NormalizesUnknownCategories
(t *testing.T)
internal/viewer/server_startserver_test.go:258
Function
TestChangeSelectionUsesHeadGitignore
(test *testing.T)
internal/behaviortask/prepare_test.go:19
Function
TestChatGPTAuthCLIValidation
(t *testing.T)
cmd/opencodereview/chatgpt_auth_test.go:15
Function
TestChatGPTAuthLogoutEmpty
(t *testing.T)
cmd/opencodereview/chatgpt_auth_test.go:39
Function
TestChatGPTAuthStatusEmpty
(t *testing.T)
cmd/opencodereview/chatgpt_auth_test.go:29
Function
TestChatGPTCapabilityStatus
(t *testing.T)
internal/llm/chatgpt_roundtrip_test.go:150
Function
TestChatGPTCommandLifecycle
(t *testing.T)
cmd/opencodereview/chatgpt_auth_lifecycle_test.go:39
Function
TestChatGPTCommandStoreErrors
(t *testing.T)
cmd/opencodereview/chatgpt_auth_lifecycle_test.go:178
Function
TestChatGPTEnablePlanCLI
(t *testing.T)
cmd/opencodereview/chatgpt_consent_test.go:16
Function
TestChatGPTExplicitModelServerRejection
(t *testing.T)
internal/llm/chatgpt_model_test.go:66
Function
TestChatGPTFallbackCallAndCredentialFailure
(t *testing.T)
internal/llm/chatgpt_roundtrip_test.go:123
Function
TestChatGPTLateFailureAndWrongNamespace
(t *testing.T)
internal/llm/chatgpt_roundtrip_test.go:93
Function
TestChatGPTModelSelectionContract
(t *testing.T)
internal/llm/chatgpt_model_test.go:19
Function
TestChatGPTNativeToolHTTPRoundTrip
(t *testing.T)
internal/llm/chatgpt_roundtrip_test.go:40
Function
TestChatGPTRejectsOverrides
(t *testing.T)
internal/llm/chatgpt_test.go:110
Function
TestChatGPTRequestNamespaceAndReplay
(t *testing.T)
internal/llm/chatgpt_test.go:23
Function
TestChatGPTResolveEndpoint
(t *testing.T)
internal/llm/chatgpt_test.go:122
Function
TestChatGPTStatusExpiryAfterSignOut
(t *testing.T)
cmd/opencodereview/chatgpt_auth_lifecycle_test.go:150
Function
TestChatGPTStreamFailureDetails
(t *testing.T)
internal/llm/responses_client_test.go:916
Function
TestChatGPTStreamTerminal
(t *testing.T)
internal/llm/chatgpt_test.go:62
Function
TestChatResponse_Content
(t *testing.T)
internal/llm/message_test.go:129
Function
TestChatResponse_Content_Empty
(t *testing.T)
internal/llm/message_test.go:141
Function
TestChatResponse_Content_FallbackToReasoning
(t *testing.T)
internal/llm/message_test.go:148
Function
TestChatResponse_Content_NilContent
(t *testing.T)
internal/llm/message_test.go:160
Function
TestChatResponse_Content_StripsThinkTags
(t *testing.T)
internal/llm/message_test.go:171
Function
TestChatResponse_ToolCalls
(t *testing.T)
internal/llm/message_test.go:249
Function
TestChatResponse_ToolCalls_Empty
(t *testing.T)
internal/llm/message_test.go:269
Function
TestChatResponse_VisibleContent_EmptyString
(t *testing.T)
internal/llm/message_test.go:201
Function
TestChatResponse_VisibleContent_NilContent
(t *testing.T)
internal/llm/message_test.go:190
Function
TestChatResponse_VisibleContent_NoChoices
(t *testing.T)
internal/llm/message_test.go:183
Function
TestChatResponse_VisibleContent_NormalText
(t *testing.T)
internal/llm/message_test.go:213
Function
TestChatResponse_VisibleContent_StripsThinkTags
(t *testing.T)
internal/llm/message_test.go:225
Function
TestChatResponse_VisibleContent_WhitespaceOnly
(t *testing.T)
internal/llm/message_test.go:237
Function
TestCheckAPIKeyRequirement
(t *testing.T)
cmd/opencodereview/bedrock_config_test.go:275
Function
TestCheckDoesNotRewriteArtifact
(t *testing.T)
internal/llm/gen/check_test.go:228
Function
TestCheckGitVersion
(t *testing.T)
internal/gitcmd/version_test.go:88
Function
TestCheckGitVersion_Real
(t *testing.T)
internal/gitcmd/version_test.go:134
Function
TestCheckKotlinNames
(t *testing.T)
internal/llm/gen/kotlin_test.go:51
Function
TestCheckKotlinPackage
(t *testing.T)
internal/llm/gen/kotlin_test.go:83
Function
TestCheckMetricErr
(t *testing.T)
internal/telemetry/metrics_test.go:30
Function
TestCheckPresets
(t *testing.T)
internal/llm/gen/check_test.go:17
Function
TestCheckPresetsImport
(t *testing.T)
internal/llm/gen/check_test.go:91
Function
TestCheckPresetsImportLineTerminators
(t *testing.T)
internal/llm/gen/check_test.go:163
Function
TestCheckPresetsImportWhitespace
(t *testing.T)
internal/llm/gen/check_test.go:134
Function
TestCheckRejectsDuplicateRegistryModels
(t *testing.T)
internal/llm/gen/check_test.go:221
Function
TestCheckRequiresExistingFile
(t *testing.T)
internal/llm/gen/check_test.go:191
Function
TestChecksumFilenameNoVersion
(t *testing.T)
internal/release/asset_naming_test.go:177
Function
TestClarificationMergeCompatibilityAndLists
(t *testing.T)
acp/internal/intent/natural_test.go:243
Function
TestClassifyAttempt
(t *testing.T)
internal/llm/retry_report_test.go:81
Function
TestClassifyAttemptTwoHundredFallsThroughToError
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
Function
TestClassifyBoundaryError
--- 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
Function
TestClassifyItemError
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
Function
TestClassifyMainLoopStop
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
Function
TestClassifyStreamError
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
Function
TestClearCfgActiveModelIfDeleted
(t *testing.T)
cmd/opencodereview/provider_tui_rollback_test.go:50
Function
TestClient_NameAndTools
(t *testing.T)
internal/mcp/client_test.go:204
Function
TestCloneCustomProviderList
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:691
Function
TestCloneCustomProvidersMap
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:669
Function
TestCloneCustomProvidersMap_Nil
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:684
Function
TestCloneProviderEntry_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
Function
TestCloneProviderEntry_NilExtraBody
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:263
Function
TestCloneProviderEntry_NilRetryCodesAndExtraHeaders
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:347
Function
TestCloneProviderEntry_TimeoutAndRetryCodes
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:316
Function
TestCloneProviderEntry_WithExtraBody
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:203
Function
TestClonedLegacyManifestHasNonNilExcluded
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
Function
TestCloseAll_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
Function
TestCloseAll_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
Function
TestCloseAll_ResponsiveServersCloseCleanly
TestCloseAll_ResponsiveServersCloseCleanly pins the unchanged behavior for well-behaved servers: close is quick and error-free.
internal/mcp/closeall_test.go:80
Function
TestCloseAll_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
Function
TestCloseAll_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
Function
TestCloseAll_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
Function
TestCloseAll_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
Function
TestCodeAccessConcurrentSides
(test *testing.T)
internal/tool/code_access_test.go:140
Function
TestCodeAccessEmptyAndMissingTrees
(test *testing.T)
internal/tool/code_access_test.go:180
Function
TestCodeAccessSides
(test *testing.T)
internal/tool/code_access_test.go:70
Function
TestCodeAndLogMarkdownPreserveFencesAndNewlines
(t *testing.T)
acp/internal/adapter/presentation/markdown_test.go:11
Function
TestCodeCommentProvider_Execute
(t *testing.T)
internal/tool/code_comment_test.go:292
Function
TestCodeReviewResult_JSON
(t *testing.T)
internal/model/model_test.go:181
Function
TestCodeScopeAndObservationLocations
(test *testing.T)
internal/behaviortask/code_test.go:19
Function
TestCodeSearchProvider_Execute_AllowsDoubleDotInFilename
(t *testing.T)
internal/tool/code_search_test.go:649
Function
TestCodeSearchProvider_Execute_BlankSearchText
(t *testing.T)
internal/tool/code_search_test.go:545
Function
TestCodeSearchProvider_Execute_CaseSensitive
(t *testing.T)
internal/tool/code_search_test.go:668
Function
TestCodeSearchProvider_Execute_Found
(t *testing.T)
internal/tool/code_search_test.go:556
Function
TestCodeSearchProvider_Execute_PerlRegexp
(t *testing.T)
internal/tool/code_search_test.go:684
Function
TestCodeSearchProvider_Execute_PropagatesGitFailure
(t *testing.T)
internal/tool/code_search_test.go:571
Function
TestCodeSearchProvider_Execute_RejectsTraversalPattern
(t *testing.T)
internal/tool/code_search_test.go:617
Function
TestCodeSearchProvider_Execute_WithFilePatterns
(t *testing.T)
internal/tool/code_search_test.go:589
Function
TestCodeSearchProvider_Tool
(t *testing.T)
internal/tool/code_search_test.go:538
Function
TestCollectCustomProviders_Nil
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:475
Function
TestCollectCustomProviders_NilConfig
--- collectCustomProviders tests ---
cmd/opencodereview/provider_tui_test.go:1091
Function
TestCollectCustomProviders_NilMap
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:482
Function
TestCollectCustomProviders_ReadsCustomProviders
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1098
Function
TestCollectCustomProviders_Sorted
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:489
Function
TestCollectCustomProviders_SortedByName
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1117
Function
TestCollectPendingComments_AwaitsPool
TestCollectPendingComments_AwaitsPool covers the worker-pool drain branch of CollectPendingComments.
internal/reviewtask/loop_execute_test.go:129
Function
TestCollectPendingComments_NilPool
(t *testing.T)
internal/reviewtask/runner_test.go:12
Function
TestCollectToolDefs_Basic
(t *testing.T)
internal/mcp/provider_test.go:183
Function
TestCollectToolDefs_Dedup
(t *testing.T)
internal/mcp/provider_test.go:243
← previous
next →
3,601–3,700 of 7,390, ranked by callers