mock_article

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mock_article is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockapiClient

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

MockapiClient is a mock of apiClient interface

func NewMockapiClient

func NewMockapiClient(ctrl *gomock.Controller) *MockapiClient

NewMockapiClient creates a new mock instance

func (*MockapiClient) CreateArticle

CreateArticle mocks base method

func (*MockapiClient) EXPECT

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

func (*MockapiClient) GetUserAllArticles

GetUserAllArticles mocks base method

func (*MockapiClient) UpdateArticle

UpdateArticle mocks base method

type MockapiClientMockRecorder

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

MockapiClientMockRecorder is the mock recorder for MockapiClient

func (*MockapiClientMockRecorder) CreateArticle

func (mr *MockapiClientMockRecorder) CreateArticle(arg0, arg1 interface{}) *gomock.Call

CreateArticle indicates an expected call of CreateArticle

func (*MockapiClientMockRecorder) GetUserAllArticles

func (mr *MockapiClientMockRecorder) GetUserAllArticles(arg0, arg1 interface{}) *gomock.Call

GetUserAllArticles indicates an expected call of GetUserAllArticles

func (*MockapiClientMockRecorder) UpdateArticle

func (mr *MockapiClientMockRecorder) UpdateArticle(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateArticle indicates an expected call of UpdateArticle

type Mockconfiger

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

Mockconfiger is a mock of configer interface

func NewMockconfiger

func NewMockconfiger(ctrl *gomock.Controller) *Mockconfiger

NewMockconfiger creates a new mock instance

func (*Mockconfiger) ArticleID

func (m *Mockconfiger) ArticleID() int32

ArticleID mocks base method

func (*Mockconfiger) EXPECT

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

func (m *Mockconfiger) ImageLinks() map[string]string

ImageLinks mocks base method

func (*Mockconfiger) Save

func (m *Mockconfiger) Save() error

Save mocks base method

func (*Mockconfiger) SetArticleID

func (m *Mockconfiger) SetArticleID(arg0 int32)

SetArticleID mocks base method

func (m *Mockconfiger) SetImageLinks(arg0 map[string]string)

SetImageLinks mocks base method

type MockconfigerMockRecorder

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

MockconfigerMockRecorder is the mock recorder for Mockconfiger

func (*MockconfigerMockRecorder) ArticleID

func (mr *MockconfigerMockRecorder) ArticleID() *gomock.Call

ArticleID indicates an expected call of ArticleID

func (mr *MockconfigerMockRecorder) ImageLinks() *gomock.Call

ImageLinks indicates an expected call of ImageLinks

func (*MockconfigerMockRecorder) Save

func (mr *MockconfigerMockRecorder) Save() *gomock.Call

Save indicates an expected call of Save

func (*MockconfigerMockRecorder) SetArticleID

func (mr *MockconfigerMockRecorder) SetArticleID(arg0 interface{}) *gomock.Call

SetArticleID indicates an expected call of SetArticleID

func (mr *MockconfigerMockRecorder) SetImageLinks(arg0 interface{}) *gomock.Call

SetImageLinks indicates an expected call of SetImageLinks

Jump to

Keyboard shortcuts

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