Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/open-code-review
/ functions
Functions
7,169 in github.com/alibaba/open-code-review
⨍
Functions
7,169
◇
Types & classes
774
Function
TestSetConfigValueProviderEntryModelsUnquotedBracketList
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:373
Function
TestSetConfigValueProviderEntryNonPresetWritesCustomProvider
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:206
Function
TestSetConfigValueProviderEntryProtocol
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:392
Function
TestSetConfigValueProviderExtraHeaders
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:558
Function
TestSetConfigValueProviderExtraHeadersInvalid
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:577
Function
TestSetConfigValueProviderRetryCodesRedundantWarning
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1867
Function
TestSetConfigValueProviderURLTrimsAndValidates
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:50
Function
TestSetConfigValueRejectsInvalidProviderNames
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:281
Function
TestSetConfigValueTelemetryContentLogging
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1261
Function
TestSetConfigValueTelemetryContentLoggingInvalid
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1271
Function
TestSetConfigValueTelemetryEnabled
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1224
Function
TestSetConfigValueTelemetryEnabledInvalid
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1234
Function
TestSetConfigValueTelemetryExporter
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1241
Function
TestSetConfigValueTelemetryOTLPEndpoint
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1251
Function
TestSetConfigValueTimeoutSeconds
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1898
Function
TestSetConfigValueTimeoutSecondsRejectsInvalidValues
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1914
Function
TestSetConfigValueUnknownKey
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1298
Function
TestSetConfigValueUnknownKeyMessage
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1305
Function
TestSetConnection
(t *testing.T)
acp/internal/adapter/server_test.go:97
Function
TestSetCustomProviderAWSSettingsFollowProtocol
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
Function
TestSetCustomProviderValue
TestSetCustomProviderValue covers the malformed-key rejection and the success path that materializes a custom provider entry.
cmd/opencodereview/provider_config_apply_test.go:45
Function
TestSetError
(t *testing.T)
internal/session/history_test.go:451
Function
TestSetErrorIncrementsCounter
(t *testing.T)
internal/session/persist_test.go:173
Function
TestSetErrorWritesJSONL
(t *testing.T)
internal/session/persist_test.go:195
Function
TestSetLlmProtocolRejectsBedrock
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
Function
TestSetMCPServerValue_Args
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:841
Function
TestSetMCPServerValue_ArgsInvalidJSON
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:852
Function
TestSetMCPServerValue_Command
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:824
Function
TestSetMCPServerValue_CommandEmpty
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:834
Function
TestSetMCPServerValue_DottedServerName
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:955
Function
TestSetMCPServerValue_DottedServerNameRejectsEmptySegments
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:986
Function
TestSetMCPServerValue_Env
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:859
Function
TestSetMCPServerValue_EnvInvalidFormat
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:877
Function
TestSetMCPServerValue_EnvInvalidJSON
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:870
Function
TestSetMCPServerValue_ExistingServer
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:941
Function
TestSetMCPServerValue_Headers
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1802
Function
TestSetMCPServerValue_HeadersEmptyName
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1831
Function
TestSetMCPServerValue_HeadersEmptyValue
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1845
Function
TestSetMCPServerValue_HeadersInvalidJSON
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1838
Function
TestSetMCPServerValue_InvalidKey
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:926
Function
TestSetMCPServerValue_Setup
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:909
Function
TestSetMCPServerValue_Tools
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:884
Function
TestSetMCPServerValue_ToolsEmptyName
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:902
Function
TestSetMCPServerValue_ToolsInvalidJSON
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:895
Function
TestSetMCPServerValue_Type
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1761
Function
TestSetMCPServerValue_TypeInvalid
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1771
Function
TestSetMCPServerValue_URL
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1778
Function
TestSetMCPServerValue_URLEmpty
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1788
Function
TestSetMCPServerValue_URLInvalidScheme
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1795
Function
TestSetMCPServerValue_URLNoHost
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1816
Function
TestSetMCPServerValue_URLParseError
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1823
Function
TestSetMCPServerValue_UnknownField
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:919
Function
TestSetPendingFailureCauseValidation
(t *testing.T)
internal/session/manifest_test.go:248
Function
TestSetProtocolClearsStaleAWSSettings
TestSetProtocolClearsStaleAWSSettings covers the reverse order from TestAWSSettingsRejectedWhenEntryOverridesProtocol: aws_region/aws_profile set firs
cmd/opencodereview/bedrock_config_test.go:198
Function
TestSetProtocolLeavesAWSSettingsWhenNoneSet
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
Function
TestSetProviderValueAWSSettings
(t *testing.T)
cmd/opencodereview/bedrock_config_test.go:71
Function
TestSetResponse
(t *testing.T)
internal/session/history_test.go:195
Function
TestSetResponse_EmptyResponse
(t *testing.T)
internal/session/history_test.go:440
Function
TestSetResponse_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
Function
TestSetResponse_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
Function
TestSetResponse_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
Function
TestSetResponse_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
Function
TestSetRunFailureValidation
SetRunFailure rejects an invalid class and a conflicting re-classification, but accepts an idempotent repeat.
internal/session/manifest_test.go:650
Function
TestSeverityColor
(t *testing.T)
cmd/opencodereview/output_test.go:35
Function
TestShellRCFiles
(t *testing.T)
internal/llm/resolver_shellrc_test.go:12
Function
TestShortSessionID
(t *testing.T)
cmd/opencodereview/misc_helpers_test.go:55
Function
TestShouldAutoOpen
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
Function
TestShouldAutoOpenEnv
(t *testing.T)
internal/viewer/server_startserver_test.go:123
Function
TestShouldMaskConfigValue
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:183
Function
TestShouldSkipFile
(t *testing.T)
internal/tool/file_find_test.go:314
Function
TestShutdownDeadlineAndCloseWait
(t *testing.T)
acp/internal/adapter/lifecycle_test.go:64
Function
TestShutdownWaitsForCleanup
(t *testing.T)
acp/internal/adapter/lifecycle_test.go:206
Function
TestShutdownWithTimeout
(t *testing.T)
internal/telemetry/shutdown_test.go:164
Function
TestShutdownWithTimeout_Error
(t *testing.T)
internal/telemetry/shutdown_test.go:180
Function
TestShutdown_NoFuncs
(t *testing.T)
internal/telemetry/shutdown_test.go:108
Function
TestShutdown_ReinitializeMetrics
(t *testing.T)
internal/telemetry/shutdown_test.go:17
Function
TestShutdown_Success
(t *testing.T)
internal/telemetry/shutdown_test.go:116
Function
TestShutdown_WithErrors
(t *testing.T)
internal/telemetry/shutdown_test.go:138
Function
TestSigningKeyCacheAndCancellation
(t *testing.T)
internal/chatgptauth/auth_test.go:344
Function
TestSimultaneouslyObservableReasonsPreferTimeout
(t *testing.T)
acp/internal/orchestrator/termination_test.go:174
Function
TestSingleSignalGracefulShutdownUnaffected
TestSingleSignalGracefulShutdownUnaffected covers the other acceptance half: a single SIGINT still completes the graceful path — the simulated partial
cmd/opencodereview/interrupt_test.go:265
Function
TestSlashClarify
(t *testing.T)
acp/internal/intent/slash_test.go:48
Function
TestSlashClarifyMissingFrom
(t *testing.T)
acp/internal/intent/slash_test.go:75
Function
TestSlashCommands
(t *testing.T)
acp/internal/intent/slash_test.go:11
Function
TestSlashCommitMissingValueHint
(t *testing.T)
acp/internal/intent/slash_test.go:206
Function
TestSlashNewCommandDoesNotInheritPendingSlots
(t *testing.T)
acp/internal/intent/slash_test.go:84
Function
TestSlashNonSlashGoesToLLM
(t *testing.T)
acp/internal/intent/slash_test.go:153
Function
TestSlashRangeScreenRespectsFlagValues
(t *testing.T)
acp/internal/intent/slash_test.go:179
Function
TestSlashRejects
(t *testing.T)
acp/internal/intent/slash_test.go:113
Function
TestSlashRejectsConflictingReviewSelectors
(t *testing.T)
acp/internal/intent/slash_test.go:104
Function
TestSniffer_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
Function
TestSniffer_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
Function
TestSniffer_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
Function
TestSniffer_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
Function
TestSniffer_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
Function
TestSniffer_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
Function
TestSniffer_WorkingTree
(t *testing.T)
internal/config/rules/sniffer_test.go:81
Function
TestSourceArtifactSHA256_DedupsByItemID
(t *testing.T)
internal/agent/manifest_hash_test.go:88
Function
TestSourceArtifactSHA256_WorkspaceCoversDeletedInputs
(t *testing.T)
internal/agent/manifest_hash_test.go:116
Function
TestSplitAndNormalize_SkipsEmptyLines
(t *testing.T)
internal/diff/resolver_test.go:309
← previous
next →
5,901–6,000 of 7,169, ranked by callers