lacros

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

Documentation

Overview

Package lacros tests lacros-chrome running on ChromeOS.

Package lacros tests lacros-chrome running on ChromeOS.

Package lacros tests lacros-chrome running on ChromeOS.

Package lacros tests lacros-chrome running on ChromeOS.

Package lacros tests lacros-chrome running on ChromeOS.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppLauncherLaunch

func AppLauncherLaunch(ctx context.Context, s *testing.State)

func AudioPinnedStream

func AudioPinnedStream(ctx context.Context, s *testing.State)

func AudioPlay

func AudioPlay(ctx context.Context, s *testing.State)

func AudioRecord

func AudioRecord(ctx context.Context, s *testing.State)

func Basic

func Basic(ctx context.Context, s *testing.State)

func DocsCUJ

func DocsCUJ(ctx context.Context, s *testing.State)

func GpuCUJ

func GpuCUJ(ctx context.Context, s *testing.State)

func JSMicrobench

func JSMicrobench(ctx context.Context, s *testing.State)

func Memory

func Memory(ctx context.Context, s *testing.State)

Memory is a basic test for lacros memory usage. It measures the PMF and PSS overhead for lacros-chrome with a single about:blank tab. It also makes the same measurements for ash-chrome. This estimate is not perfect. For example, this test does not measure the size of the ash-chrome test API extension, but it does include the extension for lacros-chrome. Furthermore, this test does not have fine control over ash-chrome, which may choose to spawn/kill utility or renderer processes for its own purposes. My running the same code 10 times, outliers become obvious.

func Migrate

func Migrate(ctx context.Context, s *testing.State)

func MotionMark

func MotionMark(ctx context.Context, s *testing.State)

func Octane

func Octane(ctx context.Context, s *testing.State)

func PowerVideocall

func PowerVideocall(ctx context.Context, s *testing.State)

func ShelfLaunch

func ShelfLaunch(ctx context.Context, s *testing.State)

func Speedometer

func Speedometer(ctx context.Context, s *testing.State)

func VariationSmoke

func VariationSmoke(ctx context.Context, s *testing.State)

Types

type UpdateTestService

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

UpdateTestService implements tast.cros.lacros.UpdateTestService.

func (*UpdateTestService) ClearUpdate

ClearUpdate removes all provisioned Lacros on a DUT to reset to the previous state between tests.

func (*UpdateTestService) GetBrowserVersion

GetBrowserVersion returns version info of the given browser type. If multiple Lacros browsers are provisioned in the stateful partition, all the versions will be returned.

func (*UpdateTestService) VerifyUpdate

VerifyUpdate checks if the expected version of Lacros is loaded successfully without crash given the browsers provisioned.

Directories

Path Synopsis
Package fixtures holds fixtures for lacros tests.
Package fixtures holds fixtures for lacros tests.
Package gpucuj tests GPU CUJ tests on lacros Chrome and Chrome OS Chrome.
Package gpucuj tests GPU CUJ tests on lacros Chrome and Chrome OS Chrome.

Jump to

Keyboard shortcuts

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