MCPcopy Create free account

hub / github.com/PerpetualSoftware/pad / functions

Functions28,840 in github.com/PerpetualSoftware/pad

FunctionTestRenderAttachmentMissing_EscapesUuid
(t *testing.T)
internal/server/render/attachments_test.go:233
FunctionTestRenderAttachment_ParityWithTypeScript
(t *testing.T)
internal/server/render/attachments_test.go:563
FunctionTestRenderCollectionMarkdown_Empty
(t *testing.T)
internal/cli/format_markdown_test.go:188
FunctionTestRenderCollectionMarkdown_TableShape
(t *testing.T)
internal/cli/format_markdown_test.go:196
FunctionTestRenderCommentsMarkdown_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
FunctionTestRenderCommentsMarkdown_Empty
(t *testing.T)
cmd/pad/format_markdown_surfaces_test.go:66
FunctionTestRenderCommentsMarkdown_SanitizesAttribution
The attribution line IS constructed by us, so it gets sanitized.
cmd/pad/format_markdown_surfaces_test.go:45
FunctionTestRenderDepsMarkdown_SanitizesTitles
(t *testing.T)
cmd/pad/format_markdown_surfaces_test.go:94
FunctionTestRenderDepsMarkdown_SectionsAndEmptyState
(t *testing.T)
cmd/pad/format_markdown_surfaces_test.go:74
FunctionTestRenderItemContextMarkdown
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
FunctionTestRenderItemCopyNeedsValue_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
FunctionTestRenderItemCopyNeedsValue_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
FunctionTestRenderItemCopyNeedsValue_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
FunctionTestRenderItemCopyResult
── result rendering ─────────────────────────────────────────────────────
cmd/pad/item_copy_test.go:1633
FunctionTestRenderItemCopyResult_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
FunctionTestRenderItemCopyResult_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
FunctionTestRenderItemCopy_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
FunctionTestRenderItemMarkdown_Empty
(t *testing.T)
internal/cli/format_markdown_test.go:24
FunctionTestRenderItemMarkdown_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
FunctionTestRenderItemMarkdown_EscapesPipesInTitle
(t *testing.T)
internal/cli/format_markdown_test.go:66
FunctionTestRenderItemMarkdown_MarksArchived
(t *testing.T)
internal/cli/format_markdown_test.go:167
FunctionTestRenderItemMarkdown_MissingFieldsRenderDash
(t *testing.T)
internal/cli/format_markdown_test.go:148
FunctionTestRenderItemMarkdown_NoANSIEscapes
(t *testing.T)
internal/cli/format_markdown_test.go:127
FunctionTestRenderItemMarkdown_TableShape
(t *testing.T)
internal/cli/format_markdown_test.go:32
FunctionTestRenderItemTable_Empty
(t *testing.T)
internal/cli/format_test.go:45
FunctionTestRenderItemTable_MarksLeasedRows
(t *testing.T)
internal/cli/format_lease_test.go:71
FunctionTestRenderItemTable_NeverTruncatesRef
(t *testing.T)
internal/cli/format_test.go:81
FunctionTestRenderItemTable_StatusAndPriorityFromFields
(t *testing.T)
internal/cli/format_test.go:127
FunctionTestRenderItemTable_StripsANSIFromTitle
(t *testing.T)
internal/cli/format_test.go:99
FunctionTestRenderItemTable_TruncatesTitleWithinBudget
(t *testing.T)
internal/cli/format_test.go:53
FunctionTestRenderItemsGroupedByCollectionMarkdown_Empty
(t *testing.T)
cmd/pad/format_markdown_list_test.go:107
FunctionTestRenderItemsGroupedByCollectionMarkdown_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
FunctionTestRenderItemsGroupedByCollectionMarkdown_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
FunctionTestRenderItemsGroupedByCollectionMarkdown_StripsANSIFromHeading
(t *testing.T)
cmd/pad/format_markdown_list_test.go:91
FunctionTestRenderMarkdownTable_EscapesCells
(t *testing.T)
internal/cli/format_markdown_table_test.go:25
FunctionTestRenderMarkdownTable_NoHeadersWritesNothing
(t *testing.T)
internal/cli/format_markdown_table_test.go:69
FunctionTestRenderMarkdownTable_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
FunctionTestRenderMarkdownTable_Shape
(t *testing.T)
internal/cli/format_markdown_table_test.go:9
FunctionTestRenderMarkdown_AlternationAsEnum
(t *testing.T)
internal/cmdhelp/md_test.go:142
FunctionTestRenderMarkdown_DeterministicCommandOrder
(t *testing.T)
internal/cmdhelp/md_test.go:204
FunctionTestRenderMarkdown_EscapesPipeInTableCell
(t *testing.T)
internal/cmdhelp/md_test.go:325
FunctionTestRenderMarkdown_ExamplesAsFencedBash
(t *testing.T)
internal/cmdhelp/md_test.go:172
FunctionTestRenderMarkdown_Frontmatter
(t *testing.T)
internal/cmdhelp/md_test.go:37
FunctionTestRenderMarkdown_FrontmatterTimestampOverridable
(t *testing.T)
internal/cmdhelp/md_test.go:63
FunctionTestRenderMarkdown_GlobalFlagsTopLevelOnly
(t *testing.T)
internal/cmdhelp/md_test.go:151
FunctionTestRenderMarkdown_HiddenItemsExcluded
(t *testing.T)
internal/cmdhelp/md_test.go:194
FunctionTestRenderMarkdown_OutputAndExitCodesSections
(t *testing.T)
internal/cmdhelp/md_test.go:242
FunctionTestRenderMarkdown_SectionOrder
(t *testing.T)
internal/cmdhelp/md_test.go:74
FunctionTestRenderMarkdown_SeeAlso
(t *testing.T)
internal/cmdhelp/md_test.go:301
FunctionTestRenderMarkdown_StdinSection
(t *testing.T)
internal/cmdhelp/md_test.go:214
FunctionTestRenderMarkdown_SynopsisIncludesArgsAndFlagsHint
(t *testing.T)
internal/cmdhelp/md_test.go:116
FunctionTestRenderMarkdown_VariadicSynopsis
(t *testing.T)
internal/cmdhelp/md_test.go:134
FunctionTestRenderMarkdown_WorkspaceContextSection
(t *testing.T)
internal/cmdhelp/md_test.go:280
FunctionTestRenderRelationValue
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
FunctionTestRenegotiateAtomicAfterMissAndChange
(t *testing.T)
internal/store/commitment_renegotiate_test.go:296
FunctionTestRenegotiateDeadlineWritesOverrideAndJournalsMoveUserReason
(t *testing.T)
internal/store/commitment_c1_test.go:211
FunctionTestRenegotiateEndedScheduleRefusal
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
FunctionTestRenegotiateJournalCarriesOldAndNewDeadline
(t *testing.T)
internal/store/commitment_c1_test.go:540
FunctionTestRenegotiateMissFirstAndTickDedupe
(t *testing.T)
internal/store/commitment_renegotiate_test.go:228
FunctionTestRenegotiateOnConvertedRowKeepsLaterMissesRecorded
(t *testing.T)
internal/store/commitment_c1_test.go:275
FunctionTestRenegotiateRangeUsesStoredInstant
(t *testing.T)
internal/store/commitment_c1_test.go:568
FunctionTestRenegotiateRefusesEndedSchedule
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
FunctionTestRenegotiateRefusesRowWithoutNativeDeadline
(t *testing.T)
internal/store/commitment_c1_test.go:260
FunctionTestRenegotiateRemovalPreservesResolvedMovedDeadlineOverride
(t *testing.T)
internal/store/commitment_renegotiate_test.go:445
FunctionTestRenegotiateRequiresReason
(t *testing.T)
internal/store/commitment_c1_test.go:243
FunctionTestRenegotiateSeriesCasesAndPastUntouched
(t *testing.T)
internal/store/commitment_renegotiate_test.go:118
FunctionTestRenegotiateSeriesConvertedRowLaterMiss
(t *testing.T)
internal/store/commitment_renegotiate_test.go:424
FunctionTestRenegotiateSeriesKeepsExplicitOverrideAndRemovalClearsIt
(t *testing.T)
internal/store/commitment_renegotiate_test.go:207
FunctionTestRenegotiateSeriesRefusesNewPastDeadline
(t *testing.T)
internal/store/commitment_renegotiate_test.go:478
FunctionTestRenegotiateSkipsTerminalMiss
(t *testing.T)
internal/store/commitment_renegotiate_test.go:282
FunctionTestRenegotiateStaleRevisionAndRequired
(t *testing.T)
internal/store/commitment_renegotiate_test.go:330
FunctionTestRenegotiateUntilRange
(t *testing.T)
internal/store/commitment_c1_test.go:557
FunctionTestRenewSessionExtendsWhenStale
(t *testing.T)
internal/store/sessions_test.go:344
FunctionTestRenewSessionLegacyZeroTTLNotRenewed
(t *testing.T)
internal/store/sessions_test.go:422
FunctionTestRenewSessionRespectsMaxLifetime
(t *testing.T)
internal/store/sessions_test.go:394
FunctionTestRenewSessionSkipsWhenFresh
(t *testing.T)
internal/store/sessions_test.go:374
FunctionTestReopenConcurrentDoubleReopen
(t *testing.T)
internal/store/schedule_reopen_test.go:321
FunctionTestReopenDateDeadlineAndRecipient
(t *testing.T)
internal/store/schedule_reopen_test.go:625
FunctionTestReopenDeadlineAndUnsupportedHistory
(t *testing.T)
internal/store/schedule_reopen_test.go:439
FunctionTestReopenDeletedCommentOmitted
(t *testing.T)
internal/store/schedule_reopen_privacy_test.go:31
FunctionTestReopenDependencyBodyConstant
(t *testing.T)
internal/server/schedule_reopen_privacy_test.go:111
FunctionTestReopenDependencyPrecedesCheckpointChecks
(t *testing.T)
internal/store/schedule_reopen_privacy_test.go:60
FunctionTestReopenEligibilityOnlyOnReadAndPost
(t *testing.T)
internal/server/schedule_reopen_privacy_test.go:27
FunctionTestReopenGraphExclusionAndNoops
(t *testing.T)
internal/store/schedule_reopen_test.go:563
FunctionTestReopenHistoryAndConsumption
(t *testing.T)
internal/store/schedule_reopen_test.go:290
FunctionTestReopenInvalidationsHTTP
(t *testing.T)
internal/server/schedule_reopen_privacy_test.go:219
FunctionTestReopenMilestoneEvidence
(t *testing.T)
internal/store/schedule_reopen_test.go:516
FunctionTestReopenPostgresSerializesWriters
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
FunctionTestReopenRefusalsAreAtomic
(t *testing.T)
internal/store/schedule_reopen_test.go:196
FunctionTestReopenRestoresOnlyOwnedEffects
(t *testing.T)
internal/store/schedule_reopen_test.go:165
FunctionTestReopenRestoresResolution
(t *testing.T)
internal/store/schedule_reopen_test.go:43
FunctionTestReopenSupersededIDRefused
(t *testing.T)
internal/store/schedule_reopen_privacy_test.go:9
FunctionTestReopenSupersededIDRefused
(t *testing.T)
internal/server/schedule_reopen_privacy_test.go:93
FunctionTestReopenViewerGetsNoLastResolution
(t *testing.T)
internal/server/schedule_reopen_privacy_test.go:70
FunctionTestReorderRefusesACaseVariantRepeat
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
FunctionTestRepairAcceptsTheStoreOverRefusals
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
FunctionTestRepairConstantsDidNotDecay
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
FunctionTestRepairDeclinesADuplicateMemberBody
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
FunctionTestRepairExitStatusCountsFailures
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
FunctionTestRepairFlagLeavesALiteralAlone
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
← previousnext →23,501–23,600 of 28,840, ranked by callers