iotex-core: github.com/iotexproject/iotex-core/test/mock/mock_lifecycle Index | Files

package mock_lifecycle

import "github.com/iotexproject/iotex-core/test/mock/mock_lifecycle"

Package mock_lifecycle is a generated GoMock package.

Index

Package Files

mock_lifecycle.go

type MockStartStopper Uses

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

MockStartStopper is a mock of StartStopper interface

func NewMockStartStopper Uses

func NewMockStartStopper(ctrl *gomock.Controller) *MockStartStopper

NewMockStartStopper creates a new mock instance

func (*MockStartStopper) EXPECT Uses

func (m *MockStartStopper) EXPECT() *MockStartStopperMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockStartStopper) Start Uses

func (m *MockStartStopper) Start(arg0 context.Context) error

Start mocks base method

func (*MockStartStopper) Stop Uses

func (m *MockStartStopper) Stop(arg0 context.Context) error

Stop mocks base method

type MockStartStopperMockRecorder Uses

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

MockStartStopperMockRecorder is the mock recorder for MockStartStopper

func (*MockStartStopperMockRecorder) Start Uses

func (mr *MockStartStopperMockRecorder) Start(arg0 interface{}) *gomock.Call

Start indicates an expected call of Start

func (*MockStartStopperMockRecorder) Stop Uses

func (mr *MockStartStopperMockRecorder) Stop(arg0 interface{}) *gomock.Call

Stop indicates an expected call of Stop

Package mock_lifecycle imports 3 packages (graph). Updated 2018-09-05. Refresh now. Tools for package owners.