Regenerated mocks

This commit is contained in:
Thomas Boerger
2016-11-15 10:35:55 +01:00
parent 9a48e34f4c
commit ef0579616d
4 changed files with 19 additions and 14 deletions
+4 -2
View File
@@ -1,7 +1,7 @@
package mocks
import "github.com/go-gitea/lgtm/cache"
import "github.com/stretchr/testify/mock"
import cache "github.com/go-gitea/lgtm/cache"
import mock "github.com/stretchr/testify/mock"
// Cache is an autogenerated mock type for the Cache type
type Cache struct {
@@ -44,3 +44,5 @@ func (_m *Cache) Set(_a0 string, _a1 interface{}) error {
return r0
}
var _ cache.Cache = (*Cache)(nil)
+4 -2
View File
@@ -1,7 +1,7 @@
package mocks
import "github.com/go-gitea/lgtm/notifier"
import "github.com/stretchr/testify/mock"
import mock "github.com/stretchr/testify/mock"
import notifier "github.com/go-gitea/lgtm/notifier"
// Sender is an autogenerated mock type for the Sender type
type Sender struct {
@@ -21,3 +21,5 @@ func (_m *Sender) Send(_a0 *notifier.Notification) error {
return r0
}
var _ notifier.Sender = (*Sender)(nil)
+6 -6
View File
@@ -1,11 +1,9 @@
package mocks
import (
"net/http"
"github.com/lgtmco/lgtm/model"
"github.com/stretchr/testify/mock"
)
import http "net/http"
import mock "github.com/stretchr/testify/mock"
import model "github.com/go-gitea/lgtm/model"
import remote "github.com/go-gitea/lgtm/remote"
// Remote is an autogenerated mock type for the Remote type
type Remote struct {
@@ -309,3 +307,5 @@ func (_m *Remote) SetStatus(_a0 *model.User, _a1 *model.Repo, _a2 int, _a3 int,
return r0
}
var _ remote.Remote = (*Remote)(nil)
+5 -4
View File
@@ -1,9 +1,8 @@
package mocks
import (
"github.com/drone/drone/model"
"github.com/stretchr/testify/mock"
)
import mock "github.com/stretchr/testify/mock"
import model "github.com/go-gitea/lgtm/model"
import store "github.com/go-gitea/lgtm/store"
// Store is an autogenerated mock type for the Store type
type Store struct {
@@ -231,3 +230,5 @@ func (_m *Store) UpdateUser(_a0 *model.User) error {
return r0
}
var _ store.Store = (*Store)(nil)