builtin

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: May 1, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FixtureDetails = &base.ScenarioDetails{
	Fixture: (*Fixture)(nil),

	ExpectedMethods: []*ifacereader.Method{
		{
			Name: "Bool",
			Inputs: []*ifacereader.Tuple{
				{VariableName: "a", Type: "bool"},
			},
			Outputs: []*ifacereader.Tuple{
				{VariableName: "", Type: "bool"},
			},
		},
		{
			Name: "String",
			Inputs: []*ifacereader.Tuple{
				{VariableName: "a", Type: "string"},
			},
			Outputs: []*ifacereader.Tuple{
				{VariableName: "", Type: "string"},
			},
		},
		{
			Name: "Int",
			Inputs: []*ifacereader.Tuple{
				{VariableName: "a", Type: "int"},
			},
			Outputs: []*ifacereader.Tuple{
				{VariableName: "", Type: "int"},
			},
		},
		{
			Name: "Float64",
			Inputs: []*ifacereader.Tuple{
				{VariableName: "a", Type: "float64"},
			},
			Outputs: []*ifacereader.Tuple{
				{VariableName: "", Type: "float64"},
			},
		},

		{
			Name: "EmptyInterface",
			Inputs: []*ifacereader.Tuple{
				{VariableName: "a", Type: "interface{}"},
			},
			Outputs: []*ifacereader.Tuple{
				{VariableName: "", Type: "interface{}"},
			},
		},
	},
}

Functions

This section is empty.

Types

type Fixture

type Fixture interface {
	Bool(a bool) bool
	String(a string) string
	Int(a int) int
	Float64(a float64) float64

	EmptyInterface(a interface{}) interface{}
}

Jump to

Keyboard shortcuts

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