testutils

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2020 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderCallArgsPerLineToString

func RenderCallArgsPerLineToString(t *testing.T, args []jen.Code) string

func RenderCallArgsToString

func RenderCallArgsToString(t *testing.T, args []jen.Code) string

func RenderFileToString

func RenderFileToString(t *testing.T, f *jen.File) string

func RenderFunctionBodyToString

func RenderFunctionBodyToString(t *testing.T, vars []jen.Code) string

func RenderFunctionParamsToString

func RenderFunctionParamsToString(t *testing.T, params []jen.Code) string

func RenderIndependentStatementToString

func RenderIndependentStatementToString(t *testing.T, result jen.Code) string

func RenderInterfaceMethodsToString

func RenderInterfaceMethodsToString(t *testing.T, methods ...jen.Code) string

func RenderMapEntriesWithStringKeysToString

func RenderMapEntriesWithStringKeysToString(t *testing.T, values []jen.Code) string

func RenderOuterStatementToString

func RenderOuterStatementToString(t *testing.T, code ...jen.Code) string

func RenderStructFieldsToString

func RenderStructFieldsToString(t *testing.T, fields ...jen.Code) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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