fixture

package
v0.0.0-...-683b059 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2022 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Overview

Package fixture implements fixtures for firmware tests.

Index

Constants

View Source
const (
	NormalMode              = "bootModeNormal"
	DevMode                 = "bootModeDev"
	DevModeGBB              = "bootModeDevGBB"
	USBDevModeNoServices    = "bootModeUSBDevNoServices"
	USBDevModeGBBNoServices = "bootModeUSBDevGBBNoServices"
	RecModeNoServices       = "bootModeRecNoServices"
)

Fixture names for the tests to use.

Variables

This section is empty.

Functions

This section is empty.

Types

type Value

type Value struct {
	BootMode      common.BootMode
	GBBFlags      *pb.GBBFlagsState
	Helper        *firmware.Helper
	ForcesDevMode bool
}

Value contains fields that are useful for tests.

Jump to

Keyboard shortcuts

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