test

package
v5.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 19, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertOutcomes

func AssertOutcomes(t *testing.T, got []finding.Finding, want []finding.Outcome)

AssertOutcomes compares finding outcomes against expected outcomes.

Types

type TestData

type TestData struct {
	Name     string
	Err      error
	Raw      *checker.RawResults
	Outcomes []finding.Outcome
}

Tests for permissions-probes.

func GetTests

func GetTests(locationType checker.PermissionLocation,
	permissionType checker.PermissionLevel,
	tokenName string,
) []TestData

Jump to

Keyboard shortcuts

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