summaryrefslogtreecommitdiff
path: root/raveos-hyprland-theme/theme-data/DankMaterialShell/core/internal/mocks/version
diff options
context:
space:
mode:
Diffstat (limited to 'raveos-hyprland-theme/theme-data/DankMaterialShell/core/internal/mocks/version')
-rw-r--r--raveos-hyprland-theme/theme-data/DankMaterialShell/core/internal/mocks/version/mock_VersionFetcher.go144
1 files changed, 0 insertions, 144 deletions
diff --git a/raveos-hyprland-theme/theme-data/DankMaterialShell/core/internal/mocks/version/mock_VersionFetcher.go b/raveos-hyprland-theme/theme-data/DankMaterialShell/core/internal/mocks/version/mock_VersionFetcher.go
deleted file mode 100644
index a6fa27c..0000000
--- a/raveos-hyprland-theme/theme-data/DankMaterialShell/core/internal/mocks/version/mock_VersionFetcher.go
+++ /dev/null
@@ -1,144 +0,0 @@
-// Code generated by mockery v2.53.5. DO NOT EDIT.
-
-package mocks_version
-
-import mock "github.com/stretchr/testify/mock"
-
-// MockVersionFetcher is an autogenerated mock type for the VersionFetcher type
-type MockVersionFetcher struct {
- mock.Mock
-}
-
-type MockVersionFetcher_Expecter struct {
- mock *mock.Mock
-}
-
-func (_m *MockVersionFetcher) EXPECT() *MockVersionFetcher_Expecter {
- return &MockVersionFetcher_Expecter{mock: &_m.Mock}
-}
-
-// GetCurrentVersion provides a mock function with given fields: dmsPath
-func (_m *MockVersionFetcher) GetCurrentVersion(dmsPath string) (string, error) {
- ret := _m.Called(dmsPath)
-
- if len(ret) == 0 {
- panic("no return value specified for GetCurrentVersion")
- }
-
- var r0 string
- var r1 error
- if rf, ok := ret.Get(0).(func(string) (string, error)); ok {
- return rf(dmsPath)
- }
- if rf, ok := ret.Get(0).(func(string) string); ok {
- r0 = rf(dmsPath)
- } else {
- r0 = ret.Get(0).(string)
- }
-
- if rf, ok := ret.Get(1).(func(string) error); ok {
- r1 = rf(dmsPath)
- } else {
- r1 = ret.Error(1)
- }
-
- return r0, r1
-}
-
-// MockVersionFetcher_GetCurrentVersion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCurrentVersion'
-type MockVersionFetcher_GetCurrentVersion_Call struct {
- *mock.Call
-}
-
-// GetCurrentVersion is a helper method to define mock.On call
-// - dmsPath string
-func (_e *MockVersionFetcher_Expecter) GetCurrentVersion(dmsPath interface{}) *MockVersionFetcher_GetCurrentVersion_Call {
- return &MockVersionFetcher_GetCurrentVersion_Call{Call: _e.mock.On("GetCurrentVersion", dmsPath)}
-}
-
-func (_c *MockVersionFetcher_GetCurrentVersion_Call) Run(run func(dmsPath string)) *MockVersionFetcher_GetCurrentVersion_Call {
- _c.Call.Run(func(args mock.Arguments) {
- run(args[0].(string))
- })
- return _c
-}
-
-func (_c *MockVersionFetcher_GetCurrentVersion_Call) Return(_a0 string, _a1 error) *MockVersionFetcher_GetCurrentVersion_Call {
- _c.Call.Return(_a0, _a1)
- return _c
-}
-
-func (_c *MockVersionFetcher_GetCurrentVersion_Call) RunAndReturn(run func(string) (string, error)) *MockVersionFetcher_GetCurrentVersion_Call {
- _c.Call.Return(run)
- return _c
-}
-
-// GetLatestVersion provides a mock function with given fields: dmsPath
-func (_m *MockVersionFetcher) GetLatestVersion(dmsPath string) (string, error) {
- ret := _m.Called(dmsPath)
-
- if len(ret) == 0 {
- panic("no return value specified for GetLatestVersion")
- }
-
- var r0 string
- var r1 error
- if rf, ok := ret.Get(0).(func(string) (string, error)); ok {
- return rf(dmsPath)
- }
- if rf, ok := ret.Get(0).(func(string) string); ok {
- r0 = rf(dmsPath)
- } else {
- r0 = ret.Get(0).(string)
- }
-
- if rf, ok := ret.Get(1).(func(string) error); ok {
- r1 = rf(dmsPath)
- } else {
- r1 = ret.Error(1)
- }
-
- return r0, r1
-}
-
-// MockVersionFetcher_GetLatestVersion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLatestVersion'
-type MockVersionFetcher_GetLatestVersion_Call struct {
- *mock.Call
-}
-
-// GetLatestVersion is a helper method to define mock.On call
-// - dmsPath string
-func (_e *MockVersionFetcher_Expecter) GetLatestVersion(dmsPath interface{}) *MockVersionFetcher_GetLatestVersion_Call {
- return &MockVersionFetcher_GetLatestVersion_Call{Call: _e.mock.On("GetLatestVersion", dmsPath)}
-}
-
-func (_c *MockVersionFetcher_GetLatestVersion_Call) Run(run func(dmsPath string)) *MockVersionFetcher_GetLatestVersion_Call {
- _c.Call.Run(func(args mock.Arguments) {
- run(args[0].(string))
- })
- return _c
-}
-
-func (_c *MockVersionFetcher_GetLatestVersion_Call) Return(_a0 string, _a1 error) *MockVersionFetcher_GetLatestVersion_Call {
- _c.Call.Return(_a0, _a1)
- return _c
-}
-
-func (_c *MockVersionFetcher_GetLatestVersion_Call) RunAndReturn(run func(string) (string, error)) *MockVersionFetcher_GetLatestVersion_Call {
- _c.Call.Return(run)
- return _c
-}
-
-// NewMockVersionFetcher creates a new instance of MockVersionFetcher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
-// The first argument is typically a *testing.T value.
-func NewMockVersionFetcher(t interface {
- mock.TestingT
- Cleanup(func())
-}) *MockVersionFetcher {
- mock := &MockVersionFetcher{}
- mock.Mock.Test(t)
-
- t.Cleanup(func() { mock.AssertExpectations(t) })
-
- return mock
-}