crash

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

Documentation

Overview

Package crash contains local Tast tests that exercise crash reporting of Chrome OS.

Package crash contains RPC wrappers to set up and tear down tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthFailure

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

func DevCoredump

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

func Ephemeral

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

func KernelAth10kError

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

func KernelIwlwifiError

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

func KernelWarning

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

func MountFailure

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

func ReporterCrash

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

func Seccomp

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

Seccomp verifies that a crash report caused by a seccomp violation will contain the policy path.

func SelinuxViolation

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

func Sender

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

func SenderKcrash

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

func SenderLock

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

func SenderLogin

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

func SenderNoConsent

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

func SenderOld

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

func SenderPaused

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

func SenderRateLimit

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

func SenderRetry

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

func Serializer

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

func ServiceFailure

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

func SuspendFailure

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

func Udev

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

func UncleanShutdownCollector

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

func User

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

Types

type FixtureService

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

FixtureService implements tast.cros.crash.FixtureService

func (*FixtureService) DisableCrashFilter

func (c *FixtureService) DisableCrashFilter(ctx context.Context, req *empty.Empty) (*empty.Empty, error)

func (*FixtureService) EnableCrashFilter

func (*FixtureService) RemoveAllFiles

func (*FixtureService) SetConsent

func (*FixtureService) SetUp

func (*FixtureService) TearDown

func (c *FixtureService) TearDown(ctx context.Context, req *empty.Empty) (*empty.Empty, error)

Directories

Path Synopsis
Package crash contains functionality shared by tests that exercise the crash reporter.
Package crash contains functionality shared by tests that exercise the crash reporter.

Jump to

Keyboard shortcuts

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