Documentation ¶
Overview ¶
Package enterprise contains local Tast tests which test enterprise-oriented features.
Index ¶
- func ARCInstallLogging(ctx context.Context, s *testing.State)
- func ARCProvisioning(ctx context.Context, s *testing.State)
- type ArcSnapshotService
- func (service *ArcSnapshotService) Enroll(ctx context.Context, req *pb.EnrollRequest) (_ *empty.Empty, retErr error)
- func (service *ArcSnapshotService) WaitForPackagesInMgs(origCtx context.Context, req *pb.WaitForPackagesInMgsRequest) (res *pb.WaitForPackagesInMgsResponse, retErr error)
- func (service *ArcSnapshotService) WaitForSnapshot(ctx context.Context, req *pb.WaitForSnapshotRequest) (_ *empty.Empty, retErr error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ARCInstallLogging ¶
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 ¶
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.