crostini

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppAndroidStudio

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

func AppEclipse

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

func AppEmacs

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

func AppGedit

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

func AppGeditFilesharing

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

func AppGeditInstallUninstall

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

func AppGeditUnshareFolder

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

func AppVscode

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

func AudioBasic

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

func AudioPlaybackConfigurations

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

AudioPlaybackConfigurations tests audio playback with varies channel count and sample rate.

func BackupRestore

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

func Basic

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

func CPUPerf

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

func CheckUsers

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

func CheckValidUsers

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

func CommandCd

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

func CommandPs

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

func CommandVim

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

func CopyFilesToLinuxFiles

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

func CopyPaste

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

func CrashReporter

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

func DebianUpgradeAlert

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

func DiskIOPerf

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

DiskIOPerf runs disk IO performance tests by running the tool "fio".

func DisplayDensity

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

func DragDrop

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

func FilesAppWatch

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

func FsCorruption

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

FsCorruption sets up the VM and then introduces corruption into its disk to check that this is detected correctly.

func GPUEnabled

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

func HomeDirectoryCreateFile

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

func HomeDirectoryDeleteFile

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

func HomeDirectoryRenameFile

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

func IconAndUsername

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

func InputLatency

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

InputLatency measures input latency to Crostini container. In the container side, it launches a xterm running a python script to wait for a key stroke. However, host clock and guest clock is not synced so we can't simply subtract the timestamps of key press event on host and key received event on guest. Instead, we launch a socket server in the guest VM. When a key arrives at the guest, the socket server sends a response back to host. We then subtract the timestamp host receives the response by (RTT time)/2 as an estimation to key arrival time on guest.

func LaunchBrowser

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

func LaunchTerminal

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

func Launcher

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

func MousePerf

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

func NestedVM

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

func NetworkPerf

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

func NoAccessToDownloads

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

func NoAccessToDrive

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

func NoSharedFolder

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

func Notify

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

func OOMEvent

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

OOMEvent sets up the VM and then runs a process which will be killed via the kernels OOM killer to check that it is detected correctly.

func OpenWithTerminal

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

func PackageInfo

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

func PackageInstallUninstall

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

func PulseAudioBasic

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

func RemoveCancel

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

func RemoveOk

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

func ResizeBackupRestore

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

func ResizeCancel

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

func ResizeInstallation

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

func ResizeOk

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

func ResizeRestart

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

func ResizeSpaceConstrained

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

func Restart

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

func RestartApp

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

func RestartIcon

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

func RunWithARC

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

func SSHFSMount

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

func SecureCopyPaste

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

func ShareDownloads

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

func ShareDownloadsAddFiles

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

func ShareDrive

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

func ShareFilesCancel

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

func ShareFilesManage

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

func ShareFilesOK

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

func ShareFilesRestart

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

func ShareFilesToast

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

func ShareFolderZipFile

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

func ShareFolders

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

func ShareInvalidPaths

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

func ShareMovies

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

func SharedFontFiles

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

func StartupPerf

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

func SyncTime

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

func TaskManager

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

func Toolkit

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

func TwoUsersInstall

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

func UninstallInvalidApp

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

func VerifyAppWayland

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

func VerifyAppX11

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

func VimCompile

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

VimCompile downloads the VM image from the staging bucket, i.e. it emulates the setup-flow that a user has. It compiles vim multiple times and captures the average amount of time taken to compile it.

func VmcExtraDisk

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

func VmcStart

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

func Webserver

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

func Xattrs

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

Types

This section is empty.

Source Files

Directories

Path Synopsis
Package cleanupfolder provides funcs to cleanup folders in ChromeOS.
Package cleanupfolder provides funcs to cleanup folders in ChromeOS.
Package listset provides operations on lists to crostini test
Package listset provides operations on lists to crostini test

Jump to

Keyboard shortcuts

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