wrapgentest

package
v0.0.0-...-dfb24b7 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package wrapgentest is used by the wrapgen test suite to test the package parser. While it is completely possible to generate AST nodes and unit test the parser code it is much easier to define a package and set of elements to be parsed.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExportedInterface

type ExportedInterface interface {
	A()
	B(int, bool) (string, error)
	C(one int, two bool) (string, error)
	D(one ExportedStruct, two *ExportedStruct) error
	E(one func(), two func(int) bool) error
	F(one chan bool, two <-chan bool, three chan<- bool) error
	G(one []string, two [100]string) error
	H(one os.File, two *os.File) error
	I(one os.FileInfo) error
	J(one map[string]string) error
	K(one ...string) error
	L(one interface{}, two struct{}) error
	M(one nethttp.Handler) error
}

type ExportedInterfaceWithEmbedded

type ExportedInterfaceWithEmbedded interface {
	ExportedInterface
}

type ExportedInterfaceWithRemoteEmbedded

type ExportedInterfaceWithRemoteEmbedded interface {
	io.Reader
}

type ExportedStruct

type ExportedStruct struct {
	A string
	B int
	C chan bool
	D []uint64
}

Jump to

Keyboard shortcuts

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