MockLoginSourceFilesStore is a mock implementation of the loginSourceFilesStore interface (from the package gogs.io/gogs/internal/database) used for unit testing.
| 406 | // loginSourceFilesStore interface (from the package |
| 407 | // gogs.io/gogs/internal/database) used for unit testing. |
| 408 | type 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 |
nothing calls this directly
no outgoing calls
no test coverage detected