Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/open-code-review
/ functions
Functions
7,390 in github.com/alibaba/open-code-review
⨍
Functions
7,390
◇
Types & classes
806
Function
TestContentLogging_Disabled
(t *testing.T)
internal/telemetry/provider_test.go:49
Function
TestContentLogging_EnabledWithEnv
(t *testing.T)
internal/telemetry/provider_test.go:58
Function
TestContentLogging_EnabledWithoutEnv
(t *testing.T)
internal/telemetry/provider_test.go:66
Function
TestContentSecurityPolicyIsStrict
The CSP must stay strict: no 'unsafe-inline'/'unsafe-eval' relaxation, since the formerly-inline session script now lives in static/session.js.
internal/viewer/securityheaders_test.go:51
Function
TestContentToText_Empty
(t *testing.T)
internal/mcp/client_test.go:182
Function
TestContentToText_MultipleText
(t *testing.T)
internal/mcp/client_test.go:170
Function
TestContentToText_SingleText
(t *testing.T)
internal/mcp/client_test.go:160
Function
TestContentToText_UnsupportedType
(t *testing.T)
internal/mcp/client_test.go:194
Function
TestContextPaginationReplayAndVerification
(test *testing.T)
internal/behaviortask/context_test.go:19
Function
TestContextWithTraceParentFromEnv_AbsentOrDisabled
(t *testing.T)
internal/telemetry/span_test.go:209
Function
TestContextWithTraceParentFromEnv_Extracts
(t *testing.T)
internal/telemetry/span_test.go:183
Function
TestContextWithTraceParentFromEnv_Malformed
(t *testing.T)
internal/telemetry/span_test.go:230
Function
TestConversationToolBindings
(test *testing.T)
internal/config/template/template_test.go:12
Function
TestCopyAbortCancelsIdleSynchronousRead
(t *testing.T)
acp/cmd/ocr-acp/stdio_windows_test.go:170
Function
TestCopyLlmComments_DeepCopy
(t *testing.T)
internal/session/resume_test.go:459
Function
TestCopyLlmComments_Empty
(t *testing.T)
internal/session/resume_test.go:453
Function
TestCopyLlmComments_Nil
--- copyLlmComments ---
internal/session/resume_test.go:447
Function
TestCopyMessages
(t *testing.T)
internal/llmloop/compression_test.go:281
Function
TestCopyMessages
(t *testing.T)
internal/agent/util_test.go:140
Function
TestCopyRejectsThreadInitializationFailure
(t *testing.T)
acp/cmd/ocr-acp/stdio_windows_test.go:124
Function
TestCountLines
(t *testing.T)
internal/scan/provider_test.go:18
Function
TestCountMessagesTokens
(t *testing.T)
internal/llmloop/compression_test.go:17
Function
TestCountMessagesTokens
(t *testing.T)
internal/agent/util_test.go:161
Function
TestCountMessagesTokens_Empty
(t *testing.T)
internal/llmloop/compression_test.go:28
Function
TestCountMessagesTokens_IncludesNativePayload
TestCountMessagesTokens_IncludesNativePayload guards a gap found in review of the #805 fix: once an assistant turn's Native payload (thinking blocks,
internal/llmloop/compression_test.go:41
Function
TestCountMessagesTokens_IncludesToolCalls
TestCountMessagesTokens_IncludesToolCalls guards against under-counting assistant turns that invoke tools under protocols where tool calls live on Too
internal/llmloop/compression_test.go:61
Function
TestCountTokens
(t *testing.T)
internal/llm/client_test.go:1948
Function
TestCountTokensForModel
(t *testing.T)
internal/llm/client_test.go:1971
Function
TestCountTokensUsesEmbeddedBpeData
TestCountTokensUsesEmbeddedBpeData guards the root cause behind the offline failures of TestSelectFilesTooLarge_Boundary and TestSelectScanItems_Large
internal/llm/embedded_loader_test.go:90
Function
TestCoverageSortedAndNonNilJSON
Coverage arrays are sorted by item_id and marshal as [] (never null).
internal/session/manifest_test.go:523
Function
TestCpProtocolIndex
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:2800
Function
TestCpProtocols_ContainsAllCanonicalNames
--- protocol normalization / openai-responses support ---
cmd/opencodereview/provider_tui_test.go:2764
Function
TestCredentialsRefreshWindow
(t *testing.T)
internal/chatgptauth/refresh_recovery_test.go:253
Function
TestCrossProcessSessionLock
(t *testing.T)
internal/chatgptauth/lifecycle_test.go:339
Function
TestCtrlBreakUndeliverable
A console-less agent cannot deliver CTRL_BREAK at all. That is the expected outcome of the cooperative interrupt, not a cleanup failure, so it must be
acp/internal/orchestrator/process/winapi_windows_test.go:17
Function
TestCurrentProvider_OutOfBounds
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:528
Function
TestCurrentProvider_WrongTab
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:537
Function
TestCustomAPIKeyForSave
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:960
Function
TestCustomBedrockModelListDoesNotGateOverride
(t *testing.T)
internal/llm/bedrock_test.go:322
Function
TestCustomDeadlineCauseIsNotExposed
(t *testing.T)
acp/internal/intent/llm/diagnostics_test.go:156
Function
TestCustomFormEndsAtProtocolForBedrock
TestCustomFormEndsAtProtocolForBedrock covers the Custom form's ambient branch. Bedrock has no url, no api key and no auth header to collect, so walki
cmd/opencodereview/provider_tui_customform_test.go:202
Function
TestCustomListCount
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:361
Function
TestCustomProviderActiveModel_DifferentProvider
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:28
Function
TestCustomProviderActiveModel_MatchingProvider
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:38
Function
TestCustomProviderActiveModel_NilCfg
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:19
Function
TestCustomProviderCanSelectBedrock
TestCustomProviderCanSelectBedrock is the other half of that contract: where a provider entry exists there is somewhere to put aws_region and aws_prof
internal/llm/bedrock_test.go:250
Function
TestCustomProviderEntry_Fallback
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:720
Function
TestCustomProviderEntry_FromConfig
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:706
Function
TestCustomProviderNameTaken
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:506
Function
TestDecodeResultAcceptsContractSuccessStatuses
(t *testing.T)
acp/internal/orchestrator/internal_test.go:120
Function
TestDecodeResultValidationAndStatuses
(t *testing.T)
acp/internal/orchestrator/internal_test.go:103
Function
TestDefaultAuthHeader
(t *testing.T)
internal/llm/message_test.go:385
Function
TestDefaultConfig
(t *testing.T)
internal/telemetry/config_test.go:12
Function
TestDefaultStoreAndInvalidStores
(t *testing.T)
internal/chatgptauth/io_test.go:20
Function
TestDefaultToolNamesAreUnique
(test *testing.T)
internal/config/toolsconfig/toolsconfig_test.go:53
Function
TestDefaultToolNamesMatchDefinitions
(test *testing.T)
internal/config/toolsconfig/toolsconfig_test.go:71
Function
TestDelegateContextMergeBaseEmptyForNonRange
(t *testing.T)
cmd/opencodereview/delegate_helpers_test.go:58
Function
TestDelegateContextMergeBase_Range
(t *testing.T)
cmd/opencodereview/delegate_exec_test.go:272
Function
TestDelegateContextResolver
(t *testing.T)
cmd/opencodereview/delegate_helpers_test.go:69
Function
TestDelegateContextReviewMode
(t *testing.T)
cmd/opencodereview/delegate_helpers_test.go:38
Function
TestDelegateDiffExamples
(t *testing.T)
internal/delegate/instructions_test.go:204
Function
TestDelegateDiffModes
(t *testing.T)
cmd/opencodereview/flags_test.go:180
Function
TestDelegateFromWithoutToUsesHEADRangeE2E
(t *testing.T)
cmd/opencodereview/default_to_head_e2e_test.go:109
Function
TestDelegateGitIsolation
(t *testing.T)
internal/delegate/instructions_test.go:304
Function
TestDelegatePagerPTY
(t *testing.T)
internal/delegate/instructions_test.go:377
Function
TestDelegatePagerProcess
(t *testing.T)
internal/delegate/instructions_test.go:364
Function
TestDeleteCustomProvider_NotFound
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1476
Function
TestDeleteSessionAt_DeletesALocationFromTheSearch
(t *testing.T)
internal/session/delete_test.go:339
Function
TestDeleteSessionAt_RefusesAPathThatDisagreesWithItsParts
(t *testing.T)
internal/session/delete_test.go:319
Function
TestDeleteSessionAt_RefusesATraversingEncodedDir
(t *testing.T)
internal/session/delete_test.go:296
Function
TestDeleteSessionAt_RefusesPathOutsideSessionsRoot
(t *testing.T)
internal/session/delete_test.go:280
Function
TestDeleteSessionAt_UnattributableSessionIsStillDeletable
(t *testing.T)
internal/session/delete_test.go:192
Function
TestDeleteSession_MissingSessionIsReportedNotSilentlyIgnored
(t *testing.T)
internal/session/delete_test.go:70
Function
TestDeleteSession_RefusesASessionRecordedForAnotherRepo
(t *testing.T)
internal/session/delete_test.go:131
Function
TestDeleteSession_RefusesAnEmptyID
(t *testing.T)
internal/session/delete_test.go:122
Function
TestDeleteSession_RefusesIdsThatEscapeTheSessionsDirectory
(t *testing.T)
internal/session/delete_test.go:81
Function
TestDeleteSession_RemovesOnlyTheNamedSession
(t *testing.T)
internal/session/delete_test.go:42
Function
TestDeleteSession_UnattributableSessionIsRefusedAgainstARepository
(t *testing.T)
internal/session/delete_test.go:178
Function
TestDescribeFilesNoManifest
TestDescribeFilesNoManifest covers the branch where RunManifest is nil.
cmd/opencodereview/session_display_more_test.go:77
Function
TestDescribeRange
TestDescribeRange covers each review-mode branch plus the fallthrough.
cmd/opencodereview/session_display_more_test.go:23
Function
TestDescribeStart
TestDescribeStart covers the zero-time and formatted branches.
cmd/opencodereview/session_display_more_test.go:65
Function
TestDescribeTimeoutIndependentCallerDeadline
(t *testing.T)
internal/llm/request_timeout_test.go:164
Function
TestDiagnosticMetadataSurvivesShortConfigurationValues
(t *testing.T)
acp/internal/intent/llm/diagnostics_test.go:264
Function
TestDiagnosticsBoundProviderOutput
(t *testing.T)
acp/internal/intent/llm/diagnostics_test.go:215
Function
TestDiagnosticsDoNotReplaceProgressActivity
(t *testing.T)
acp/internal/adapter/presentation/progress_test.go:19
Function
TestDiagnosticsRedactUsernameCredentials
(t *testing.T)
acp/internal/intent/llm/diagnostics_test.go:223
Function
TestDiffMapPathsKeepsEmptyDiff
A path that holds an empty diff is still a path the message can offer.
internal/tool/diffmap_test.go:56
Function
TestDiffMapPathsSorted
Paths are reported sorted so a message built from them is stable.
internal/tool/diffmap_test.go:47
Function
TestDiffMapReplacementDropsEarlierPaths
The not-found message is derived from the snapshot the provider currently holds, so its correctness rests on two properties of that snapshot: it is re
internal/tool/diffmap_test.go:21
Function
TestDiffMap_Get
(t *testing.T)
internal/tool/file_read_diff_test.go:21
Function
TestDiffModesPreserveCQuotedPaths
(t *testing.T)
internal/diff/git_cquoted_test.go:56
Function
TestDiffModesPreserveNonASCIIPaths
(t *testing.T)
internal/diff/git_test.go:334
Function
TestDiffStatus
(t *testing.T)
internal/agent/preview_test.go:630
Function
TestDiff_JSONRoundTrip
(t *testing.T)
internal/model/model_test.go:11
Function
TestDisconnectReapsOCRBeforeAdapterExit
(t *testing.T)
acp/cmd/ocr-acp/main_test.go:57
Function
TestDiscoverRepos_Empty
(t *testing.T)
internal/viewer/store_test.go:161
Function
TestDiscoverRepos_FindsRepos
(t *testing.T)
internal/viewer/store_test.go:196
Function
TestDiscoverRepos_NonExistentDir
(t *testing.T)
internal/viewer/store_test.go:172
Function
TestDiscoverRepos_SkipsDirsWithNoJSONL
(t *testing.T)
internal/viewer/store_test.go:236
Function
TestDiscoverRepos_SkipsFiles
(t *testing.T)
internal/viewer/store_test.go:182
← previous
next →
3,801–3,900 of 7,390, ranked by callers