metric1logtests

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: 9 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) metric1log.Logger)

Types

type TestCase

type TestCase struct {
	Name         string
	MetricName   string
	MetricType   string
	Tags         map[string]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() []metric1log.Param

Jump to

Keyboard shortcuts

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