continuationtest

package
v1.8.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package continuationtest builds the bounded synthetic rows used by continuation tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExpiredFinish

func ExpiredFinish(t *testing.T, s managedservice.Authority, rows Storage, key managed.AttemptKey, observations []managed.QuiescenceObservation, clock func() time.Time)

ExpiredFinish qualifies first terminal authorization on the seeded combined cutoff/Removed shape, after the original short proofs have actually expired.

func LateGeneration

func LateGeneration(t *testing.T, s Storage, key managed.AttemptKey, target *managed.Target) managed.AttemptKey

LateGeneration seeds only a root/first/current/immediate proof slice. The omitted lifetime ancestry is an inductive fixture premise, not measured history. Generation and pointer revision remain coupled. No live counter is reset later.

func RemovedRevocation

func RemovedRevocation(t *testing.T, s Storage, key managed.AttemptKey, recovery id.ID)

RemovedRevocation retains an integrity-valid cutoff beside a positive Removed settlement. No production operation can currently create this combined shape. The existing accepted recovery receipt supplies the fixture's local event ID.

Types

type Row

type Row struct {
	Kind, Scope, Key string
	Data             []byte
}

Row is one canonical record in the owned fixture.

type Storage

type Storage struct {
	Rows    func() []Row
	Put     func(Row)
	Receipt func(managed.Receipt)
}

Storage supplies only the owned test fixture's rows and local receipts.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL