Adjust mockery configs for new name

This commit is contained in:
Ralf Haferkamp
2025-01-13 15:05:38 +01:00
parent cd8cf0d2f3
commit 01cde87af0
17 changed files with 30 additions and 30 deletions

View File

@@ -4,6 +4,6 @@ dir: "{{.PackageName}}/mocks"
mockname: "{{.InterfaceName}}"
outpkg: "mocks"
packages:
github.com/owncloud/ocis/v2/ocis-pkg/oidc:
github.com/opencloud-eu/opencloud/ocis-pkg/oidc:
interfaces:
OIDCClient:
OIDCClient:

View File

@@ -4,18 +4,18 @@ dir: "{{.InterfaceDir}}/mocks"
mockname: "{{.InterfaceName}}"
outpkg: "mocks"
packages:
github.com/owncloud/ocis/v2/protogen/gen/ocis/services/eventhistory/v0:
github.com/opencloud-eu/opencloud/protogen/gen/ocis/services/eventhistory/v0:
interfaces:
EventHistoryService:
github.com/owncloud/ocis/v2/protogen/gen/ocis/services/policies/v0:
github.com/opencloud-eu/opencloud/protogen/gen/ocis/services/policies/v0:
interfaces:
PoliciesProviderService:
github.com/owncloud/ocis/v2/protogen/gen/ocis/services/search/v0:
github.com/opencloud-eu/opencloud/protogen/gen/ocis/services/search/v0:
interfaces:
SearchProviderService:
github.com/owncloud/ocis/v2/protogen/gen/ocis/services/settings/v0:
github.com/opencloud-eu/opencloud/protogen/gen/ocis/services/settings/v0:
interfaces:
ValueService:
github.com/owncloud/ocis/v2/protogen/gen/ocis/services/thumbnails/v0:
github.com/opencloud-eu/opencloud/protogen/gen/ocis/services/thumbnails/v0:
interfaces:
ThumbnailService:

View File

@@ -4,6 +4,6 @@ dir: "pkg/{{.PackageName}}/mocks"
mockname: "{{.InterfaceName}}"
outpkg: "mocks"
packages:
github.com/owncloud/ocis/v2/services/antivirus/pkg/scanners:
github.com/opencloud-eu/opencloud/services/antivirus/pkg/scanners:
interfaces:
Scanner:

View File

@@ -3,14 +3,14 @@ filename: "{{.InterfaceName | snakecase }}.go"
mockname: "{{.InterfaceName}}"
outpkg: "mocks"
packages:
github.com/owncloud/ocis/v2/services/collaboration/pkg/connector:
github.com/opencloud-eu/opencloud/services/collaboration/pkg/connector:
config:
dir: "mocks"
interfaces:
ConnectorService:
ContentConnectorService:
FileConnectorService:
github.com/owncloud/ocis/v2/services/collaboration/pkg/locks:
github.com/opencloud-eu/opencloud/services/collaboration/pkg/locks:
config:
dir: "mocks"
interfaces:

View File

@@ -3,7 +3,7 @@ filename: "{{.InterfaceName | snakecase }}.go"
mockname: "{{.InterfaceName}}"
outpkg: "mocks"
packages:
github.com/owncloud/ocis/v2/services/graph/pkg/service/v0:
github.com/opencloud-eu/opencloud/services/graph/pkg/service/v0:
config:
dir: "mocks"
interfaces:
@@ -25,7 +25,7 @@ packages:
Selectable:
config:
filename: "gateway_selector.go"
github.com/owncloud/ocis/v2/services/graph/pkg/identity:
github.com/opencloud-eu/opencloud/services/graph/pkg/identity:
config:
dir: "pkg/identity/mocks"
interfaces:

View File

