testchangeset

package
v0.56.0-beta-2 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2026 License: Apache-2.0 Imports: 6 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogChangeSetAsserter added in v0.56.0

type LogChangeSetAsserter struct {
	// contains filtered or unexported fields
}

LogChangeSetAsserter provides fluent, chainable assertions for LogChangeSet.

func AssertLog added in v0.56.0

AssertLog starts a fluent assertion chain for the given LogChangeSet.

func (*LogChangeSetAsserter) HasLogType added in v0.56.0

func (a *LogChangeSetAsserter) HasLogType(want *pb.LogType) *LogChangeSetAsserter

HasLogType asserts that the LogChangeSet has the expected log type.

func (*LogChangeSetAsserter) HasSeverity added in v0.56.0

func (a *LogChangeSetAsserter) HasSeverity(want *pb.Severity) *LogChangeSetAsserter

HasSeverity asserts that the LogChangeSet has the expected severity type.

func (*LogChangeSetAsserter) HasSummary added in v0.56.0

func (a *LogChangeSetAsserter) HasSummary(wantSummary string) *LogChangeSetAsserter

HasSummary asserts that the LogChangeSet has the expected summary.

func (*LogChangeSetAsserter) HasTimestamp added in v0.56.0

func (a *LogChangeSetAsserter) HasTimestamp(want time.Time) *LogChangeSetAsserter

HasTimestamp asserts that the LogChangeSet has the expected timestamp.

type TimelineChangeSetAsserter added in v0.56.0

type TimelineChangeSetAsserter struct {
	// contains filtered or unexported fields
}

TimelineChangeSetAsserter provides fluent, chainable assertions for TimelineChangeSet.

func AssertTimeline added in v0.56.0

AssertTimeline starts a fluent assertion chain for the given TimelineChangeSet.

func (*TimelineChangeSetAsserter) HasAlias added in v0.56.0

func (a *TimelineChangeSetAsserter) HasAlias(wantAliasPath, wantTargetPath *khifilev6.TimelinePath) *TimelineChangeSetAsserter

HasAlias asserts that an alias mapping from the alias path to the target path was staged.

func (*TimelineChangeSetAsserter) HasEvent added in v0.56.0

HasEvent asserts that an event was staged on the expected path.

func (*TimelineChangeSetAsserter) HasNoAlias added in v0.56.0

HasNoAlias asserts that no alias was staged for the given alias path.

func (*TimelineChangeSetAsserter) HasNoEvent added in v0.56.0

HasNoEvent asserts that no event was staged on the path.

func (*TimelineChangeSetAsserter) HasNoRevision added in v0.56.0

HasNoRevision asserts that no revision was staged on the path.

func (*TimelineChangeSetAsserter) HasRevision added in v0.56.0

func (a *TimelineChangeSetAsserter) HasRevision(wantPath *khifilev6.TimelinePath, wantRevision *khifilev6.StagingRevision, cmpOpts ...cmp.Option) *TimelineChangeSetAsserter

HasRevision asserts that a matching StagingRevision was staged on the expected path.

Jump to

Keyboard shortcuts

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