evt2logtests

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JSONTestSuite

func JSONTestSuite(t *testing.T, loggerProvider func(w io.Writer) evt2log.Logger)

Types

type TestCase

type TestCase struct {
	Name         string
	EventName    string
	Values       map[string]interface{}
	UID          string
	SID          string
	TokenID      string
	UnsafeParams map[string]interface{}
	JSONMatcher  objmatcher.MapMatcher
}

func TestCases

func TestCases() []TestCase

func (TestCase) Params

func (tc TestCase) Params() []evt2log.Param

Jump to

Keyboard shortcuts

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