MCPcopy Create free account

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

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

FunctionTestResolveInput_SingleParentCommit
(t *testing.T)
internal/diff/git_resolve_test.go:73
FunctionTestResolveInput_UnbornWorkspace
(t *testing.T)
internal/diff/git_resolve_test.go:211
FunctionTestResolveInput_Workspace
(t *testing.T)
internal/diff/git_resolve_test.go:144
FunctionTestResolveInvalidConfiguration
(test *testing.T)
internal/config/toolsconfig/toolsconfig_test.go:185
FunctionTestResolveKeyCmd
(t *testing.T)
internal/llm/keycmd_test.go:15
FunctionTestResolveKeyCmd
(t *testing.T)
internal/llm/keycmd_windows_test.go:40
FunctionTestResolveKeyCmd_LabelInError
(t *testing.T)
internal/llm/keycmd_test.go:196
FunctionTestResolveKeyCmd_LabelInError
(t *testing.T)
internal/llm/keycmd_windows_test.go:150
FunctionTestResolveKeyCmd_StdinWired
TestResolveKeyCmd_StdinWired proves the child inherits our stdin: with Stdin left nil, os/exec hands the child /dev/null, `read` sees EOF and prints n
internal/llm/keycmd_test.go:167
FunctionTestResolveKeyCmd_StdinWired
TestResolveKeyCmd_StdinWired proves the child inherits our stdin: with Stdin left nil, os/exec hands the child NUL, findstr reads EOF immediately and
internal/llm/keycmd_windows_test.go:121
FunctionTestResolveKeyCmd_Timeout
(t *testing.T)
internal/llm/keycmd_test.go:114
FunctionTestResolveKeyCmd_Timeout
(t *testing.T)
internal/llm/keycmd_windows_test.go:98
FunctionTestResolveKeyCmd_WaitDelayBoundsOrphanHoldingPipe
A grandchild that inherited the stdout pipe keeps it open after the shell exits, which used to block Wait until the grandchild died. WaitDelay bounds
internal/llm/keycmd_test.go:134
FunctionTestResolveLang
(t *testing.T)
internal/config/template/template_test.go:493
FunctionTestResolveLang
(t *testing.T)
internal/config/testconnection/testconnection_test.go:42
FunctionTestResolveLineNumbers_AlreadyResolved
--------------------------------------------------------------------------- ResolveLineNumbers integration tests (additional scenarios) --------------
internal/diff/resolver_test.go:858
FunctionTestResolveLineNumbers_DiffMarkerInExistingCode
(t *testing.T)
internal/diff/resolver_test.go:962
FunctionTestResolveLineNumbers_EmptyInputs
(t *testing.T)
internal/diff/resolver_test.go:275
FunctionTestResolveLineNumbers_FallbackToFileContent
(t *testing.T)
internal/diff/resolver_test.go:95
FunctionTestResolveLineNumbers_FallbackToFileContent_AllBlankExistingCode
(t *testing.T)
internal/diff/resolver_test.go:214
FunctionTestResolveLineNumbers_FallbackToFileContent_BlankLines
(t *testing.T)
internal/diff/resolver_test.go:123
FunctionTestResolveLineNumbers_FallbackToFileContent_CRLF
(t *testing.T)
internal/diff/resolver_test.go:178
FunctionTestResolveLineNumbers_FallbackToFileContent_FirstMatchWins
(t *testing.T)
internal/diff/resolver_test.go:196
FunctionTestResolveLineNumbers_FallbackToFileContent_LeadingBlanks
(t *testing.T)
internal/diff/resolver_test.go:160
FunctionTestResolveLineNumbers_FallbackToFileContent_MultipleBlankLines
(t *testing.T)
internal/diff/resolver_test.go:142
FunctionTestResolveLineNumbers_MixedStrategies
(t *testing.T)
internal/diff/resolver_test.go:927
FunctionTestResolveLineNumbers_MultiLineHunkMatch
(t *testing.T)
internal/diff/resolver_test.go:65
FunctionTestResolveLineNumbers_MultipleCommentsOnSameFile
(t *testing.T)
internal/diff/resolver_test.go:870
FunctionTestResolveLineNumbers_NoExistingCode
(t *testing.T)
internal/diff/resolver_test.go:247
FunctionTestResolveLineNumbers_NoMatchKeepsZero
(t *testing.T)
internal/diff/resolver_test.go:232
FunctionTestResolveLineNumbers_OldPathMapping
(t *testing.T)
internal/diff/resolver_test.go:905
FunctionTestResolveLineNumbers_PathNotFound
(t *testing.T)
internal/diff/resolver_test.go:261
FunctionTestResolveLineNumbers_SingleLineHunkMatch
(t *testing.T)
internal/diff/resolver_test.go:21
FunctionTestResolveLineNumbers_WhitespaceTolerant
(t *testing.T)
internal/diff/resolver_test.go:49
FunctionTestResolveMaxTokensPrecedence
(t *testing.T)
cmd/opencodereview/shared_test.go:19
FunctionTestResolveOrderedDefinitions
(test *testing.T)
internal/config/toolsconfig/toolsconfig_test.go:117
FunctionTestResolveOutputWriter_DirectoryTarget
(t *testing.T)
cmd/opencodereview/output_file_test.go:192
FunctionTestResolveOutputWriter_MissingParent
(t *testing.T)
cmd/opencodereview/output_file_test.go:200
FunctionTestResolveOutputWriter_SafeByDefaultStripsNonMachineReadable
TestResolveOutputWriter_SafeByDefaultStripsNonMachineReadable pins that any non-machine-readable format (not json/sarif) wraps the writer in stripAnsi
cmd/opencodereview/output_file_test.go:717
FunctionTestResolveOutputWriter_Stdout
--- resolveOutputWriter ---
cmd/opencodereview/output_file_test.go:177
FunctionTestResolveProviderCaseInsensitive
(t *testing.T)
acp/internal/intent/llm/resolve_test.go:92
FunctionTestResolveRepoDir_EmptyUsesWd
(t *testing.T)
cmd/opencodereview/git_test.go:122
FunctionTestResolveRepoDir_NotGitRepo
(t *testing.T)
cmd/opencodereview/git_test.go:111
FunctionTestResolveRepoDir_ValidGitRepo
(t *testing.T)
cmd/opencodereview/git_test.go:100
FunctionTestResolveReviewMaxTools
(t *testing.T)
cmd/opencodereview/review_cmd_test.go:60
FunctionTestResolveRuleEntries_AbsolutePath
(t *testing.T)
internal/config/rules/system_rules_test.go:1505
FunctionTestResolveRuleEntries_BasicFile
── resolveRuleEntries tests ──
internal/config/rules/system_rules_test.go:1452
FunctionTestResolveRuleEntries_EmptyRepoDirAbsolute
(t *testing.T)
internal/config/rules/system_rules_test.go:1815
FunctionTestResolveRuleEntries_EmptyRepoDirRelative
(t *testing.T)
internal/config/rules/system_rules_test.go:1803
FunctionTestResolveRuleEntries_EmptyRule
(t *testing.T)
internal/config/rules/system_rules_test.go:1560
FunctionTestResolveRuleEntries_GlobalRuleFileResolution
(t *testing.T)
internal/config/rules/system_rules_test.go:1832
FunctionTestResolveRuleEntries_MarkdownExtension
(t *testing.T)
internal/config/rules/system_rules_test.go:1623
FunctionTestResolveRuleEntries_MissingFile
(t *testing.T)
internal/config/rules/system_rules_test.go:1491
FunctionTestResolveRuleEntries_MultiLineInline
(t *testing.T)
internal/config/rules/system_rules_test.go:1473
FunctionTestResolveRuleEntries_PathTraversalBlocked
── path traversal tests ──
internal/config/rules/system_rules_test.go:1779
FunctionTestResolveRuleEntries_ProjectConfinesAbsolutePath
TestResolveRuleEntries_ProjectConfinesAbsolutePath verifies that with a confineRoot (the untrusted project rule layer) an absolute rule path is confin
internal/config/rules/system_rules_test.go:1872
FunctionTestResolveRuleEntries_ProjectConfinesSymlinkEscape
TestResolveRuleEntries_ProjectConfinesSymlinkEscape verifies that with confine=true, an in-repo symlink pointing at an out-of-repo file is rejected af
internal/config/rules/system_rules_test.go:1899
FunctionTestResolveRuleEntries_ProjectRelativeInsideAllowed
TestResolveRuleEntries_ProjectRelativeInsideAllowed covers the confined relative (non-symlink) path that stays inside the repo.
internal/config/rules/system_rules_test.go:2045
FunctionTestResolveRuleEntries_RelativePath
(t *testing.T)
internal/config/rules/system_rules_test.go:1544
FunctionTestResolveRuleEntries_SubdirectoryPath
(t *testing.T)
internal/config/rules/system_rules_test.go:1639
FunctionTestResolveRuleEntries_SymlinkSafety
(t *testing.T)
internal/config/rules/system_rules_test.go:1579
FunctionTestResolveRuleEntries_TooLarge
(t *testing.T)
internal/config/rules/system_rules_test.go:1523
FunctionTestResolveRuleEntries_TrustedAbsoluteOutsideAllowed
TestResolveRuleEntries_TrustedAbsoluteOutsideAllowed guards that the trusted layers (confine=false) keep the previous behavior: absolute paths may poi
internal/config/rules/system_rules_test.go:1922
FunctionTestResolveRuleEntries_TxtExtension
(t *testing.T)
internal/config/rules/system_rules_test.go:1607
FunctionTestResolveUsageCacheCreationTokensPriority
(t *testing.T)
internal/llm/usage_resolver_test.go:108
FunctionTestResolveUsageCacheReadPathPriority
(t *testing.T)
internal/llm/usage_resolver_test.go:88
FunctionTestResolveUsageOpenAICompatibleCachedTokens
(t *testing.T)
internal/llm/usage_resolver_test.go:8
FunctionTestResolveUsageResponsesAPIFieldNames
(t *testing.T)
internal/llm/usage_resolver_test.go:128
FunctionTestResolveUsageWrappedAnthropicCompatibleCacheTokens
(t *testing.T)
internal/llm/usage_resolver_test.go:62
FunctionTestResolveUsageWrappedCachedTokens
(t *testing.T)
internal/llm/usage_resolver_test.go:34
FunctionTestResolveWorkingDir_BareRepoFailsLoudly
TestResolveWorkingDir_BareRepoFailsLoudly guards the #287 fix: a bare repo has no work tree, so `git rev-parse --git-dir` succeeds (isGit=true) but `-
cmd/opencodereview/shared_test.go:259
FunctionTestResolveWorkingDir_CurrentDir
(t *testing.T)
cmd/opencodereview/shared_test.go:147
FunctionTestResolveWorkingDir_GitRepo
(t *testing.T)
cmd/opencodereview/shared_test.go:272
FunctionTestResolveWorkingDir_MonorepoSubdir
TestResolveWorkingDir_MonorepoSubdir reproduces #287: running `ocr review` from a subdirectory of a git repo must anchor RepoDir at the git top-level
cmd/opencodereview/shared_test.go:194
FunctionTestResolveWorkingDir_NonExistent
(t *testing.T)
cmd/opencodereview/shared_test.go:182
FunctionTestResolveWorkingDir_RequireGitFails
(t *testing.T)
cmd/opencodereview/shared_test.go:174
FunctionTestResolve_CaseInsensitive
(t *testing.T)
internal/config/rules/system_rules_test.go:305
FunctionTestResolve_CustomRule_DefaultFallback
(t *testing.T)
internal/config/rules/system_rules_test.go:291
FunctionTestResolve_CustomRule_FirstMatchWins
(t *testing.T)
internal/config/rules/system_rules_test.go:269
FunctionTestResolve_DefaultRules
(t *testing.T)
internal/config/rules/system_rules_test.go:59
FunctionTestResolve_FallbackToDefault
(t *testing.T)
internal/config/rules/system_rules_test.go:247
FunctionTestResolve_GitHubWorkflows
(t *testing.T)
internal/config/rules/resolve_github_test.go:11
FunctionTestResourceRouting
(t *testing.T)
acp/internal/adapter/resources_test.go:128
FunctionTestResponseRequestID
(t *testing.T)
internal/llm/retry_observer_test.go:661
FunctionTestResponsiveCSS_MetaOverrideComesAfterBase
TestResponsiveCSS_MetaOverrideComesAfterBase guards the cascade for the narrow-screen meta overrides: the selectors are equally specific as the base r
internal/viewer/server_extra_test.go:1598
FunctionTestResultRootMatchesCLIOperation
(t *testing.T)
acp/internal/adapter/workspace/root_test.go:14
FunctionTestResult_CustomTab_Creating
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:1516
FunctionTestResult_CustomTab_Editing
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:1531
FunctionTestResult_CustomTab_OutOfBounds
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:1570
FunctionTestResult_CustomTab_Selected
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:1552
FunctionTestResult_ManualTab
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:1580
FunctionTestResult_ManualTab_MaskedToken
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:1597
FunctionTestResult_OfficialTab
--- result() tests ---
cmd/opencodereview/provider_tui_funcs_test.go:1498
FunctionTestResult_OfficialTab_WithMaskedKey
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:1506
FunctionTestResumeComparisonEndpoints
(test *testing.T)
internal/session/code_access_test.go:12
FunctionTestResumeIgnoresLegacyCodeAccessProfile
(test *testing.T)
internal/session/code_access_test.go:62
FunctionTestResumeLineageReachesDiskBeforeFinalize
The round trip above finalizes the session, which flushes on its way out and so cannot tell a buffered record from a persisted one. Lineage exists to
internal/session/resume_identity_test.go:385
FunctionTestResumeLineageRoundTripsThroughSessionFile
End-to-end for the event itself: a lineage written by a live session must come back out of the session file through the same reader `ocr session show`
internal/session/resume_identity_test.go:351
FunctionTestResumeStateSessionStartKeepsRepoDirWhenCwdEmpty
(t *testing.T)
internal/session/persist_test.go:495
FunctionTestResumeStateValidateOptionsRejectsMismatchedMode
(t *testing.T)
internal/session/persist_test.go:479
← previousnext →5,701–5,800 of 7,484, ranked by callers