testutil

package
v0.1.38 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

* @Author: Daniel TAN * @Description: * @Date: 2021-03-03 15:46:55 * @LastEditTime: 2021-06-28 19:22:28 * @LastEditors: Daniel TAN * @FilePath: /tcs/Users/01444547/IdeaProjects/trinitygo/testutil/util.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PlayTest

type PlayTest interface {
	Match(args ...interface{})
}

PlayTest interface for play test

func Play

func Play(t *testing.T, impl interface{}, funcName string, args ...interface{}) PlayTest

Play play func for impl not support unexported func

func PlayUnexported added in v0.0.44

func PlayUnexported(t *testing.T, args ...interface{}) PlayTest

PlayUnexported play func for impl for un exported func

Jump to

Keyboard shortcuts

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