Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PerpetualSoftware/pad
/ functions
Functions
28,840 in github.com/PerpetualSoftware/pad
⨍
Functions
28,840
◇
Types & classes
3,245
Function
TestRenderAttachmentMissing_EscapesUuid
(t *testing.T)
internal/server/render/attachments_test.go:233
Function
TestRenderAttachment_ParityWithTypeScript
(t *testing.T)
internal/server/render/attachments_test.go:563
Function
TestRenderCollectionMarkdown_Empty
(t *testing.T)
internal/cli/format_markdown_test.go:188
Function
TestRenderCollectionMarkdown_TableShape
(t *testing.T)
internal/cli/format_markdown_test.go:196
Function
TestRenderCommentsMarkdown_BodyIsVerbatim
--- renderer unit tests for the two non-tabular surfaces --- A comment body is authored as markdown, so it must be emitted verbatim. Escaping it would
cmd/pad/format_markdown_surfaces_test.go:20
Function
TestRenderCommentsMarkdown_Empty
(t *testing.T)
cmd/pad/format_markdown_surfaces_test.go:66
Function
TestRenderCommentsMarkdown_SanitizesAttribution
The attribution line IS constructed by us, so it gets sanitized.
cmd/pad/format_markdown_surfaces_test.go:45
Function
TestRenderDepsMarkdown_SanitizesTitles
(t *testing.T)
cmd/pad/format_markdown_surfaces_test.go:94
Function
TestRenderDepsMarkdown_SectionsAndEmptyState
(t *testing.T)
cmd/pad/format_markdown_surfaces_test.go:74
Function
TestRenderItemContextMarkdown
PLAN-3598: the markdown render of `pad item context`. The body is decoded the way the command decodes the server's response, so a renamed JSON key fai
cmd/pad/cmd_item_context_test.go:13
Function
TestRenderItemCopyNeedsValue_AvailableRelationTargetIsUnchanged
The control for the line above: an AVAILABLE target renders exactly as it did before this change, so `omitempty`'s absent-means-available contract is
cmd/pad/item_copy_test.go:1855
Function
TestRenderItemCopyNeedsValue_RelationNamesItsTargetCollection
A relation row tells the CLI user what to point at (TASK-2869). The dialog gets a picker; the CLI has no picker at all, so the target collection is t
cmd/pad/item_copy_test.go:1754
Function
TestRenderItemCopyNeedsValue_UnavailableRelationTargetIsNotSuggested
IDEA-2899. Naming the target is only useful if the target is THERE. When it is not — deleted, or unreadable by this caller — the CLI must say so and m
cmd/pad/item_copy_test.go:1803
Function
TestRenderItemCopyResult
── result rendering ─────────────────────────────────────────────────────
cmd/pad/item_copy_test.go:1633
Function
TestRenderItemCopyResult_FlagsDisagreement
archive_source and source.archived agree on every successful response. If they ever do not, say so rather than silently believing one.
cmd/pad/item_copy_test.go:1694
Function
TestRenderItemCopyResult_PlainCopyAndEmptyDropList
A plain copy says "Copied", and an empty dropped_fields list says so rather than rendering a blank.
cmd/pad/item_copy_test.go:1672
Function
TestRenderItemCopy_NotUnique
BUG-2367: a value dropped as not unique is named — value and, when the server sent one, the holder — in both the dry run and the result, because for i
cmd/pad/item_copy_test.go:2166
Function
TestRenderItemMarkdown_Empty
(t *testing.T)
internal/cli/format_markdown_test.go:24
Function
TestRenderItemMarkdown_EscapesBackslashBeforePipe
A title that already contains a backslash immediately before a pipe is the case escaping the pipe alone can't survive: "\" + "|" becomes "\" + "\|", w
internal/cli/format_markdown_test.go:94
Function
TestRenderItemMarkdown_EscapesPipesInTitle
(t *testing.T)
internal/cli/format_markdown_test.go:66
Function
TestRenderItemMarkdown_MarksArchived
(t *testing.T)
internal/cli/format_markdown_test.go:167
Function
TestRenderItemMarkdown_MissingFieldsRenderDash
(t *testing.T)
internal/cli/format_markdown_test.go:148
Function
TestRenderItemMarkdown_NoANSIEscapes
(t *testing.T)
internal/cli/format_markdown_test.go:127
Function
TestRenderItemMarkdown_TableShape
(t *testing.T)
internal/cli/format_markdown_test.go:32
Function
TestRenderItemTable_Empty
(t *testing.T)
internal/cli/format_test.go:45
Function
TestRenderItemTable_MarksLeasedRows
(t *testing.T)
internal/cli/format_lease_test.go:71
Function
TestRenderItemTable_NeverTruncatesRef
(t *testing.T)
internal/cli/format_test.go:81
Function
TestRenderItemTable_StatusAndPriorityFromFields
(t *testing.T)
internal/cli/format_test.go:127
Function
TestRenderItemTable_StripsANSIFromTitle
(t *testing.T)
internal/cli/format_test.go:99
Function
TestRenderItemTable_TruncatesTitleWithinBudget
(t *testing.T)
internal/cli/format_test.go:53
Function
TestRenderItemsGroupedByCollectionMarkdown_Empty
(t *testing.T)
cmd/pad/format_markdown_list_test.go:107
Function
TestRenderItemsGroupedByCollectionMarkdown_GroupsWithHeadings
`pad item list` with no collection argument groups by collection. The markdown form has to keep that grouping — a flat table would lose information th
cmd/pad/format_markdown_list_test.go:17
Function
TestRenderItemsGroupedByCollectionMarkdown_SanitizesHeading
The group heading interpolates the collection icon and name into "## …". A newline in either injects document structure, which breaks the same guarant
cmd/pad/format_markdown_list_test.go:63
Function
TestRenderItemsGroupedByCollectionMarkdown_StripsANSIFromHeading
(t *testing.T)
cmd/pad/format_markdown_list_test.go:91
Function
TestRenderMarkdownTable_EscapesCells
(t *testing.T)
internal/cli/format_markdown_table_test.go:25
Function
TestRenderMarkdownTable_NoHeadersWritesNothing
(t *testing.T)
internal/cli/format_markdown_table_test.go:69
Function
TestRenderMarkdownTable_NormalizesRaggedRows
A row with the wrong number of cells must not change the column count, or the whole table stops parsing as a table.
internal/cli/format_markdown_table_test.go:51
Function
TestRenderMarkdownTable_Shape
(t *testing.T)
internal/cli/format_markdown_table_test.go:9
Function
TestRenderMarkdown_AlternationAsEnum
(t *testing.T)
internal/cmdhelp/md_test.go:142
Function
TestRenderMarkdown_DeterministicCommandOrder
(t *testing.T)
internal/cmdhelp/md_test.go:204
Function
TestRenderMarkdown_EscapesPipeInTableCell
(t *testing.T)
internal/cmdhelp/md_test.go:325
Function
TestRenderMarkdown_ExamplesAsFencedBash
(t *testing.T)
internal/cmdhelp/md_test.go:172
Function
TestRenderMarkdown_Frontmatter
(t *testing.T)
internal/cmdhelp/md_test.go:37
Function
TestRenderMarkdown_FrontmatterTimestampOverridable
(t *testing.T)
internal/cmdhelp/md_test.go:63
Function
TestRenderMarkdown_GlobalFlagsTopLevelOnly
(t *testing.T)
internal/cmdhelp/md_test.go:151
Function
TestRenderMarkdown_HiddenItemsExcluded
(t *testing.T)
internal/cmdhelp/md_test.go:194
Function
TestRenderMarkdown_OutputAndExitCodesSections
(t *testing.T)
internal/cmdhelp/md_test.go:242
Function
TestRenderMarkdown_SectionOrder
(t *testing.T)
internal/cmdhelp/md_test.go:74
Function
TestRenderMarkdown_SeeAlso
(t *testing.T)
internal/cmdhelp/md_test.go:301
Function
TestRenderMarkdown_StdinSection
(t *testing.T)
internal/cmdhelp/md_test.go:214
Function
TestRenderMarkdown_SynopsisIncludesArgsAndFlagsHint
(t *testing.T)
internal/cmdhelp/md_test.go:116
Function
TestRenderMarkdown_VariadicSynopsis
(t *testing.T)
internal/cmdhelp/md_test.go:134
Function
TestRenderMarkdown_WorkspaceContextSection
(t *testing.T)
internal/cmdhelp/md_test.go:280
Function
TestRenderRelationValue
TestRenderRelationValue covers the three shapes a hydrated relation can arrive in, and one thing the renderer must NOT say.
internal/cli/relation_render_test.go:12
Function
TestRenegotiateAtomicAfterMissAndChange
(t *testing.T)
internal/store/commitment_renegotiate_test.go:296
Function
TestRenegotiateDeadlineWritesOverrideAndJournalsMoveUserReason
(t *testing.T)
internal/store/commitment_c1_test.go:211
Function
TestRenegotiateEndedScheduleRefusal
An ended schedule has nothing to renegotiate: a caller with authority gets the stated ended refusal for every scope and mode, and one without keeps th
internal/server/commitment_notifications_test.go:136
Function
TestRenegotiateJournalCarriesOldAndNewDeadline
(t *testing.T)
internal/store/commitment_c1_test.go:540
Function
TestRenegotiateMissFirstAndTickDedupe
(t *testing.T)
internal/store/commitment_renegotiate_test.go:228
Function
TestRenegotiateOnConvertedRowKeepsLaterMissesRecorded
(t *testing.T)
internal/store/commitment_c1_test.go:275
Function
TestRenegotiateRangeUsesStoredInstant
(t *testing.T)
internal/store/commitment_c1_test.go:568
Function
TestRenegotiateRefusesEndedSchedule
An ended schedule has no outstanding occurrence, so every renegotiation is refused with schedule/ended, preview and apply, both scopes, and nothing is
internal/store/commitment_renegotiate_test.go:387
Function
TestRenegotiateRefusesRowWithoutNativeDeadline
(t *testing.T)
internal/store/commitment_c1_test.go:260
Function
TestRenegotiateRemovalPreservesResolvedMovedDeadlineOverride
(t *testing.T)
internal/store/commitment_renegotiate_test.go:445
Function
TestRenegotiateRequiresReason
(t *testing.T)
internal/store/commitment_c1_test.go:243
Function
TestRenegotiateSeriesCasesAndPastUntouched
(t *testing.T)
internal/store/commitment_renegotiate_test.go:118
Function
TestRenegotiateSeriesConvertedRowLaterMiss
(t *testing.T)
internal/store/commitment_renegotiate_test.go:424
Function
TestRenegotiateSeriesKeepsExplicitOverrideAndRemovalClearsIt
(t *testing.T)
internal/store/commitment_renegotiate_test.go:207
Function
TestRenegotiateSeriesRefusesNewPastDeadline
(t *testing.T)
internal/store/commitment_renegotiate_test.go:478
Function
TestRenegotiateSkipsTerminalMiss
(t *testing.T)
internal/store/commitment_renegotiate_test.go:282
Function
TestRenegotiateStaleRevisionAndRequired
(t *testing.T)
internal/store/commitment_renegotiate_test.go:330
Function
TestRenegotiateUntilRange
(t *testing.T)
internal/store/commitment_c1_test.go:557
Function
TestRenewSessionExtendsWhenStale
(t *testing.T)
internal/store/sessions_test.go:344
Function
TestRenewSessionLegacyZeroTTLNotRenewed
(t *testing.T)
internal/store/sessions_test.go:422
Function
TestRenewSessionRespectsMaxLifetime
(t *testing.T)
internal/store/sessions_test.go:394
Function
TestRenewSessionSkipsWhenFresh
(t *testing.T)
internal/store/sessions_test.go:374
Function
TestReopenConcurrentDoubleReopen
(t *testing.T)
internal/store/schedule_reopen_test.go:321
Function
TestReopenDateDeadlineAndRecipient
(t *testing.T)
internal/store/schedule_reopen_test.go:625
Function
TestReopenDeadlineAndUnsupportedHistory
(t *testing.T)
internal/store/schedule_reopen_test.go:439
Function
TestReopenDeletedCommentOmitted
(t *testing.T)
internal/store/schedule_reopen_privacy_test.go:31
Function
TestReopenDependencyBodyConstant
(t *testing.T)
internal/server/schedule_reopen_privacy_test.go:111
Function
TestReopenDependencyPrecedesCheckpointChecks
(t *testing.T)
internal/store/schedule_reopen_privacy_test.go:60
Function
TestReopenEligibilityOnlyOnReadAndPost
(t *testing.T)
internal/server/schedule_reopen_privacy_test.go:27
Function
TestReopenGraphExclusionAndNoops
(t *testing.T)
internal/store/schedule_reopen_test.go:563
Function
TestReopenHistoryAndConsumption
(t *testing.T)
internal/store/schedule_reopen_test.go:290
Function
TestReopenInvalidationsHTTP
(t *testing.T)
internal/server/schedule_reopen_privacy_test.go:219
Function
TestReopenMilestoneEvidence
(t *testing.T)
internal/store/schedule_reopen_test.go:516
Function
TestReopenPostgresSerializesWriters
Hold the same pin as each writer, then make reopen wait before it can acquire child rows. The writer must still be able to take FOR UPDATE there.
internal/store/schedule_reopen_test.go:360
Function
TestReopenRefusalsAreAtomic
(t *testing.T)
internal/store/schedule_reopen_test.go:196
Function
TestReopenRestoresOnlyOwnedEffects
(t *testing.T)
internal/store/schedule_reopen_test.go:165
Function
TestReopenRestoresResolution
(t *testing.T)
internal/store/schedule_reopen_test.go:43
Function
TestReopenSupersededIDRefused
(t *testing.T)
internal/store/schedule_reopen_privacy_test.go:9
Function
TestReopenSupersededIDRefused
(t *testing.T)
internal/server/schedule_reopen_privacy_test.go:93
Function
TestReopenViewerGetsNoLastResolution
(t *testing.T)
internal/server/schedule_reopen_privacy_test.go:70
Function
TestReorderRefusesACaseVariantRepeat
TestReorderRefusesACaseVariantRepeat is the door the review named: PUT workspaces/reorder decodes into a slice of structs, where encoding/json reads "
internal/server/decode_json_nul_test.go:1565
Function
TestRepairAcceptsTheStoreOverRefusals
TestRepairAcceptsTheStoreOverRefusals covers the values only Layer A refuses. They are outside Corpus because the layers disagree about them, but the
internal/textguard/repair_test.go:50
Function
TestRepairConstantsDidNotDecay
TestRepairConstantsDidNotDecay is the same guard corpus_test.go keeps over NUL and EscNUL, extended to the two this file adds. It compares against va
internal/textguard/repair_test.go:225
Function
TestRepairDeclinesADuplicateMemberBody
TestRepairDeclinesADuplicateMemberBody pins a past finding. The repair decodes into map[string]any, where a repeated member keeps only the LAST value
internal/server/nul_repair_differential_test.go:399
Function
TestRepairExitStatusCountsFailures
TestRepairExitStatusCountsBothFailureBuckets pins the exit code. A repair that leaves data unrepaired and exits 0 is invisible: a script sees success
cmd/pad/cmd_db_nul_test.go:339
Function
TestRepairFlagLeavesALiteralAlone
TestRepairFlagLeavesALiteralAlone is the negative half of the test above, and the reason the repair cannot simply rewrite every `\u0000`-shaped run of
internal/server/nul_repair_differential_test.go:263
← previous
next →
23,501–23,600 of 28,840, ranked by callers