Documentation ¶
Overview ¶
Package contexttest builds a test context.Context.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Context ¶
Context returns a Context that may be used in tests. Uses ptrace as the platform.Platform.
func RootContext ¶
RootContext returns a Context that may be used in tests that need root credentials. Uses ptrace as the platform.Platform.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.