MCPcopy Create free account

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

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

FunctionTestRegisterAll_SkipsDuplicateTools
(t *testing.T)
internal/mcp/provider_test.go:84
FunctionTestRegisterAll_SkipsReservedTools
(t *testing.T)
internal/mcp/provider_test.go:66
FunctionTestRegisterAll_WarnsUnmatchedAllowed
(t *testing.T)
internal/mcp/provider_test.go:103
FunctionTestRegisterExcludedAfterSealErrors
(t *testing.T)
internal/session/manifest_test.go:970
FunctionTestRegisterExcludedValidation
(t *testing.T)
internal/session/manifest_test.go:920
FunctionTestRegistryModelsForProvider
(t *testing.T)
cmd/opencodereview/provider_tui_rollback_test.go:14
FunctionTestRegistry_Freeze_PanicsOnRegister
(t *testing.T)
internal/tool/definitions_test.go:69
FunctionTestRegistry_GetAfterFreeze
(t *testing.T)
internal/tool/definitions_test.go:81
FunctionTestRegistry_ProviderInterface
(t *testing.T)
internal/tool/definitions_test.go:140
FunctionTestRegistry_RegisterAndGet
(t *testing.T)
internal/tool/definitions_test.go:50
FunctionTestRejectClearsPending
(t *testing.T)
acp/internal/intent/state_test.go:75
FunctionTestRejectedGuidancePreservesTerminalFailures
(t *testing.T)
acp/internal/adapter/prompt_test.go:17
FunctionTestReleaseYmlMatchesURLPattern
(t *testing.T)
internal/release/asset_naming_test.go:91
FunctionTestRelocateAcrossFiles_DeclinesWhenAbsent
(t *testing.T)
internal/diff/relocate_across_files_test.go:90
FunctionTestRelocateAcrossFiles_DeclinesWhenAmbiguous
(t *testing.T)
internal/diff/relocate_across_files_test.go:64
FunctionTestRelocateAcrossFiles_RefilesToImplementation
(t *testing.T)
internal/diff/relocate_across_files_test.go:43
FunctionTestRelocateAcrossFiles_SkipsOwnFileAndEmptyInputs
(t *testing.T)
internal/diff/relocate_across_files_test.go:103
FunctionTestRemoteIdentity
(t *testing.T)
internal/diff/git_resolve_test.go:197
FunctionTestRemoveModels
(t *testing.T)
cmd/opencodereview/provider_cmd_test.go:202
FunctionTestRenderComment_BadgeInline
TestRenderComment_BadgeInline verifies the badge is colorized and rendered inline with the first line of the comment content.
cmd/opencodereview/output_test.go:58
FunctionTestRenderComment_ColorEmitsEscapes
TestRenderComment_ColorEmitsEscapes is the paired positive case: a real terminal still gets the styled render.
cmd/opencodereview/output_color_test.go:55
FunctionTestRenderComment_ContentOnly
(t *testing.T)
cmd/opencodereview/output_helpers_test.go:632
FunctionTestRenderComment_EmptyContentNoDiff
(t *testing.T)
cmd/opencodereview/output_helpers_test.go:623
FunctionTestRenderComment_NoColorIsPlain
TestRenderComment_NoColorIsPlain is the regression test for issue #682: piping review output must not emit ANSI escape sequences.
cmd/opencodereview/output_color_test.go:32
FunctionTestRenderComment_WithDiff
(t *testing.T)
cmd/opencodereview/output_helpers_test.go:644
FunctionTestRenderKotlin
(t *testing.T)
internal/llm/gen/kotlin_test.go:34
FunctionTestRenderListName_Active
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:189
FunctionTestRenderListName_Inactive
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:196
FunctionTestRenderMarkdown
(test *testing.T)
cmd/opencodereview/markdown_test.go:20
FunctionTestRenderMarkdownCodeBlockBackslashes
(test *testing.T)
cmd/opencodereview/markdown_test.go:70
FunctionTestRenderMarkdownCodeBlockBackslashesMixedContent
(test *testing.T)
cmd/opencodereview/markdown_test.go:102
FunctionTestRenderMarkdownCodeSpanEntities
(test *testing.T)
cmd/opencodereview/markdown_test.go:39
FunctionTestRenderMarkdownDelimiterBoundaries
(test *testing.T)
cmd/opencodereview/markdown_test.go:256
FunctionTestRenderMarkdownEntityStyleLiteralRetention
(test *testing.T)
cmd/opencodereview/markdown_test.go:222
FunctionTestRenderMarkdownRejectsEntityEncodedStyles
(test *testing.T)
cmd/opencodereview/markdown_test.go:190
FunctionTestRenderMarkdownRetainsStylesAfterSanitizingEntities
(test *testing.T)
cmd/opencodereview/markdown_test.go:242
FunctionTestRenderMarkdownTableLinkRetention
(test *testing.T)
cmd/opencodereview/markdown_test.go:143
FunctionTestRenderMarkdownTerminalSafety
(test *testing.T)
cmd/opencodereview/markdown_test.go:171
FunctionTestRenderMarkdownWrapAndRetention
(test *testing.T)
cmd/opencodereview/markdown_test.go:117
FunctionTestRenderMessages
(t *testing.T)
internal/scan/agent_test.go:255
FunctionTestRenderPreservesMetadataAndModelOrder
(t *testing.T)
internal/llm/gen/main_test.go:26
FunctionTestRenderRejectsDuplicateModels
(t *testing.T)
internal/llm/gen/main_test.go:85
FunctionTestRenderTabBar_AllTabs
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:1021
FunctionTestRenderTemplate_BadTemplate
(t *testing.T)
internal/viewer/server_extra_test.go:183
FunctionTestRenderTemplate_ExecutionError
(t *testing.T)
internal/viewer/server_extra_test.go:716
FunctionTestRenderTemplate_FilesReviewedUseFileIcon
(t *testing.T)
internal/viewer/server_extra_test.go:871
FunctionTestRenderTemplate_HidesEmptyConversationsSection
(t *testing.T)
internal/viewer/server_extra_test.go:656
FunctionTestRenderTemplate_RendersConversationToolCallDetails
(t *testing.T)
internal/viewer/server_extra_test.go:671
FunctionTestRenderTemplate_ReposSearchIcon
(t *testing.T)
internal/viewer/server_extra_test.go:829
FunctionTestRenderTemplate_ReposTableMockup
(t *testing.T)
internal/viewer/server_extra_test.go:893
FunctionTestRenderTemplate_SecondarySectionsCollapsedByDefault
(t *testing.T)
internal/viewer/server_extra_test.go:617
FunctionTestRenderTemplate_SessionHeaderMockup
(t *testing.T)
internal/viewer/server_extra_test.go:534
FunctionTestRenderTemplate_SessionHeaderStatusClasses
(t *testing.T)
internal/viewer/server_extra_test.go:575
FunctionTestRenderTemplate_SessionPage
(t *testing.T)
internal/viewer/server_extra_test.go:491
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:840
FunctionTestRenderTemplate_WithRepos
(t *testing.T)
internal/viewer/server_extra_test.go:156
FunctionTestRenderedMarkdownRejectsPrivateCSI
(test *testing.T)
cmd/opencodereview/markdown_test.go:272
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
FunctionTestReportRetainsManifestDiagnostics
(t *testing.T)
acp/internal/adapter/presentation/report_test.go:128
FunctionTestReportStatusAndMissingUsage
(t *testing.T)
acp/internal/adapter/presentation/report_test.go:66
FunctionTestReportSummarySeverityOrderAndFooter
(t *testing.T)
acp/internal/adapter/presentation/report_test.go:100
FunctionTestReposJS_PagerContract
(t *testing.T)
internal/viewer/server_extra_test.go:924
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:744
FunctionTestResolveAllowedHostsFromEnv_NoEnv
(t *testing.T)
internal/viewer/server_extra_test.go:769
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
← previousnext →5,201–5,300 of 7,169, ranked by callers