suite

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2022 License: BSD-2-Clause Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manifest

type Manifest 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 ReadManifest

func ReadManifest() *Manifest

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 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