setup

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: 12 Imported by: 0

Documentation

Overview

Package setup implements utils for benchmark testing setup.

Index

Constants

View Source
const (

	// BenchmarkARCFixture is a fixture name that will be registered to tast.
	// The fxture brings up Chrome and ARC with PlayStore.
	BenchmarkARCFixture = "benchmarkARCFixture"
	// BenchmarkChromeFixture is a fixture name that will be registered to tast.
	// It brings up Chrome.
	BenchmarkChromeFixture = "benchmarkChromeFixture"
)

Variables

This section is empty.

Functions

func DismissMobilePrompt

func DismissMobilePrompt(ctx context.Context, tconn *chrome.TestConn) error

DismissMobilePrompt dismisses the prompt of "This app is designed for mobile".

func PublicBenchmarkAllowed

func PublicBenchmarkAllowed() hwdep.Condition

PublicBenchmarkAllowed returns the DUT model dependency of running public benchmark tests. Allowed hardware models will be white listed here.

func SetResizable

func SetResizable(ctx context.Context, tconn *chrome.TestConn) error

SetResizable sets the ARC APP window to be resizable.

Types

This section is empty.

Jump to

Keyboard shortcuts

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