testifaces

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 15, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EncDec

type EncDec bool

func (*EncDec) Decode

func (ed *EncDec) Decode(src []byte) ([]byte, error)

func (EncDec) Encode

func (ed EncDec) Encode(dest []byte) []byte

func (EncDec) Len

func (ed EncDec) Len() int

type EncoderDecoder

type EncoderDecoder interface {
	Fixeds(a bool, b int32, c uint16, d float64, e [12]byte) error
	Vars(a string, b []byte, c intypes.VI16, d intypes.VI32, e EncDec) error
}

type Interface1

type Interface1 interface {
	MissingParameterName(string) error
}

type Interface2

type Interface2 interface {
	InvalidParameterName1(err string) error
}

type Interface3

type Interface3 interface {
	InvalidParameterName2(testId string) error
}

type Interface4

type Interface4 interface {
	MissingReturnValue()
}

type Interface5

type Interface5 interface {
	ExcessiveReturnValues() (int, error)
}

type Interface6

type Interface6 interface {
	InvalidReturnValueType() int
}

type Interface7

type Interface7 interface {
	NamedReturnValuesAreProhibited() (err error)
}

type Interface8

type Interface8 interface {
	NonNamedReturn() interface{ Error() string }
}

type Interface9

type Interface9 interface {
	Ok(res []byte) error
	Fail(res []byte) error
}

Jump to

Keyboard shortcuts

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