@@ -3,8 +3,8 @@ filename: "{{.InterfaceName | snakecase }}.go"
mockname: "{{.InterfaceName}}"
outpkg: "mocks"
packages:
github.com/owncloud/ocis/v2/ocis-pkg/keycloak:
github.com/opencloud-eu/opencloud/ocis-pkg/keycloak:
config:
dir: "pkg/backends/keycloak/mocks"
interfaces:
Client:
Client:

View File

@@ -1,12 +1,12 @@
// Code generated by mockery v2.40.2. DO NOT EDIT.
// Code generated by mockery v2.43.2. DO NOT EDIT.
package mocks
import (
context "context"
libregraph "github.com/owncloud/libre-graph-api-go"
keycloak "github.com/opencloud-eu/opencloud/ocis-pkg/keycloak"
libregraph "github.com/owncloud/libre-graph-api-go"
mock "github.com/stretchr/testify/mock"
)

View File

@@ -3,12 +3,12 @@ filename: "{{.InterfaceName | snakecase }}.go"
mockname: "{{.InterfaceName}}"
outpkg: "mocks"
packages:
github.com/owncloud/ocis/v2/services/proxy/pkg/user/backend:
github.com/opencloud-eu/opencloud/services/proxy/pkg/user/backend:
config:
dir: "pkg/user/backend/mocks"
interfaces:
UserBackend:
github.com/owncloud/ocis/v2/services/proxy/pkg/userroles:
github.com/opencloud-eu/opencloud/services/proxy/pkg/userroles:
config:
dir: "pkg/userroles/mocks"
interfaces:

View File

@@ -1,4 +1,4 @@
// Code generated by mockery v2.40.2. DO NOT EDIT.
// Code generated by mockery v2.43.2. DO NOT EDIT.
package mocks

View File

@@ -1,4 +1,4 @@
// Code generated by mockery v2.40.2. DO NOT EDIT.
// Code generated by mockery v2.43.2. DO NOT EDIT.
package mocks

View File

@@ -4,13 +4,13 @@ dir: "pkg/{{.PackageName}}/mocks"
mockname: "{{.InterfaceName}}"
outpkg: "mocks"
packages:
github.com/owncloud/ocis/v2/services/search/pkg/engine:
github.com/opencloud-eu/opencloud/services/search/pkg/engine:
interfaces:
Engine:
github.com/owncloud/ocis/v2/services/search/pkg/content:
github.com/opencloud-eu/opencloud/services/search/pkg/content:
interfaces:
Extractor:
Retriever:
github.com/owncloud/ocis/v2/services/search/pkg/search:
github.com/opencloud-eu/opencloud/services/search/pkg/search:
interfaces:
Searcher:
Searcher:

View File

@@ -1,4 +1,4 @@
// Code generated by mockery v2.40.2. DO NOT EDIT.
// Code generated by mockery v2.43.2. DO NOT EDIT.
package mocks

View File

@@ -1,4 +1,4 @@
// Code generated by mockery v2.40.2. DO NOT EDIT.
// Code generated by mockery v2.43.2. DO NOT EDIT.
package mocks

View File

@@ -1,4 +1,4 @@
// Code generated by mockery v2.40.2. DO NOT EDIT.
// Code generated by mockery v2.43.2. DO NOT EDIT.
package mocks

View File

@@ -1,4 +1,4 @@
// Code generated by mockery v2.40.2. DO NOT EDIT.
// Code generated by mockery v2.43.2. DO NOT EDIT.
package mocks

View File

@@ -3,7 +3,7 @@ filename: "{{.InterfaceName | snakecase }}.go"
mockname: "{{.InterfaceName}}"
outpkg: "mocks"
packages:
github.com/owncloud/ocis/v2/services/settings/pkg/settings:
github.com/opencloud-eu/opencloud/services/settings/pkg/settings:
config:
dir: "pkg/settings/mocks"
interfaces:

View File

@@ -1,4 +1,4 @@
// Code generated by mockery v2.40.2. DO NOT EDIT.
// Code generated by mockery v2.43.2. DO NOT EDIT.
package mocks