Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResetAfter ¶
func ResetAfter()
ResetAfter is just a test helper to simplify setting the After variable for a specific test and then running this cleanup method when done to return it to its normal state.
func UseNoAfter ¶
func UseNoAfter()
UseNoAfter updates the After method to be a noop for tests. Callers should call ResetAfter() when they are done with their test.
func UseShortAfter ¶
func UseShortAfter()
UseShortAfter updates the After method to expedite sleep times for tests. Callers should call ResetAfter() when they are done with their test.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.