test

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertErrorContains

func AssertErrorContains(t *testing.T, haystack error, needle string)

Types

type Log

type Log struct {
	T *testing.T
	// contains filtered or unexported fields
}

func (*Log) AssertMessage

func (c *Log) AssertMessage(msg string)

AssertMessage checks if message has been logged

func (*Log) Debug

func (c *Log) Debug(args ...interface{})

func (*Log) Debugf

func (c *Log) Debugf(format string, args ...interface{})

func (*Log) Error

func (c *Log) Error(args ...interface{})

func (*Log) ErrorWriter

func (c *Log) ErrorWriter() io.Writer

func (*Log) Errorf

func (c *Log) Errorf(format string, args ...interface{})

func (*Log) Format

func (c *Log) Format(format string, args ...interface{}) string

func (*Log) Info

func (c *Log) Info(args ...interface{})

func (*Log) Infof

func (c *Log) Infof(format string, args ...interface{})

func (*Log) Log

func (c *Log) Log(args ...interface{})

func (*Log) Logf

func (c *Log) Logf(format string, args ...interface{})

func (*Log) SubLogger

func (c *Log) SubLogger() sdk.Logger

func (*Log) Success

func (c *Log) Success(args ...interface{})

func (*Log) Successf

func (c *Log) Successf(format string, args ...interface{})

func (*Log) Warn

func (c *Log) Warn(args ...interface{})

func (*Log) Warnf

func (c *Log) Warnf(format string, args ...interface{})

func (*Log) Write

func (c *Log) Write(data []byte) (int, error)

Jump to

Keyboard shortcuts

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