MCPcopy Create free account

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

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

FunctionTestRenderTemplate_SessionHeaderStatusClasses
(t *testing.T)
internal/viewer/server_extra_test.go:586
FunctionTestRenderTemplate_SessionPage
(t *testing.T)
internal/viewer/server_extra_test.go:502
FunctionTestRenderTemplate_Sessions
(t *testing.T)
internal/viewer/server_extra_test.go:195
FunctionTestRenderTemplate_SessionsCompareLink
TestRenderTemplate_SessionsCompareLink pins the only entry point to the compare page: one link per row, pointing at the next-older session.
internal/viewer/compare_test.go:381
FunctionTestRenderTemplate_SessionsTableMockup
(t *testing.T)
internal/viewer/server_extra_test.go:232
FunctionTestRenderTemplate_Success
(t *testing.T)
internal/viewer/server_extra_test.go:133
FunctionTestRenderTemplate_ToolCallIconIsInlineSVG
(t *testing.T)
internal/viewer/server_extra_test.go:851
FunctionTestRenderTemplate_WithRepos
(t *testing.T)
internal/viewer/server_extra_test.go:156
FunctionTestRenderedMarkdownRejectsPrivateCSI
(test *testing.T)
cmd/opencodereview/markdown_test.go:350
FunctionTestRepairSerializedComments_LeavesWellFormedJSONByteIdentical
(t *testing.T)
internal/tool/comment_args_repair_test.go:339
FunctionTestRepairSerializedComments_PreservesUnicodeEscape
(t *testing.T)
internal/tool/comment_args_repair_test.go:274
FunctionTestRepairedCommentsAcceptable
(t *testing.T)
internal/tool/comment_args_repair_test.go:362
FunctionTestRepairedCommentsAcceptable_RejectsUnknownField
(t *testing.T)
internal/tool/comment_args_repair_test.go:287
FunctionTestReportCoverageUsesManifest
(t *testing.T)
acp/internal/adapter/presentation/report_test.go:159
FunctionTestReportFindingsMatchRenderedList
(t *testing.T)
acp/internal/adapter/presentation/report_test.go:178
FunctionTestReportHeadingEscapesMetadata
(t *testing.T)
acp/internal/adapter/presentation/report_test.go:149
FunctionTestReportPreservesBothTimeoutAndArtifactFailure
(test *testing.T)
internal/workflow/workflow_test.go:26
FunctionTestReportRetainsManifestDiagnostics
(t *testing.T)
acp/internal/adapter/presentation/report_test.go:128
FunctionTestReportStatus
(test *testing.T)
internal/workflow/workflow_test.go:86
FunctionTestReportStatusAndMissingUsage
(t *testing.T)
acp/internal/adapter/presentation/report_test.go:66
FunctionTestReportSummarySeverityOrderAndFooter
(t *testing.T)
acp/internal/adapter/presentation/report_test.go:100
FunctionTestReportTabsCSS_ForcedColorsMarksCurrentPage
(t *testing.T)
internal/viewer/server_extra_test.go:444
FunctionTestReportTabsShareHeader
(t *testing.T)
internal/viewer/handler_test.go:38
FunctionTestReposJS_PagerContract
(t *testing.T)
internal/viewer/server_extra_test.go:935
FunctionTestRequestBudgetAndUsage
(test *testing.T)
internal/behaviortask/budget_test.go:46
FunctionTestRequestBudgetErrorStopsWithoutGraceRequest
(test *testing.T)
internal/llmloop/request_budget_test.go:48
FunctionTestRequestCancellationIsNotReportedAsTimeout
(t *testing.T)
acp/internal/intent/llm/diagnostics_test.go:121
FunctionTestRequestFailureClassificationAndRedaction
(t *testing.T)
acp/internal/intent/llm/diagnostics_test.go:72
FunctionTestRequestMetaDescribe
(t *testing.T)
internal/llm/retry_meta_test.go:128
FunctionTestRequestMetaValid
(t *testing.T)
internal/llm/retry_meta_test.go:22
FunctionTestRequestTimeoutAndSDKRetryBehavior
(t *testing.T)
internal/llm/request_timeout_test.go:21
FunctionTestRequestTimeoutBedrockNoReplay
(t *testing.T)
internal/llm/request_timeout_test.go:228
FunctionTestRequestTimeoutReportsObservedPhase
(t *testing.T)
acp/internal/intent/llm/diagnostics_test.go:25
FunctionTestRequestTimeoutStreamingNoReplay
(t *testing.T)
internal/llm/request_timeout_test.go:192
FunctionTestRequireGitRepo_Invalid
(t *testing.T)
cmd/opencodereview/git_test.go:153
FunctionTestRequireGitRepo_Valid
(t *testing.T)
cmd/opencodereview/git_test.go:146
FunctionTestResolveAllowedHostsFromEnv
(t *testing.T)
internal/viewer/server_extra_test.go:755
FunctionTestResolveAllowedHostsFromEnv_NoEnv
(t *testing.T)
internal/viewer/server_extra_test.go:780
FunctionTestResolveBackgroundFilePath
(t *testing.T)
cmd/opencodereview/background_file_test.go:32
FunctionTestResolveBackground_AllCases
TestResolveBackground_AllCases exercises resolveBackground through real loadBackgroundFile and getCommitMessage calls.
cmd/opencodereview/background_file_test.go:340
FunctionTestResolveBackground_FilePrecedenceOverCommit
TestResolveBackground_FilePrecedenceOverCommit verifies that when --background-file is set, the commit-message fallback does not fire.
cmd/opencodereview/background_file_test.go:321
FunctionTestResolveBedrockPassesAWSSettings
TestResolveBedrockPassesAWSSettings covers aws_profile / aws_region reaching the client, so a review run is reproducible without exporting AWS_PROFILE
internal/llm/bedrock_test.go:126
FunctionTestResolveBedrockWithoutAPIKey
TestResolveBedrockWithoutAPIKey is the regression test for the two gates that rejected a correct Bedrock config: the api_key requirement in tryProvide
internal/llm/bedrock_test.go:72
FunctionTestResolveBinaryContinuesAfterVersionProbeFailure
(t *testing.T)
acp/internal/orchestrator/resolve_test.go:119
FunctionTestResolveBinaryEnvironmentAndPATH
(t *testing.T)
acp/internal/orchestrator/resolve_test.go:40
FunctionTestResolveBinaryInvalidExplicitDoesNotFallBack
(t *testing.T)
acp/internal/orchestrator/resolve_test.go:56
FunctionTestResolveBinaryPriorityAndAbsolutePath
(t *testing.T)
acp/internal/orchestrator/resolve_test.go:19
FunctionTestResolveBinaryRejectsDirectoryAndNonExecutable
(t *testing.T)
acp/internal/orchestrator/resolve_test.go:69
FunctionTestResolveBinaryWindowsExeSuffix
(t *testing.T)
acp/internal/orchestrator/resolve_test.go:142
FunctionTestResolveColor
TestResolveColor covers the precedence chain. stdout under `go test` is not a terminal, so the auto cases assert the not-a-TTY branch — exactly the re
cmd/opencodereview/color_test.go:70
FunctionTestResolveColorForNonTerminalWriter
(test *testing.T)
cmd/opencodereview/color_test.go:14
FunctionTestResolveComment_AlreadyResolved
(t *testing.T)
internal/diff/relocation_test.go:76
FunctionTestResolveComment_EmptyExistingCode
(t *testing.T)
internal/diff/relocation_test.go:94
FunctionTestResolveComment_TextMatchSuccess
(t *testing.T)
internal/diff/relocation_test.go:59
FunctionTestResolveCommitComparison
(test *testing.T)
internal/diff/comparison_test.go:15
FunctionTestResolveCommitComparisonRejectsShallowParent
(test *testing.T)
internal/diff/comparison_test.go:50
FunctionTestResolveConfig
(t *testing.T)
internal/telemetry/config_test.go:234
FunctionTestResolveDeduplicatesReferencesInFirstOccurrenceOrder
(test *testing.T)
internal/config/toolsconfig/toolsconfig_test.go:150
FunctionTestResolveDefaultsForEachProvider
(t *testing.T)
acp/internal/intent/llm/resolve_test.go:15
FunctionTestResolveDetail_CustomOverridesAll
(t *testing.T)
internal/config/rules/system_rules_test.go:1381
FunctionTestResolveDetail_MergeSystemRule
(t *testing.T)
internal/config/rules/system_rules_test.go:1335
FunctionTestResolveDetail_ProjectOverridesSystem
(t *testing.T)
internal/config/rules/system_rules_test.go:1299
FunctionTestResolveDetail_SystemCUDAHIPPatternMatch
(t *testing.T)
internal/config/rules/system_rules_test.go:1256
FunctionTestResolveDetail_SystemComposerPatternPrecedesJSON
(t *testing.T)
internal/config/rules/system_rules_test.go:1226
FunctionTestResolveDetail_SystemDefault
(t *testing.T)
internal/config/rules/system_rules_test.go:928
FunctionTestResolveDetail_SystemGoPatternMatch
(t *testing.T)
internal/config/rules/system_rules_test.go:1087
FunctionTestResolveDetail_SystemMoveRulesDialectAndEnvironmentScope
(t *testing.T)
internal/config/rules/system_rules_test.go:1178
FunctionTestResolveDetail_SystemMoveTomlPatternPrecedesMove
(t *testing.T)
internal/config/rules/system_rules_test.go:1149
FunctionTestResolveDetail_SystemPHPPatternMatch
(t *testing.T)
internal/config/rules/system_rules_test.go:1118
FunctionTestResolveDetail_SystemPatternMatch
(t *testing.T)
internal/config/rules/system_rules_test.go:947
FunctionTestResolveDetail_SystemPowerShellPatternMatch
(t *testing.T)
internal/config/rules/system_rules_test.go:967
FunctionTestResolveDetail_SystemPrismaPatternMatch
(t *testing.T)
internal/config/rules/system_rules_test.go:1031
FunctionTestResolveDetail_SystemPugPatternMatch
(t *testing.T)
internal/config/rules/system_rules_test.go:1055
FunctionTestResolveDetail_SystemSQLPatternMatch
(t *testing.T)
internal/config/rules/system_rules_test.go:993
FunctionTestResolveEndpointWithModelOverride_AllBuiltInProvidersAcceptUnlistedModel
(t *testing.T)
internal/llm/resolver_test.go:1406
FunctionTestResolveEndpointWithModelOverride_BadEnvOverrideDoesNotRunAPIKeyCmd
A bad global env override must be rejected before any strategy runs: OCR_LLM_TIMEOUT="30s" (the field wants a bare integer) used to be parsed only aft
internal/llm/resolver_test.go:1215
FunctionTestResolveEndpointWithModelOverride_CustomProviderWithoutConfiguredModel
(t *testing.T)
internal/llm/resolver_test.go:727
FunctionTestResolveEndpointWithModelOverride_InvalidModelInCustomProviderList
(t *testing.T)
internal/llm/resolver_test.go:1313
FunctionTestResolveEndpointWithModelOverride_LegacyConfigNoValidation
(t *testing.T)
internal/llm/resolver_test.go:1527
FunctionTestResolveEndpointWithModelOverride_MergesPresetAndEntryModels
(t *testing.T)
internal/llm/resolver_test.go:1470
FunctionTestResolveEndpointWithModelOverride_NoValidationWhenNoModelList
(t *testing.T)
internal/llm/resolver_test.go:1342
FunctionTestResolveEndpointWithModelOverride_OpenRouterAcceptsUnlistedModel
(t *testing.T)
internal/llm/resolver_test.go:1371
FunctionTestResolveEndpointWithModelOverride_UnlistedModelStillRunsAPIKeyCmd
(t *testing.T)
internal/llm/resolver_test.go:1184
FunctionTestResolveEndpointWithModelOverride_UnlistedPresetModelWarns
(t *testing.T)
internal/llm/resolver_test.go:1156
FunctionTestResolveEndpointWithModelOverride_ValidModelInCustomProviderList
(t *testing.T)
internal/llm/resolver_test.go:1284
FunctionTestResolveEndpointWithModelOverride_ValidModelInPresetList
(t *testing.T)
internal/llm/resolver_test.go:1132
FunctionTestResolveEndpointWithOptions_ConfigRequestTimeout
(t *testing.T)
internal/llm/resolver_test.go:2926
FunctionTestResolveEndpointWithOptions_DefaultRequestTimeout
(t *testing.T)
internal/llm/resolver_test.go:2895
FunctionTestResolveEndpointWithOptions_DifferentProviderDoesNotReuseTopLevelModel
(t *testing.T)
internal/llm/resolver_test.go:456
FunctionTestResolveEndpointWithOptions_EnvRequestTimeout
(t *testing.T)
internal/llm/resolver_test.go:2910
FunctionTestResolveEndpointWithOptions_ExplicitProvider
(t *testing.T)
internal/llm/resolver_test.go:399
FunctionTestResolveEndpointWithOptions_ExplicitProviderAndModel
(t *testing.T)
internal/llm/resolver_test.go:521
FunctionTestResolveEndpointWithOptions_ExplicitProviderUsesProviderAPIKeyEnvironmentFallback
(t *testing.T)
internal/llm/resolver_test.go:592
FunctionTestResolveEndpointWithOptions_ExplicitProviderWithoutConfigNamesSection
(t *testing.T)
internal/llm/resolver_test.go:551
FunctionTestResolveEndpointWithOptions_ModelOverrideBeatsEnvironmentModel
(t *testing.T)
internal/llm/resolver_test.go:385
FunctionTestResolveEndpointWithOptions_ModelOverrideCompletesOCREnvironment
(t *testing.T)
internal/llm/resolver_test.go:371
FunctionTestResolveEndpointWithOptions_SameProviderPreservesTopLevelModel
(t *testing.T)
internal/llm/resolver_test.go:502
FunctionTestResolveEndpointWithOptions_UnknownProviderFailsWithoutFallbackOrMutation
(t *testing.T)
internal/llm/resolver_test.go:570
FunctionTestResolveEndpoint_APIKeyCmdFailureDoesNotFallBackToEnv
(d2) the property the design calls non-negotiable: a misconfigured credential command must never silently downgrade to an env var. TestResolveEndpoint
internal/llm/resolver_keycmd_test.go:329
FunctionTestResolveEndpoint_APIKeyCmdRunsExactlyOnce
(a2) the command runs exactly once per resolution. "No caching" is correct today only because resolution happens once per process; a second call would
internal/llm/resolver_keycmd_test.go:53
← previousnext →5,501–5,600 of 7,484, ranked by callers