mocks

package
v0.0.0-...-019737a Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPRepoHelper

type HTTPRepoHelper struct {
	mock.Mock
}

HTTPRepoHelper is an autogenerated mock type for the HTTPRepoHelper type

func (*HTTPRepoHelper) TestHttpResponse

func (_m *HTTPRepoHelper) TestHttpResponse(t *testing.T, r *gin.Engine, req *http.Request, f func(*httptest.ResponseRecorder) (bool, error)) error

TestHttpResponse provides a mock function with given fields: t, r, req, f

func (*HTTPRepoHelper) TestHttpResponseManual

func (_m *HTTPRepoHelper) TestHttpResponseManual(r http.Handler, method string, path string) *httptest.ResponseRecorder

TestHttpResponseManual provides a mock function with given fields: r, method, path

Jump to

Keyboard shortcuts

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