MCPcopy Create free account

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

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

FunctionTestSetConfigValueProviderEntryModelsUnquotedBracketList
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:373
FunctionTestSetConfigValueProviderEntryNonPresetWritesCustomProvider
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:206
FunctionTestSetConfigValueProviderEntryProtocol
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:392
FunctionTestSetConfigValueProviderExtraHeaders
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:558
FunctionTestSetConfigValueProviderExtraHeadersInvalid
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:577
FunctionTestSetConfigValueProviderRetryCodesRedundantWarning
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1867
FunctionTestSetConfigValueProviderURLTrimsAndValidates
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:50
FunctionTestSetConfigValueRejectsInvalidProviderNames
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:281
FunctionTestSetConfigValueTelemetryContentLogging
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1261
FunctionTestSetConfigValueTelemetryContentLoggingInvalid
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1271
FunctionTestSetConfigValueTelemetryEnabled
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1224
FunctionTestSetConfigValueTelemetryEnabledInvalid
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1234
FunctionTestSetConfigValueTelemetryExporter
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1241
FunctionTestSetConfigValueTelemetryOTLPEndpoint
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1251
FunctionTestSetConfigValueTimeoutSeconds
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1898
FunctionTestSetConfigValueTimeoutSecondsRejectsInvalidValues
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1914
FunctionTestSetConfigValueUnknownKey
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1298
FunctionTestSetConfigValueUnknownKeyMessage
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1305
FunctionTestSetConnection
(t *testing.T)
acp/internal/adapter/server_test.go:97
FunctionTestSetCustomProviderAWSSettingsFollowProtocol
TestSetCustomProviderAWSSettingsFollowProtocol covers the custom-provider path: aws_* is meaningful there only once the entry speaks the Bedrock proto
cmd/opencodereview/bedrock_config_test.go:149
FunctionTestSetCustomProviderValue
TestSetCustomProviderValue covers the malformed-key rejection and the success path that materializes a custom provider entry.
cmd/opencodereview/provider_config_apply_test.go:45
FunctionTestSetError
(t *testing.T)
internal/session/history_test.go:451
FunctionTestSetErrorIncrementsCounter
(t *testing.T)
internal/session/persist_test.go:173
FunctionTestSetErrorWritesJSONL
(t *testing.T)
internal/session/persist_test.go:195
FunctionTestSetLlmProtocolRejectsBedrock
TestSetLlmProtocolRejectsBedrock pins the other half of the contract enforced in the resolver: the llm block is one url plus one token, with nowhere t
cmd/opencodereview/bedrock_config_test.go:253
FunctionTestSetMCPServerValue_Args
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:841
FunctionTestSetMCPServerValue_ArgsInvalidJSON
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:852
FunctionTestSetMCPServerValue_Command
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:824
FunctionTestSetMCPServerValue_CommandEmpty
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:834
FunctionTestSetMCPServerValue_DottedServerName
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:955
FunctionTestSetMCPServerValue_DottedServerNameRejectsEmptySegments
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:986
FunctionTestSetMCPServerValue_Env
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:859
FunctionTestSetMCPServerValue_EnvInvalidFormat
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:877
FunctionTestSetMCPServerValue_EnvInvalidJSON
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:870
FunctionTestSetMCPServerValue_ExistingServer
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:941
FunctionTestSetMCPServerValue_Headers
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1802
FunctionTestSetMCPServerValue_HeadersEmptyName
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1831
FunctionTestSetMCPServerValue_HeadersEmptyValue
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1845
FunctionTestSetMCPServerValue_HeadersInvalidJSON
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1838
FunctionTestSetMCPServerValue_InvalidKey
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:926
FunctionTestSetMCPServerValue_Setup
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:909
FunctionTestSetMCPServerValue_Tools
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:884
FunctionTestSetMCPServerValue_ToolsEmptyName
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:902
FunctionTestSetMCPServerValue_ToolsInvalidJSON
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:895
FunctionTestSetMCPServerValue_Type
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1761
FunctionTestSetMCPServerValue_TypeInvalid
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1771
FunctionTestSetMCPServerValue_URL
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1778
FunctionTestSetMCPServerValue_URLEmpty
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1788
FunctionTestSetMCPServerValue_URLInvalidScheme
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1795
FunctionTestSetMCPServerValue_URLNoHost
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1816
FunctionTestSetMCPServerValue_URLParseError
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1823
FunctionTestSetMCPServerValue_UnknownField
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:919
FunctionTestSetPendingFailureCauseValidation
(t *testing.T)
internal/session/manifest_test.go:248
FunctionTestSetProtocolClearsStaleAWSSettings
TestSetProtocolClearsStaleAWSSettings covers the reverse order from TestAWSSettingsRejectedWhenEntryOverridesProtocol: aws_region/aws_profile set firs
cmd/opencodereview/bedrock_config_test.go:198
FunctionTestSetProtocolLeavesAWSSettingsWhenNoneSet
TestSetProtocolLeavesAWSSettingsWhenNoneSet is the no-op guard: switching protocol on an entry with no aws_region/aws_profile must not print a WARNING
cmd/opencodereview/bedrock_config_test.go:237
FunctionTestSetProviderValueAWSSettings
(t *testing.T)
cmd/opencodereview/bedrock_config_test.go:71
FunctionTestSetResponse
(t *testing.T)
internal/session/history_test.go:195
FunctionTestSetResponse_EmptyResponse
(t *testing.T)
internal/session/history_test.go:440
FunctionTestSetResponse_OmitsNativePayloadWhenAbsent
TestSetResponse_OmitsNativePayloadWhenAbsent guards the other half of the same contract: an ordinary turn with nothing to replay beyond Content/ToolCa
internal/session/history_test.go:345
FunctionTestSetResponse_PersistsNativePayload
TestSetResponse_PersistsNativePayload guards the training-reflow gap raised in review: the llm_response record must carry the opaque replay payload (e
internal/session/history_test.go:286
FunctionTestSetResponse_PersistsReasoningContent
TestSetResponse_PersistsReasoningContent guards the audit-transcript gap raised in review: the raw per-turn llm_response record must carry the model's
internal/session/history_test.go:245
FunctionTestSetResponse_PersistsToolCallExtraContent
TestSetResponse_PersistsToolCallExtraContent guards the response half: the llm_response record must carry the metadata that produced it, even when no
internal/session/history_test.go:601
FunctionTestSetRunFailureValidation
SetRunFailure rejects an invalid class and a conflicting re-classification, but accepts an idempotent repeat.
internal/session/manifest_test.go:650
FunctionTestSeverityColor
(t *testing.T)
cmd/opencodereview/output_test.go:35
FunctionTestShellRCFiles
(t *testing.T)
internal/llm/resolver_shellrc_test.go:12
FunctionTestShortSessionID
(t *testing.T)
cmd/opencodereview/misc_helpers_test.go:55
FunctionTestShouldAutoOpen
TestShouldAutoOpen covers the env-reading wrapper. Only the two modes that short-circuit before any environment probe are deterministic here: under `g
internal/viewer/browser_exec_test.go:306
FunctionTestShouldAutoOpenEnv
(t *testing.T)
internal/viewer/server_startserver_test.go:123
FunctionTestShouldMaskConfigValue
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:183
FunctionTestShouldSkipFile
(t *testing.T)
internal/tool/file_find_test.go:314
FunctionTestShutdownDeadlineAndCloseWait
(t *testing.T)
acp/internal/adapter/lifecycle_test.go:64
FunctionTestShutdownWaitsForCleanup
(t *testing.T)
acp/internal/adapter/lifecycle_test.go:206
FunctionTestShutdownWithTimeout
(t *testing.T)
internal/telemetry/shutdown_test.go:164
FunctionTestShutdownWithTimeout_Error
(t *testing.T)
internal/telemetry/shutdown_test.go:180
FunctionTestShutdown_NoFuncs
(t *testing.T)
internal/telemetry/shutdown_test.go:108
FunctionTestShutdown_ReinitializeMetrics
(t *testing.T)
internal/telemetry/shutdown_test.go:17
FunctionTestShutdown_Success
(t *testing.T)
internal/telemetry/shutdown_test.go:116
FunctionTestShutdown_WithErrors
(t *testing.T)
internal/telemetry/shutdown_test.go:138
FunctionTestSigningKeyCacheAndCancellation
(t *testing.T)
internal/chatgptauth/auth_test.go:344
FunctionTestSimultaneouslyObservableReasonsPreferTimeout
(t *testing.T)
acp/internal/orchestrator/termination_test.go:174
FunctionTestSingleSignalGracefulShutdownUnaffected
TestSingleSignalGracefulShutdownUnaffected covers the other acceptance half: a single SIGINT still completes the graceful path — the simulated partial
cmd/opencodereview/interrupt_test.go:265
FunctionTestSlashClarify
(t *testing.T)
acp/internal/intent/slash_test.go:48
FunctionTestSlashClarifyMissingFrom
(t *testing.T)
acp/internal/intent/slash_test.go:75
FunctionTestSlashCommands
(t *testing.T)
acp/internal/intent/slash_test.go:11
FunctionTestSlashCommitMissingValueHint
(t *testing.T)
acp/internal/intent/slash_test.go:206
FunctionTestSlashNewCommandDoesNotInheritPendingSlots
(t *testing.T)
acp/internal/intent/slash_test.go:84
FunctionTestSlashNonSlashGoesToLLM
(t *testing.T)
acp/internal/intent/slash_test.go:153
FunctionTestSlashRangeScreenRespectsFlagValues
(t *testing.T)
acp/internal/intent/slash_test.go:179
FunctionTestSlashRejects
(t *testing.T)
acp/internal/intent/slash_test.go:113
FunctionTestSlashRejectsConflictingReviewSelectors
(t *testing.T)
acp/internal/intent/slash_test.go:104
FunctionTestSniffer_CanonicalConfigIncludesObjCRule
The objc rule doc is not referenced from system_rules.json, so it must be folded into CanonicalConfig explicitly or editing it would not invalidate th
internal/config/rules/sniffer_test.go:245
FunctionTestSniffer_MergeSystemRuleUsesSniffedRule
A user rule with merge_system_rule must receive the sniffed ObjC rule as its system half, not the MATLAB rule the path alone would select.
internal/config/rules/sniffer_test.go:179
FunctionTestSniffer_ReadsAtRefNotCheckedOut
TestSniffer_ReadsAtRefNotCheckedOut is the reason the sniffer reads through `git show <ref>:<path>` rather than the working tree: `ocr review --from/-
internal/config/rules/sniffer_test.go:120
FunctionTestSniffer_RealisticObjCHeaders
TestSniffer_RealisticObjCHeaders guards the case the sniff used to miss: real Objective-C files almost never open with #import — Xcode's file template
internal/config/rules/sniffer_test.go:300
FunctionTestSniffer_ResolveDetailKeepsPatternPlain
TestSniffer_ResolveDetailKeepsPatternPlain guards the JSON-contract concern: Pattern must always stay a plain glob (it flows into delegateRuleGroupJSO
internal/config/rules/sniffer_test.go:206
FunctionTestSniffer_UserRuleOutranksSniff
TestSniffer_UserRuleOutranksSniff guards the layering: the sniffer decorates the *system* layer, so a user's own rule for a .m path must still win. If
internal/config/rules/sniffer_test.go:161
FunctionTestSniffer_WorkingTree
(t *testing.T)
internal/config/rules/sniffer_test.go:81
FunctionTestSourceArtifactSHA256_DedupsByItemID
(t *testing.T)
internal/agent/manifest_hash_test.go:88
FunctionTestSourceArtifactSHA256_WorkspaceCoversDeletedInputs
(t *testing.T)
internal/agent/manifest_hash_test.go:116
FunctionTestSplitAndNormalize_SkipsEmptyLines
(t *testing.T)
internal/diff/resolver_test.go:309
← previousnext →5,901–6,000 of 7,169, ranked by callers