MCPcopy Create free account

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

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

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:79
FunctionTestRenderMarkdownCodeBlockBackslashesMixedContent
(test *testing.T)
cmd/opencodereview/markdown_test.go:111
FunctionTestRenderMarkdownCodeSpanEntities
(test *testing.T)
cmd/opencodereview/markdown_test.go:48
FunctionTestRenderMarkdownDelimiterBoundaries
(test *testing.T)
cmd/opencodereview/markdown_test.go:334
FunctionTestRenderMarkdownEntityStyleLiteralRetention
(test *testing.T)
cmd/opencodereview/markdown_test.go:300
FunctionTestRenderMarkdownHeadingColor
(test *testing.T)
cmd/opencodereview/markdown_test.go:39
FunctionTestRenderMarkdownRejectsEntityEncodedStyles
(test *testing.T)
cmd/opencodereview/markdown_test.go:268
FunctionTestRenderMarkdownRetainsStylesAfterSanitizingEntities
(test *testing.T)
cmd/opencodereview/markdown_test.go:320
FunctionTestRenderMarkdownTableBoundaries
(test *testing.T)
cmd/opencodereview/markdown_test.go:229
FunctionTestRenderMarkdownTableLinkRetention
(test *testing.T)
cmd/opencodereview/markdown_test.go:152
FunctionTestRenderMarkdownTableRulesAndAlignment
(test *testing.T)
cmd/opencodereview/markdown_test.go:180
FunctionTestRenderMarkdownTableWrapsByDisplayWidth
(test *testing.T)
cmd/opencodereview/markdown_test.go:200
FunctionTestRenderMarkdownTerminalSafety
(test *testing.T)
cmd/opencodereview/markdown_test.go:249
FunctionTestRenderMarkdownWrapAndRetention
(test *testing.T)
cmd/opencodereview/markdown_test.go:126
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:727
FunctionTestRenderTemplate_FilesReviewedUseFileIcon
(t *testing.T)
internal/viewer/server_extra_test.go:882
FunctionTestRenderTemplate_HidesEmptyConversationsSection
(t *testing.T)
internal/viewer/server_extra_test.go:667
FunctionTestRenderTemplate_RendersConversationToolCallDetails
(t *testing.T)
internal/viewer/server_extra_test.go:682
FunctionTestRenderTemplate_ReposSearchIcon
(t *testing.T)
internal/viewer/server_extra_test.go:840
FunctionTestRenderTemplate_ReposTableMockup
(t *testing.T)
internal/viewer/server_extra_test.go:904
FunctionTestRenderTemplate_SecondarySectionsCollapsedByDefault
(t *testing.T)
internal/viewer/server_extra_test.go:628
FunctionTestRenderTemplate_SessionHeaderMockup
(t *testing.T)
internal/viewer/server_extra_test.go:545
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
← previousnext →5,401–5,500 of 7,390, ranked by callers