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 ¶
- func AuthFailure(ctx context.Context, s *testing.State)
- func DevCoredump(ctx context.Context, s *testing.State)
- func Ephemeral(ctx context.Context, s *testing.State)
- func KernelAth10kError(ctx context.Context, s *testing.State)
- func KernelIwlwifiError(ctx context.Context, s *testing.State)
- func KernelWarning(ctx context.Context, s *testing.State)
- func MountFailure(ctx context.Context, s *testing.State)
- func ReporterCrash(ctx context.Context, s *testing.State)
- func Seccomp(ctx context.Context, s *testing.State)
- func SelinuxViolation(ctx context.Context, s *testing.State)
- func Sender(ctx context.Context, s *testing.State)
- func SenderKcrash(ctx context.Context, s *testing.State)
- func SenderLock(ctx context.Context, s *testing.State)
- func SenderLogin(ctx context.Context, s *testing.State)
- func SenderNoConsent(ctx context.Context, s *testing.State)
- func SenderOld(ctx context.Context, s *testing.State)
- func SenderPaused(ctx context.Context, s *testing.State)
- func SenderRateLimit(ctx context.Context, s *testing.State)
- func SenderRetry(ctx context.Context, s *testing.State)
- func Serializer(ctx context.Context, s *testing.State)
- func ServiceFailure(ctx context.Context, s *testing.State)
- func SuspendFailure(ctx context.Context, s *testing.State)
- func Udev(ctx context.Context, s *testing.State)
- func UncleanShutdownCollector(ctx context.Context, s *testing.State)
- func User(ctx context.Context, s *testing.State)
- type FixtureService
- func (c *FixtureService) DisableCrashFilter(ctx context.Context, req *empty.Empty) (*empty.Empty, error)
- func (c *FixtureService) EnableCrashFilter(ctx context.Context, req *crash_service.EnableCrashFilterRequest) (*empty.Empty, error)
- func (c *FixtureService) RemoveAllFiles(ctx context.Context, req *crash_service.RemoveAllFilesRequest) (*empty.Empty, error)
- func (c *FixtureService) SetConsent(ctx context.Context, req *crash_service.SetConsentRequest) (*empty.Empty, error)
- func (c *FixtureService) SetUp(ctx context.Context, req *crash_service.SetUpCrashTestRequest) (*empty.Empty, error)
- func (c *FixtureService) TearDown(ctx context.Context, req *empty.Empty) (*empty.Empty, error)
- func (c *FixtureService) WaitForCrashFiles(ctx context.Context, req *crash_service.WaitForCrashFilesRequest) (*crash_service.WaitForCrashFilesResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Seccomp ¶
Seccomp verifies that a crash report caused by a seccomp violation will contain the policy path.
Types ¶
type FixtureService ¶
type FixtureService struct {
// contains filtered or unexported fields
}
FixtureService implements tast.cros.crash.FixtureService
func (*FixtureService) DisableCrashFilter ¶
func (*FixtureService) EnableCrashFilter ¶
func (c *FixtureService) EnableCrashFilter(ctx context.Context, req *crash_service.EnableCrashFilterRequest) (*empty.Empty, error)
func (*FixtureService) RemoveAllFiles ¶
func (c *FixtureService) RemoveAllFiles(ctx context.Context, req *crash_service.RemoveAllFilesRequest) (*empty.Empty, error)
func (*FixtureService) SetConsent ¶
func (c *FixtureService) SetConsent(ctx context.Context, req *crash_service.SetConsentRequest) (*empty.Empty, error)
func (*FixtureService) SetUp ¶
func (c *FixtureService) SetUp(ctx context.Context, req *crash_service.SetUpCrashTestRequest) (*empty.Empty, error)
func (*FixtureService) WaitForCrashFiles ¶
func (c *FixtureService) WaitForCrashFiles(ctx context.Context, req *crash_service.WaitForCrashFilesRequest) (*crash_service.WaitForCrashFilesResponse, error)
Source Files
¶
- auth_failure.go
- dev_coredump.go
- doc.go
- ephemeral.go
- fixture_service.go
- kernel_ath10k_error.go
- kernel_iwlwifi_error.go
- kernel_warning.go
- mount_failure.go
- reporter_crash.go
- seccomp.go
- selinux_violation.go
- sender.go
- sender_kcrash.go
- sender_lock.go
- sender_login.go
- sender_no_consent.go
- sender_old.go
- sender_paused.go
- sender_rate_limit.go
- sender_retry.go
- serializer.go
- service_failure.go
- suspend_failure.go
- udev.go
- unclean_shutdown_collector.go
- user.go
Click to show internal directories.
Click to hide internal directories.