MCPcopy Create free account
hub / github.com/gogs/gogs / MockLoginSourceFilesStore

Struct MockLoginSourceFilesStore

internal/database/mocks_test.go:408–421  ·  view source on GitHub ↗

MockLoginSourceFilesStore is a mock implementation of the loginSourceFilesStore interface (from the package gogs.io/gogs/internal/database) used for unit testing.

Source from the content-addressed store, hash-verified

406// loginSourceFilesStore interface (from the package
407// gogs.io/gogs/internal/database) used for unit testing.
408type MockLoginSourceFilesStore struct {
409 // GetByIDFunc is an instance of a mock function object controlling the
410 // behavior of the method GetByID.
411 GetByIDFunc *LoginSourceFilesStoreGetByIDFunc
412 // LenFunc is an instance of a mock function object controlling the
413 // behavior of the method Len.
414 LenFunc *LoginSourceFilesStoreLenFunc
415 // ListFunc is an instance of a mock function object controlling the
416 // behavior of the method List.
417 ListFunc *LoginSourceFilesStoreListFunc
418 // UpdateFunc is an instance of a mock function object controlling the
419 // behavior of the method Update.
420 UpdateFunc *LoginSourceFilesStoreUpdateFunc
421}
422
423// NewMockLoginSourceFilesStore creates a new mock of the
424// loginSourceFilesStore interface. All methods return zero values for all

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected