contexttest

package
v0.0.0-202406181927 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2024 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