test_util

package
v0.0.0-...-e83a2f5 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(t *testing.T, tests ...Testable)

Types

type After

type After func(t *testing.T, L *lua.LState)

type Before

type Before func(t *testing.T, L *lua.LState, luaCtx *luacontext.Context)

type Test

type Test struct {
	// contains filtered or unexported fields
}

func New

func New(name, script string) *Test

func (*Test) After

func (t *Test) After(after After) *Test

func (*Test) Before

func (t *Test) Before(before Before) *Test

type Testable

type Testable func(*testing.T) *Test

Jump to

Keyboard shortcuts

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