checkers

package
v0.0.0-...-9474aff Latest Latest
Warning

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

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

Documentation

Overview

Package checkers is a collection of canonical methods to verify test-relevant information about a DUT. It should not modify the DUT state.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Checker

type Checker struct {
	// contains filtered or unexported fields
}

Checker verifies DUT state.

func New

func New(h *firmware.Helper) *Checker

New creates a Checker.

func (*Checker) GBBFlags

func (c *Checker) GBBFlags(ctx context.Context, want *pb.GBBFlagsState) error

GBBFlags checks that the flags on DUT equals the wanted one. You must add `ServiceDeps: []string{"tast.cros.firmware.BiosService"}` to your `testing.Test` to use this.

Jump to

Keyboard shortcuts

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