enterprise

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

Documentation

Overview

Package enterprise contains local Tast tests which test enterprise-oriented features.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ARCInstallLogging

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

ARCInstallLogging runs the install event logging test: - login with managed account, - check that ARC is launched by user policy, - check ArcEnabled is true and test app is set to force-installed by policy, - check that the test app is installed, - upload a log from the test app to test server for comparison, - check that app installation log is uploaded from Chrome.

func ARCProvisioning

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

ARCProvisioning runs the provisioning smoke test: - login with managed account, - check that ARC is launched by user policy, - check that chrome://policy page shows ArcEnabled and ArcPolicy force-installed apps list, - check that force-installed by policy Android packages are installed, - check that force-installed Android packages cannot be uninstalled.

Types

type ArcSnapshotService

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

ArcSnapshotService implements tast.cros.enterprise.ArcSnapshotService.

func (*ArcSnapshotService) Enroll

func (service *ArcSnapshotService) Enroll(ctx context.Context, req *pb.EnrollRequest) (_ *empty.Empty, retErr error)

Enroll the device with the provided account credentials.

func (*ArcSnapshotService) WaitForPackagesInMgs

func (service *ArcSnapshotService) WaitForPackagesInMgs(origCtx context.Context, req *pb.WaitForPackagesInMgsRequest) (res *pb.WaitForPackagesInMgsResponse, retErr error)

WaitForPackagesInMgs waits for the list of packages being installed in MGS and returns the perf data. If service.cr is not null (the first call after Enroll()), the related user policy values are checked and service.cr is disconnected.

func (*ArcSnapshotService) WaitForSnapshot

func (service *ArcSnapshotService) WaitForSnapshot(ctx context.Context, req *pb.WaitForSnapshotRequest) (_ *empty.Empty, retErr error)

WaitForSnapshot waits for snapshot folders being created.

Directories

Path Synopsis
Package arcent provides enterprise test related ARC utilities.
Package arcent provides enterprise test related ARC utilities.

Jump to

Keyboard shortcuts

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