Skip to content

Commit

Permalink
Rename mocks into test files
Browse files Browse the repository at this point in the history
  • Loading branch information
DerAndereAndi committed Dec 30, 2023
1 parent a79cf5f commit 4860fc7
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion service/hub.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ var connectionInitiationDelayTimeRanges = []connectionInitiationDelayTimeRange{
{min: 10, max: 20},
}

//go:generate mockgen -destination=mock_hub.go -package=service github.com/enbility/eebus-go/service ServiceProvider
//go:generate mockgen -destination=mock_hub_test.go -package=service github.com/enbility/eebus-go/service ServiceProvider

// interface for reporting data from connectionsHub to the EEBUSService
type ServiceProvider interface {
Expand Down
2 changes: 1 addition & 1 deletion service/mdns.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ type MdnsEntry struct {
Addresses []net.IP // mandatory
}

//go:generate mockgen -destination=mock_mdns.go -package=service github.com/enbility/eebus-go/service MdnsSearch,MdnsService
//go:generate mockgen -destination=mock_mdns_test.go -package=service github.com/enbility/eebus-go/service MdnsSearch,MdnsService

// implemented by hubConnection, used by mdns
type MdnsSearch interface {
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 4860fc7

Please sign in to comment.