mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-11 19:37:30 -06:00
mess about with media a bit more
This commit is contained in:
parent
6ed16ace85
commit
39aca2025f
14 changed files with 953 additions and 79 deletions
66
internal/db/model/mock_SmallMeta.go
Normal file
66
internal/db/model/mock_SmallMeta.go
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
// Code generated by mockery v2.7.4. DO NOT EDIT.
|
||||
|
||||
package model
|
||||
|
||||
import mock "github.com/stretchr/testify/mock"
|
||||
|
||||
// MockSmallMeta is an autogenerated mock type for the SmallMeta type
|
||||
type MockSmallMeta struct {
|
||||
mock.Mock
|
||||
}
|
||||
|
||||
// GetAspect provides a mock function with given fields:
|
||||
func (_m *MockSmallMeta) GetAspect() float64 {
|
||||
ret := _m.Called()
|
||||
|
||||
var r0 float64
|
||||
if rf, ok := ret.Get(0).(func() float64); ok {
|
||||
r0 = rf()
|
||||
} else {
|
||||
r0 = ret.Get(0).(float64)
|
||||
}
|
||||
|
||||
return r0
|
||||
}
|
||||
|
||||
// GetHeight provides a mock function with given fields:
|
||||
func (_m *MockSmallMeta) GetHeight() int {
|
||||
ret := _m.Called()
|
||||
|
||||
var r0 int
|
||||
if rf, ok := ret.Get(0).(func() int); ok {
|
||||
r0 = rf()
|
||||
} else {
|
||||
r0 = ret.Get(0).(int)
|
||||
}
|
||||
|
||||
return r0
|
||||
}
|
||||
|
||||
// GetSize provides a mock function with given fields:
|
||||
func (_m *MockSmallMeta) GetSize() int {
|
||||
ret := _m.Called()
|
||||
|
||||
var r0 int
|
||||
if rf, ok := ret.Get(0).(func() int); ok {
|
||||
r0 = rf()
|
||||
} else {
|
||||
r0 = ret.Get(0).(int)
|
||||
}
|
||||
|
||||
return r0
|
||||
}
|
||||
|
||||
// GetWidth provides a mock function with given fields:
|
||||
func (_m *MockSmallMeta) GetWidth() int {
|
||||
ret := _m.Called()
|
||||
|
||||
var r0 int
|
||||
if rf, ok := ret.Get(0).(func() int); ok {
|
||||
r0 = rf()
|
||||
} else {
|
||||
r0 = ret.Get(0).(int)
|
||||
}
|
||||
|
||||
return r0
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue