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
TestRegisterAll_SkipsDuplicateTools
(t *testing.T)
internal/mcp/provider_test.go:84
Function
TestRegisterAll_SkipsReservedTools
(t *testing.T)
internal/mcp/provider_test.go:66
Function
TestRegisterAll_WarnsUnmatchedAllowed
(t *testing.T)
internal/mcp/provider_test.go:103
Function
TestRegisterExcludedAfterSealErrors
(t *testing.T)
internal/session/manifest_test.go:970
Function
TestRegisterExcludedValidation
(t *testing.T)
internal/session/manifest_test.go:920
Function
TestRegistryModelsForProvider
(t *testing.T)
cmd/opencodereview/provider_tui_rollback_test.go:14
Function
TestRegistry_Freeze_PanicsOnRegister
(t *testing.T)
internal/tool/definitions_test.go:69
Function
TestRegistry_GetAfterFreeze
(t *testing.T)
internal/tool/definitions_test.go:81
Function
TestRegistry_ProviderInterface
(t *testing.T)
internal/tool/definitions_test.go:140
Function
TestRegistry_RegisterAndGet
(t *testing.T)
internal/tool/definitions_test.go:50
Function
TestRejectClearsPending
(t *testing.T)
acp/internal/intent/state_test.go:75
Function
TestRejectedGuidancePreservesTerminalFailures
(t *testing.T)
acp/internal/adapter/prompt_test.go:17
Function
TestReleaseYmlMatchesURLPattern
(t *testing.T)
internal/release/asset_naming_test.go:91
Function
TestRelocateAcrossFiles_DeclinesWhenAbsent
(t *testing.T)
internal/diff/relocate_across_files_test.go:90
Function
TestRelocateAcrossFiles_DeclinesWhenAmbiguous
(t *testing.T)
internal/diff/relocate_across_files_test.go:64
Function
TestRelocateAcrossFiles_RefilesToImplementation
(t *testing.T)
internal/diff/relocate_across_files_test.go:43
Function
TestRelocateAcrossFiles_SkipsOwnFileAndEmptyInputs
(t *testing.T)
internal/diff/relocate_across_files_test.go:103
Function
TestRemoteIdentity
(t *testing.T)
internal/diff/git_resolve_test.go:197
Function
TestRemoveModels
(t *testing.T)
cmd/opencodereview/provider_cmd_test.go:202
Function
TestRenderComment_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
Function
TestRenderComment_ColorEmitsEscapes
TestRenderComment_ColorEmitsEscapes is the paired positive case: a real terminal still gets the styled render.
cmd/opencodereview/output_color_test.go:55
Function
TestRenderComment_ContentOnly
(t *testing.T)
cmd/opencodereview/output_helpers_test.go:632
Function
TestRenderComment_EmptyContentNoDiff
(t *testing.T)
cmd/opencodereview/output_helpers_test.go:623
Function
TestRenderComment_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
Function
TestRenderComment_WithDiff
(t *testing.T)
cmd/opencodereview/output_helpers_test.go:644
Function
TestRenderKotlin
(t *testing.T)
internal/llm/gen/kotlin_test.go:34
Function
TestRenderListName_Active
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:189
Function
TestRenderListName_Inactive
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:196
Function
TestRenderMarkdown
(test *testing.T)
cmd/opencodereview/markdown_test.go:20
Function
TestRenderMarkdownCodeBlockBackslashes
(test *testing.T)
cmd/opencodereview/markdown_test.go:70
Function
TestRenderMarkdownCodeBlockBackslashesMixedContent
(test *testing.T)
cmd/opencodereview/markdown_test.go:102
Function
TestRenderMarkdownCodeSpanEntities
(test *testing.T)
cmd/opencodereview/markdown_test.go:39
Function
TestRenderMarkdownDelimiterBoundaries
(test *testing.T)
cmd/opencodereview/markdown_test.go:256
Function
TestRenderMarkdownEntityStyleLiteralRetention
(test *testing.T)
cmd/opencodereview/markdown_test.go:222
Function
TestRenderMarkdownRejectsEntityEncodedStyles
(test *testing.T)
cmd/opencodereview/markdown_test.go:190
Function
TestRenderMarkdownRetainsStylesAfterSanitizingEntities
(test *testing.T)
cmd/opencodereview/markdown_test.go:242
Function
TestRenderMarkdownTableLinkRetention
(test *testing.T)
cmd/opencodereview/markdown_test.go:143
Function
TestRenderMarkdownTerminalSafety
(test *testing.T)
cmd/opencodereview/markdown_test.go:171
Function
TestRenderMarkdownWrapAndRetention
(test *testing.T)
cmd/opencodereview/markdown_test.go:117
Function
TestRenderMessages
(t *testing.T)
internal/scan/agent_test.go:255
Function
TestRenderPreservesMetadataAndModelOrder
(t *testing.T)
internal/llm/gen/main_test.go:26
Function
TestRenderRejectsDuplicateModels
(t *testing.T)
internal/llm/gen/main_test.go:85
Function
TestRenderTabBar_AllTabs
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:1021
Function
TestRenderTemplate_BadTemplate
(t *testing.T)
internal/viewer/server_extra_test.go:183
Function
TestRenderTemplate_ExecutionError
(t *testing.T)
internal/viewer/server_extra_test.go:716
Function
TestRenderTemplate_FilesReviewedUseFileIcon
(t *testing.T)
internal/viewer/server_extra_test.go:871
Function
TestRenderTemplate_HidesEmptyConversationsSection
(t *testing.T)
internal/viewer/server_extra_test.go:656
Function
TestRenderTemplate_RendersConversationToolCallDetails
(t *testing.T)
internal/viewer/server_extra_test.go:671
Function
TestRenderTemplate_ReposSearchIcon
(t *testing.T)
internal/viewer/server_extra_test.go:829
Function
TestRenderTemplate_ReposTableMockup
(t *testing.T)
internal/viewer/server_extra_test.go:893
Function
TestRenderTemplate_SecondarySectionsCollapsedByDefault
(t *testing.T)
internal/viewer/server_extra_test.go:617
Function
TestRenderTemplate_SessionHeaderMockup
(t *testing.T)
internal/viewer/server_extra_test.go:534
Function
TestRenderTemplate_SessionHeaderStatusClasses
(t *testing.T)
internal/viewer/server_extra_test.go:575
Function
TestRenderTemplate_SessionPage
(t *testing.T)
internal/viewer/server_extra_test.go:491
Function
TestRenderTemplate_Sessions
(t *testing.T)
internal/viewer/server_extra_test.go:195
Function
TestRenderTemplate_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
Function
TestRenderTemplate_SessionsTableMockup
(t *testing.T)
internal/viewer/server_extra_test.go:232
Function
TestRenderTemplate_Success
(t *testing.T)
internal/viewer/server_extra_test.go:133
Function
TestRenderTemplate_ToolCallIconIsInlineSVG
(t *testing.T)
internal/viewer/server_extra_test.go:840
Function
TestRenderTemplate_WithRepos
(t *testing.T)
internal/viewer/server_extra_test.go:156
Function
TestRenderedMarkdownRejectsPrivateCSI
(test *testing.T)
cmd/opencodereview/markdown_test.go:272
Function
TestRepairSerializedComments_LeavesWellFormedJSONByteIdentical
(t *testing.T)
internal/tool/comment_args_repair_test.go:339
Function
TestRepairSerializedComments_PreservesUnicodeEscape
(t *testing.T)
internal/tool/comment_args_repair_test.go:274
Function
TestRepairedCommentsAcceptable
(t *testing.T)
internal/tool/comment_args_repair_test.go:362
Function
TestRepairedCommentsAcceptable_RejectsUnknownField
(t *testing.T)
internal/tool/comment_args_repair_test.go:287
Function
TestReportCoverageUsesManifest
(t *testing.T)
acp/internal/adapter/presentation/report_test.go:159
Function
TestReportFindingsMatchRenderedList
(t *testing.T)
acp/internal/adapter/presentation/report_test.go:178
Function
TestReportHeadingEscapesMetadata
(t *testing.T)
acp/internal/adapter/presentation/report_test.go:149
Function
TestReportRetainsManifestDiagnostics
(t *testing.T)
acp/internal/adapter/presentation/report_test.go:128
Function
TestReportStatusAndMissingUsage
(t *testing.T)
acp/internal/adapter/presentation/report_test.go:66
Function
TestReportSummarySeverityOrderAndFooter
(t *testing.T)
acp/internal/adapter/presentation/report_test.go:100
Function
TestReposJS_PagerContract
(t *testing.T)
internal/viewer/server_extra_test.go:924
Function
TestRequestCancellationIsNotReportedAsTimeout
(t *testing.T)
acp/internal/intent/llm/diagnostics_test.go:121
Function
TestRequestFailureClassificationAndRedaction
(t *testing.T)
acp/internal/intent/llm/diagnostics_test.go:72
Function
TestRequestMetaDescribe
(t *testing.T)
internal/llm/retry_meta_test.go:128
Function
TestRequestMetaValid
(t *testing.T)
internal/llm/retry_meta_test.go:22
Function
TestRequestTimeoutAndSDKRetryBehavior
(t *testing.T)
internal/llm/request_timeout_test.go:21
Function
TestRequestTimeoutBedrockNoReplay
(t *testing.T)
internal/llm/request_timeout_test.go:228
Function
TestRequestTimeoutReportsObservedPhase
(t *testing.T)
acp/internal/intent/llm/diagnostics_test.go:25
Function
TestRequestTimeoutStreamingNoReplay
(t *testing.T)
internal/llm/request_timeout_test.go:192
Function
TestRequireGitRepo_Invalid
(t *testing.T)
cmd/opencodereview/git_test.go:153
Function
TestRequireGitRepo_Valid
(t *testing.T)
cmd/opencodereview/git_test.go:146
Function
TestResolveAllowedHostsFromEnv
(t *testing.T)
internal/viewer/server_extra_test.go:744
Function
TestResolveAllowedHostsFromEnv_NoEnv
(t *testing.T)
internal/viewer/server_extra_test.go:769
Function
TestResolveBackgroundFilePath
(t *testing.T)
cmd/opencodereview/background_file_test.go:32
Function
TestResolveBackground_AllCases
TestResolveBackground_AllCases exercises resolveBackground through real loadBackgroundFile and getCommitMessage calls.
cmd/opencodereview/background_file_test.go:340
Function
TestResolveBackground_FilePrecedenceOverCommit
TestResolveBackground_FilePrecedenceOverCommit verifies that when --background-file is set, the commit-message fallback does not fire.
cmd/opencodereview/background_file_test.go:321
Function
TestResolveBedrockPassesAWSSettings
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
Function
TestResolveBedrockWithoutAPIKey
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
Function
TestResolveBinaryContinuesAfterVersionProbeFailure
(t *testing.T)
acp/internal/orchestrator/resolve_test.go:119
Function
TestResolveBinaryEnvironmentAndPATH
(t *testing.T)
acp/internal/orchestrator/resolve_test.go:40
Function
TestResolveBinaryInvalidExplicitDoesNotFallBack
(t *testing.T)
acp/internal/orchestrator/resolve_test.go:56
Function
TestResolveBinaryPriorityAndAbsolutePath
(t *testing.T)
acp/internal/orchestrator/resolve_test.go:19
Function
TestResolveBinaryRejectsDirectoryAndNonExecutable
(t *testing.T)
acp/internal/orchestrator/resolve_test.go:69
Function
TestResolveBinaryWindowsExeSuffix
(t *testing.T)
acp/internal/orchestrator/resolve_test.go:142
Function
TestResolveColor
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
Function
TestResolveColorForNonTerminalWriter
(test *testing.T)
cmd/opencodereview/color_test.go:14
Function
TestResolveComment_AlreadyResolved
(t *testing.T)
internal/diff/relocation_test.go:76
Function
TestResolveComment_EmptyExistingCode
(t *testing.T)
internal/diff/relocation_test.go:94
Function
TestResolveComment_TextMatchSuccess
(t *testing.T)
internal/diff/relocation_test.go:59
← previous
next →
5,201–5,300 of 7,169, ranked by callers