Documentation
¶
Index ¶
- func AssertChangeSetHasAliasForResourcePath(t testing.TB, cs *history.ChangeSet, resourcePath resourcepath.ResourcePath, ...)
- func AssertChangeSetHasCountOfRevisionsForResourcePath(t testing.TB, cs *history.ChangeSet, resourcePath resourcepath.ResourcePath, ...)
- func AssertChangeSetHasEventForResourcePath(t testing.TB, cs *history.ChangeSet, resourcePath resourcepath.ResourcePath)
- func AssertChangeSetHasLogSeverity(t testing.TB, cs *history.ChangeSet, wantSeverity enum.Severity)
- func AssertChangeSetHasLogSummary(t testing.TB, cs *history.ChangeSet, wantSummary string)
- func AssertChangeSetHasRevisionForResourcePath(t testing.TB, cs *history.ChangeSet, resourcePath resourcepath.ResourcePath, ...)
- func AssertChangeSetHasRevisionMatchingBodyGoldensForResourcePath(t testing.TB, cs *history.ChangeSet, resourcePath resourcepath.ResourcePath, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertChangeSetHasAliasForResourcePath ¶
func AssertChangeSetHasAliasForResourcePath(t testing.TB, cs *history.ChangeSet, resourcePath resourcepath.ResourcePath, aliasTarget resourcepath.ResourcePath)
AssertChangeSetHasAliasForResourcePath asserts that the ChangeSet contains the expected alias for the given resource path.
func AssertChangeSetHasCountOfRevisionsForResourcePath ¶
func AssertChangeSetHasCountOfRevisionsForResourcePath(t testing.TB, cs *history.ChangeSet, resourcePath resourcepath.ResourcePath, count int)
AssertChangeSetHasCountOfRevisionsForResourcePath asserts that the ChangeSet contains the expected number of revisions for the given resource path.
func AssertChangeSetHasEventForResourcePath ¶
func AssertChangeSetHasEventForResourcePath(t testing.TB, cs *history.ChangeSet, resourcePath resourcepath.ResourcePath)
AssertChangeSetHasEventForResourcePath asserts that the ChangeSet contains an event for the given resource path.
func AssertChangeSetHasLogSeverity ¶
AssertChangeSetHasLogSeverity asserts that the ChangeSet's LogSeverity matches the expected value.
func AssertChangeSetHasLogSummary ¶
AssertChangeSetHasLogSummary asserts that the ChangeSet's LogSummary matches the expected value.
func AssertChangeSetHasRevisionForResourcePath ¶
func AssertChangeSetHasRevisionForResourcePath(t testing.TB, cs *history.ChangeSet, resourcePath resourcepath.ResourcePath, revision *history.StagingResourceRevision, opts ...cmp.Option)
AssertChangeSetHasRevisionForResourcePath asserts that the ChangeSet contains the expected revision for the given resource path.
func AssertChangeSetHasRevisionMatchingBodyGoldensForResourcePath ¶
func AssertChangeSetHasRevisionMatchingBodyGoldensForResourcePath(t testing.TB, cs *history.ChangeSet, resourcePath resourcepath.ResourcePath, validationTargetName string)
AssertChangeSetHasRevisionMatchingBodyGoldensForResourcePath asserts that the ChangeSet contains revisions whose bodies match the golden file for the given resource path. The `validationTargetName` is used as the suffix of golden file name.
Types ¶
This section is empty.