contexttest

package
v0.0.0-...-9ec6d29 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 License: Apache-2.0, MIT Imports: 6 Imported by: 0

Documentation

Overview

Package contexttest provides a test context.Context which includes a dummy kernel pointing to a valid platform.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Context

func Context(tb testing.TB) context.Context

Context returns a Context that may be used in tests. Uses ptrace as the platform.Platform, and provides a stub kernel that only serves to point to the platform.

Types

This section is empty.

Jump to

Keyboard shortcuts

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