test

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2022 License: BSD-3-Clause Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Test

type Test struct {

	// settings
	ReportInterval    time.Duration
	MaxRunners        int
	ExitWatchDuration time.Duration

	// data
	TestNode        interfaces.Node
	TestSpider      interfaces.Spider
	TestSpiderLong  interfaces.Spider
	TestTaskMessage entity.TaskMessage
	ScriptNameLong  string
	ScriptLong      string
	// contains filtered or unexported fields
}
var T *Test

func NewTest

func NewTest() (res *Test, err error)

func (*Test) Cleanup

func (t *Test) Cleanup()

func (*Test) NewNode

func (t *Test) NewNode() (n interfaces.Node)

func (*Test) NewTask

func (t *Test) NewTask() (t2 interfaces.Task)

func (*Test) NewTaskLong

func (t *Test) NewTaskLong() (t2 interfaces.Task)

func (*Test) Setup

func (t *Test) Setup(t2 *testing.T)

func (*Test) StartMasterWorker

func (t *Test) StartMasterWorker()

func (*Test) StopMasterWorker

func (t *Test) StopMasterWorker()

Jump to

Keyboard shortcuts

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