Documentation
¶
Overview ¶
Package jevtest supplies a fake Jev provider for tests. No test reaches a real model.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BlockUntilDone ¶
BlockUntilDone waits for the request's context to end, as an interrupted request does.
Types ¶
type Provider ¶
type Provider struct {
Results []Result
Wait func(context.Context) error
// contains filtered or unexported fields
}
Provider returns its scripted results in order and repeats the last one. Wait, when set, runs before each result and may block until the request's context ends, returning its error.
Click to show internal directories.
Click to hide internal directories.