Documentation ¶
Index ¶
- func AssertSinkEqualFile(t *testing.T, fs afero.Fs, filename string, sink core.DataSink)
- func AssertSinkEqualStdStream(t *testing.T, expectedPtr **os.File, getSink func() core.DataSink)
- func AssertSourceEqualFile(t *testing.T, fs afero.Fs, filename string, source core.DataSource)
- func AssertSourceEqualStdStream(t *testing.T, expectedPtr **os.File, getSource func() core.DataSource)
- func DecodeAndValidateT(t *testing.T, data string, result interface{})
- func DecodeT(t *testing.T, data string, result interface{})
- func DrainSchedule(t *testing.T, sched core.Schedule) []time.Time
- func DrainScheduleDuration(t *testing.T, sched core.Schedule, startAt time.Time) []time.Duration
- func ExpectScheduleNexts(t *testing.T, sched core.Schedule, nexts ...time.Duration)
- func ExpectScheduleNextsStartAt(t *testing.T, sched core.Schedule, startAt time.Time, nexts ...time.Duration)
- func ExpectScheduleNextsStartAtT(t *testing.T, sched core.Schedule, startAt time.Time, nexts ...time.Duration)
- func ExpectScheduleNextsT(t *testing.T, sched core.Schedule, nexts ...time.Duration)
- func ParseYAML(t *testing.T, data string) map[string]interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertSinkEqualFile ¶ added in v0.3.0
func AssertSinkEqualStdStream ¶ added in v0.3.0
func AssertSourceEqualFile ¶ added in v0.3.0
func AssertSourceEqualStdStream ¶ added in v0.3.0
func DecodeAndValidateT ¶ added in v0.5.22
func DrainSchedule ¶
DrainSchedule takes all tokens from passed schedule. Returns all tokens and finish time.
func DrainScheduleDuration ¶ added in v0.3.0
DrainSchedule starts schedule and takes all tokens from it. Returns all tokens and finish time relative to start
func ExpectScheduleNexts ¶
func ExpectScheduleNextsStartAt ¶ added in v0.3.0
func ExpectScheduleNextsStartAtT ¶ added in v0.5.22
func ExpectScheduleNextsT ¶ added in v0.5.22
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.