suite

package
v2.0.8 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2023 License: BSD-2-Clause Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Operation

type Operation struct {
	Name     string
	Request  func(*testing.T) *http.Request
	Response func(*testing.T) *http.Response
}

func (*Operation) TestMethodName

func (o *Operation) TestMethodName() string

func (*Operation) UnmarshalJSON

func (o *Operation) UnmarshalJSON(data []byte) error

type TestManifest

type TestManifest struct {
	JsonTestData []struct {
		Data string `json:"data"`
	} `json:"jsonTestData"`
	SchemaTestData []struct {
		Schema string `json:"schema"`
		Data   string `json:"data"`
	} `json:"schemaTestData"`
	WireProtocolTestData []WireProtocolTestData `json:"wireProtocolTestData"`
}

func ReadTestManifest

func ReadTestManifest() *TestManifest

type WireProtocolTestData

type WireProtocolTestData struct {
	Name        string
	PackagePath string
	Operations  []*Operation
}

func (*WireProtocolTestData) UnmarshalJSON

func (d *WireProtocolTestData) UnmarshalJSON(data []byte) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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