MCPcopy Create free account

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

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

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:251
FunctionTestMaxTokensConfigRoundTrip
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:103
FunctionTestMaybeRunDedup_SkipWhenDisabled
(t *testing.T)
internal/scan/coverage_test.go:487
FunctionTestMaybeRunDedup_SkipWhenTooFewComments
(t *testing.T)
internal/scan/coverage_test.go:502
FunctionTestMaybeRunDedup_Success
(t *testing.T)
internal/scan/coverage_test.go:440
FunctionTestMaybeRunPlan_SkipPathsDoNotCallLLM
(t *testing.T)
internal/scan/agent_test.go:188
FunctionTestMaybeRunPlan_Success
(t *testing.T)
internal/scan/coverage_test.go:329
FunctionTestMaybeRunProjectSummary_SkipWhenDisabled
(t *testing.T)
internal/scan/coverage_test.go:410
FunctionTestMaybeRunProjectSummary_SkipWhenNoComments
(t *testing.T)
internal/scan/coverage_test.go:418
FunctionTestMaybeRunProjectSummary_Success
(t *testing.T)
internal/scan/coverage_test.go:371
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
FunctionTestMockSuccessReviewDecodesEveryField
(t *testing.T)
acp/internal/contract/mock_contract_test.go:86
FunctionTestModeWarning
(t *testing.T)
internal/viewer/compare_test.go:130
FunctionTestModelCount
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:158
FunctionTestModelListContains
(t *testing.T)
internal/llm/message_test.go:369
FunctionTestModelOverrideWarnsForKeyBasedProviders
(t *testing.T)
internal/llm/bedrock_test.go:343
FunctionTestModelProviderName_CustomTab
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:133
FunctionTestModelProviderName_CustomTab_NoSelection
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:148
FunctionTestModelProviderName_OfficialTab
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:121
FunctionTestModelReloadConfigAfterSaveFailure
(t *testing.T)
cmd/opencodereview/provider_tui_rollback_test.go:130
FunctionTestModelTUIUpdate_CancelAndDelete
TestModelTUIUpdate_CancelAndDelete covers esc/ctrl+c cancel and the 'd' key entering delete-confirm on a user-added model.
cmd/opencodereview/provider_tui_modeltui_test.go:74
FunctionTestModelTUIUpdate_CustomModelInput
TestModelTUIUpdate_CustomModelInput covers the customModel input sub-mode: esc exit, empty enter stays, duplicate enter sets formError, valid enter pe
cmd/opencodereview/provider_tui_modeltui_test.go:96
FunctionTestModelTUIUpdate_Navigation
TestModelTUIUpdate_Navigation covers window resize, up/down wrap-around, and enter on both a real model and the custom "add" item.
cmd/opencodereview/provider_tui_modeltui_test.go:36
FunctionTestModelTUI_AddCustomModelRejectsDuplicate
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:1240
FunctionTestModelTUI_CustomProvider_AddCustomModelStaysOnList
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:1193
FunctionTestModelTUI_CustomProvider_DeleteCancel
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:1423
FunctionTestModelTUI_CustomProvider_DeleteClearsCustomInput
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:1382
FunctionTestModelTUI_CustomProvider_DeleteModelViaDKey
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:1403
FunctionTestModelTUI_CustomProvider_DeleteOnCustomModelInputIgnored
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:1339
FunctionTestModelTUI_CustomProvider_ShowsDeleteHint
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:1366
FunctionTestModelTUI_DeleteSetsSavedInSession
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:1225
FunctionTestModelTUI_EscCancelWithoutChangesNoSavedInSession
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:1213
FunctionTestModelTUI_IsCustomItem
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:776
FunctionTestModelTUI_ItemCount
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:790
FunctionTestModelTUI_Official_AddCustomModelStaysOnList
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:1151
FunctionTestModelTUI_Official_DeleteActiveUserModelClearsCfg
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:1472
FunctionTestModelTUI_Official_DeleteBuiltInModelIgnored
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:1284
FunctionTestModelTUI_Official_DeleteCancel
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:1440
FunctionTestModelTUI_Official_DeleteOnCustomModelInputIgnored
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:1328
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:448
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
← previousnext →4,601–4,700 of 7,390, ranked by callers