MCPcopy Create free account

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

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

FunctionTestModelTUI_Official_DeleteUserAddedModel
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:1256
FunctionTestModelTUI_Official_ListEnterConfirmsSelection
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:1179
FunctionTestModelTUI_Official_RegistryModelNotDeletable
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:1313
FunctionTestModelTUI_Official_UserAddedModelShowsDeleteHint
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:1350
FunctionTestModelTUI_SelectedModel
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:801
FunctionTestModelTUI_SelectedModel_OutOfBounds
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:813
FunctionTestModelTUI_ShowsEffectiveBaseURL
TestModelTUI_ShowsEffectiveBaseURL verifies that the model picker displays the effective Base URL when a configured override is set on the provider.
cmd/opencodereview/provider_tui_funcs_test.go:2215
FunctionTestModelTUI_ShowsPresetBaseURLWhenNoOverride
TestModelTUI_ShowsPresetBaseURLWhenNoOverride verifies that the model picker shows the preset Base URL when no override is configured.
cmd/opencodereview/provider_tui_funcs_test.go:2228
FunctionTestModelTUI_Update_EscCancels
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:857
FunctionTestModelTUI_Update_UpDown
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:826
FunctionTestModelTUI_Update_WindowSize
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:844
FunctionTestModelTUI_View
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:1030
FunctionTestModelTUI_View_CustomModel
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:1042
FunctionTestModelsAPIDiagnostics
(t *testing.T)
internal/chatgptauth/recovery_test.go:337
FunctionTestModelsCatalog
(t *testing.T)
internal/chatgptauth/lifecycle_test.go:244
FunctionTestMux_HasNoWriteRoutes
The viewer is read-only: no route may accept a write. The mux registers its document routes with GET-only patterns, so any state-changing method is an
internal/viewer/handler_test.go:332
FunctionTestNativeTurn_CrossProviderFallback
TestNativeTurn_CrossProviderFallback proves that a Native payload built by one adapter safely falls back to ordinary Content/ToolCalls reconstruction
internal/llm/native_turn_test.go:225
FunctionTestNaturalClarify
(t *testing.T)
acp/internal/intent/natural_test.go:148
FunctionTestNaturalClarifyChainPreservesPartialSlots
(t *testing.T)
acp/internal/intent/natural_test.go:202
FunctionTestNaturalClarifyTypeSwitchDoesNotLeakReview
(t *testing.T)
acp/internal/intent/natural_test.go:230
FunctionTestNaturalClarifyWithoutPartialSlots
(t *testing.T)
acp/internal/intent/natural_test.go:166
FunctionTestNaturalCommitClarificationPreservesTypeAndQuestion
(t *testing.T)
acp/internal/intent/natural_test.go:323
FunctionTestNaturalFollowUpMergesPendingSlots
(t *testing.T)
acp/internal/intent/natural_test.go:181
FunctionTestNaturalForbiddenExtra
(t *testing.T)
acp/internal/intent/natural_test.go:415
FunctionTestNaturalIntents
(t *testing.T)
acp/internal/intent/natural_test.go:88
FunctionTestNaturalLLMFailures
(t *testing.T)
acp/internal/intent/natural_test.go:432
FunctionTestNaturalLanguageCatalog
(t *testing.T)
acp/internal/intent/nl_catalog_test.go:57
FunctionTestNaturalLatestCommitInstructionsAndValidation
(t *testing.T)
acp/internal/intent/natural_test.go:43
FunctionTestNaturalRefValidation
(t *testing.T)
acp/internal/intent/natural_test.go:387
FunctionTestNaturalReject
(t *testing.T)
acp/internal/intent/natural_test.go:348
FunctionTestNaturalRequestShape
(t *testing.T)
acp/internal/intent/natural_test.go:521
FunctionTestNaturalResponseLanguageContract
(t *testing.T)
acp/internal/intent/natural_test.go:15
FunctionTestNaturalReviewMissingSlots
(t *testing.T)
acp/internal/intent/natural_test.go:366
FunctionTestNaturalTimeout
(t *testing.T)
acp/internal/intent/natural_test.go:467
FunctionTestNaturalTimeoutDiagnostics
(t *testing.T)
acp/internal/intent/natural_test.go:484
FunctionTestNew
(t *testing.T)
internal/session/history_test.go:18
FunctionTestNewAgent_SetsSessionMode
(t *testing.T)
internal/scan/agent_test.go:371
FunctionTestNewAnthropicClient_URLNormalization
(t *testing.T)
internal/llm/client_test.go:67
FunctionTestNewClient
(t *testing.T)
acp/internal/intent/llm/client_test.go:67
FunctionTestNewClient_Integration
(t *testing.T)
internal/mcp/client_test.go:277
FunctionTestNewClient_Stdio
(t *testing.T)
internal/mcp/stdio_test.go:166
FunctionTestNewClient_Stdio_BadCommand
(t *testing.T)
internal/mcp/stdio_test.go:238
FunctionTestNewClient_Stdio_PaginatedTools
(t *testing.T)
internal/mcp/stdio_test.go:209
FunctionTestNewCommandReplacesPending
(t *testing.T)
acp/internal/intent/state_test.go:55
FunctionTestNewCommentWorkerPool
(t *testing.T)
internal/agent/coverage_test.go:112
FunctionTestNewCommentWorkerPool_Custom
(t *testing.T)
internal/reviewtask/pool_test.go:24
FunctionTestNewCommentWorkerPool_Default
(t *testing.T)
internal/reviewtask/pool_test.go:17
FunctionTestNewDiffMap_DefensiveCopy
(t *testing.T)
internal/tool/file_read_diff_test.go:12
FunctionTestNewJSONToolCalls_FailureByTool
(t *testing.T)
cmd/opencodereview/output_helpers_test.go:465
FunctionTestNewKeyCmd_CmdLine
TestNewKeyCmd_CmdLine locks in the two decisions in newKeyCmd that no runtime test can observe: the command reaches cmd.exe through SysProcAttr.CmdLin
internal/llm/keycmd_windows_test.go:21
FunctionTestNewLLMClient_DefaultTimeout
(t *testing.T)
internal/llm/resolver_test.go:2070
FunctionTestNewLLMClient_Dispatch
(t *testing.T)
internal/llm/client_test.go:2011
FunctionTestNewLLMClient_ExpandsSessionKeyInExtraBody
(t *testing.T)
internal/llm/client_test.go:1831
FunctionTestNewLLMClient_NoRawHolderMountsNothing
TestNewLLMClient_NoRawHolderMountsNothing asserts the default (switch off) path records nothing and behaves exactly as before.
internal/llm/raw_test.go:828
FunctionTestNewLLMClient_OpenAIAliasDispatchesToOpenAIClient
TestNewLLMClient_OpenAIAliasDispatchesToOpenAIClient verifies that the "openai" alias, once normalized by the resolver, lands on the OpenAI Chat Compl
internal/llm/client_test.go:2046
FunctionTestNewLLMClient_RawEndToEnd
TestNewLLMClient_RawEndToEnd drives a real OpenAI client built through NewLLMClient against a fake endpoint and asserts one raw record lands in the bo
internal/llm/raw_test.go:689
FunctionTestNewLLMClient_RawRecordsEveryRetryAttempt
TestNewLLMClient_RawRecordsEveryRetryAttempt asserts the middleware sits inside the SDK retry loop: a retried request yields one record per real HTTP
internal/llm/raw_test.go:761
FunctionTestNewLLMClient_TimeoutForwarded
(t *testing.T)
internal/llm/resolver_test.go:2046
FunctionTestNewModelTUI
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:729
FunctionTestNewModelTUI_CustomModel
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:765
FunctionTestNewModelTUI_WithCurrentModel
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:750
FunctionTestNewMux_RouteDispatch
TestNewMux_RouteDispatch exercises the real ServeMux, not the handlers directly: "compare" is a literal segment competing with the {sessionID} wildcar
internal/viewer/compare_test.go:432
FunctionTestNewOpenAIClient_URLNormalization
(t *testing.T)
internal/llm/client_test.go:24
FunctionTestNewOpenAIResponsesClient_URLNormalization
(t *testing.T)
internal/llm/responses_client_test.go:19
FunctionTestNewProviderTUI_ManualProtocolFromConfig
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:2824
FunctionTestNewProvider_NormalizesPaths
(t *testing.T)
internal/scan/provider_test.go:65
FunctionTestNewQuietHandle_JSONHumanKeepsStdoutForDocument
TestNewQuietHandle_JSONHumanKeepsStdoutForDocument guards the invariant the stderr redirect relies on: progress written through stdout.Writer() must n
cmd/opencodereview/shared_test.go:113
FunctionTestNewQuietHandle_Routing
TestNewQuietHandle_Routing pins where [ocr] progress lines go for each (format, audience) pair. The machine-readable + human rows are the fix for #928
cmd/opencodereview/shared_test.go:80
FunctionTestNewQuietHandle_Sarif
--- newQuietHandle: sarif silences stdout ---
cmd/opencodereview/sarif_test.go:515
FunctionTestNewRawFileWriter_CreatesFileUnderRawDir
(t *testing.T)
internal/session/raw_writer_test.go:25
FunctionTestNewRemoteClient_ConnectFailure
TestNewRemoteClient_ConnectFailure exercises the success path of header expansion (non-empty value) plus HTTP client / transport construction, then th
internal/mcp/client_test.go:117
FunctionTestNewRemoteClient_HeaderExpandsToEmpty
(t *testing.T)
internal/mcp/client_test.go:93
FunctionTestNewRemoteClient_HeaderExpandsUnsetVar
(t *testing.T)
internal/mcp/client_test.go:136
FunctionTestNewRequestMeta_IsSingleSourceOfProviderAndModel
TestNewRequestMeta_IsSingleSourceOfProviderAndModel guards the reason the helper exists: five request types read provider and model through it, so a c
internal/agent/retry_identity_test.go:173
FunctionTestNewResolver_BraceExpansionInProjectRule
(t *testing.T)
internal/config/rules/system_rules_test.go:1323
FunctionTestNewResolver_CustomOverridesProject
(t *testing.T)
internal/config/rules/system_rules_test.go:662
FunctionTestNewResolver_CustomRuleOverridesDefault
(t *testing.T)
internal/config/rules/system_rules_test.go:450
FunctionTestNewResolver_DefaultOnly
(t *testing.T)
internal/config/rules/system_rules_test.go:339
FunctionTestNewResolver_EmptyRuleMergeSystemRuleReturnsSystemOnly
(t *testing.T)
internal/config/rules/system_rules_test.go:507
FunctionTestNewResolver_EmptyRuleSkippedAndFallsBack
(t *testing.T)
internal/config/rules/system_rules_test.go:474
FunctionTestNewResolver_FileFilterFallsToProject
(t *testing.T)
internal/config/rules/system_rules_test.go:885
FunctionTestNewResolver_FileFilterMerged
(t *testing.T)
internal/config/rules/system_rules_test.go:803
FunctionTestNewResolver_FileFilterNilWhenEmpty
(t *testing.T)
internal/config/rules/system_rules_test.go:832
FunctionTestNewResolver_FileFilterPriorityOverride
(t *testing.T)
internal/config/rules/system_rules_test.go:842
FunctionTestNewResolver_MergeSystemRuleKeepsRulePriority
(t *testing.T)
internal/config/rules/system_rules_test.go:612
FunctionTestNewResolver_ProjectFileMalformed
(t *testing.T)
internal/config/rules/system_rules_test.go:706
FunctionTestNewResolver_ProjectFileMissing
(t *testing.T)
internal/config/rules/system_rules_test.go:352
FunctionTestNewResolver_ProjectRuleFallsBackToSystem
(t *testing.T)
internal/config/rules/system_rules_test.go:428
FunctionTestNewResolver_ProjectRuleFirstMatchWinsWithinFile
(t *testing.T)
internal/config/rules/system_rules_test.go:398
FunctionTestNewResolver_ProjectRuleHighestPriority
(t *testing.T)
internal/config/rules/system_rules_test.go:364
FunctionTestNewResolver_ProjectRuleMergesSystemRule
(t *testing.T)
internal/config/rules/system_rules_test.go:570
FunctionTestNewResolver_ProjectRuleReplacesSystemRuleByDefault
(t *testing.T)
internal/config/rules/system_rules_test.go:540
FunctionTestNewResumeLineage
(t *testing.T)
internal/session/resume_identity_test.go:293
FunctionTestNewSessionDoesNotNotifyBeforeResponse
(t *testing.T)
acp/internal/adapter/resources_test.go:212
FunctionTestNewSessionKey
(t *testing.T)
internal/llm/sessionkey_test.go:15
FunctionTestNewStdoutMetricExporter
(t *testing.T)
internal/telemetry/exporter_test.go:59
FunctionTestNewStdoutTraceExporter
(t *testing.T)
internal/telemetry/exporter_test.go:49
FunctionTestNewTextMessage
(t *testing.T)
internal/llm/message_test.go:12
FunctionTestNewToolCallMessage
(t *testing.T)
internal/llm/message_test.go:28
FunctionTestNewToolCallMessage_NilCalls
(t *testing.T)
internal/llm/message_test.go:61
← previousnext →4,501–4,600 of 7,169, ranked by callers