events_assertions

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertApplicationEvents

func AssertApplicationEvents(
	ch <-chan models.ApplicationEvent,
	events []models.ApplicationEventType,
	t *testing.T,
	timeout time.Duration,
) ([]models.ApplicationEventType, bool)

func AssertApplicationGetsFetched added in v1.3.0

func AssertApplicationGetsFetched(appChan <-chan models.ApplicationEvent, t *testing.T)

func AssertApplicationGetsFetchedWithHotSwap added in v1.3.0

func AssertApplicationGetsFetchedWithHotSwap(appChan <-chan models.ApplicationEvent, t *testing.T)

func AssertApplicationGetsFetchedWithHotSwapAndFailingBuild added in v1.3.0

func AssertApplicationGetsFetchedWithHotSwapAndFailingBuild(appChan <-chan models.ApplicationEvent, t *testing.T)

func AssertApplicationGetsFetchedWithHotSwapAndFailingBuildWith3Retries added in v1.3.0

func AssertApplicationGetsFetchedWithHotSwapAndFailingBuildWith3Retries(appChan <-chan models.ApplicationEvent, t *testing.T)

func AssertApplicationGetsInitializedAndFetched added in v1.3.0

func AssertApplicationGetsInitializedAndFetched(appChan <-chan models.ApplicationEvent, t *testing.T)

func AssertApplicationSessionBuildFails4Times added in v1.3.0

func AssertApplicationSessionBuildFails4Times(appChan <-chan models.ApplicationEvent, t *testing.T)

func AssertApplicationSessionSucceeded added in v1.3.0

func AssertApplicationSessionSucceeded(appChan <-chan models.ApplicationEvent, t *testing.T)

func AssertConcurrentApplicationEvents added in v1.3.0

func AssertConcurrentApplicationEvents(
	ch <-chan models.ApplicationEvent,
	events []models.ApplicationEventType,
	t *testing.T,
	timeout time.Duration,
) ([]models.ApplicationEventType, bool)

func AssertSessionEvents

func AssertSessionEvents(
	ch <-chan models.SessionBuildEvent,
	events []models.SessionEventType,
	t *testing.T,
	timeout time.Duration,
)

func AssertSessionFailsToBuild4Times added in v1.3.0

func AssertSessionFailsToBuild4Times(sessionChan <-chan models.SessionBuildEvent, t *testing.T)

func AssertSessionGetsBuiltAndGetsAvailable added in v1.3.0

func AssertSessionGetsBuiltAndGetsAvailable(sessionChan <-chan models.SessionBuildEvent, t *testing.T)

func ConcurrentlyAssertCleanedAndFailed added in v1.3.0

func ConcurrentlyAssertCleanedAndFailed(appChan <-chan models.ApplicationEvent, t *testing.T) ([]models.ApplicationEventType, bool)

func ConcurrentlyAssertCleanedFailedAndCleaned added in v1.3.0

func ConcurrentlyAssertCleanedFailedAndCleaned(appChan <-chan models.ApplicationEvent, t *testing.T) ([]models.ApplicationEventType, bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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