Skip to content

Commit

Permalink
Remove mockery
Browse files Browse the repository at this point in the history
  • Loading branch information
djaglowski committed May 19, 2022
1 parent 5e36290 commit 4327d61
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 158 deletions.
2 changes: 0 additions & 2 deletions pkg/stanza/operator/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@

package operator // import "github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza/operator"

//go:generate mockery --name=Builder --output=../testutil --outpkg=testutil --filename=operator_builder.go --structname=OperatorBuilder

import (
"encoding/json"
"fmt"
Expand Down
2 changes: 0 additions & 2 deletions pkg/stanza/operator/operator.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@

package operator // import "github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza/operator"

//go:generate mockery --name=^(Operator)$ --output=../testutil --outpkg=testutil --case=snake

import (
"context"

Expand Down
2 changes: 0 additions & 2 deletions pkg/stanza/pipeline/pipeline.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@

package pipeline // import "github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza/pipeline"

//go:generate mockery --name=^(Pipeline)$ --output=../testutil --outpkg=testutil --case=snake

import (
"github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza/operator"
)
Expand Down
4 changes: 2 additions & 2 deletions pkg/stanza/testutil/mocks.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ import (
"time"

"github.com/stretchr/testify/require"
zap "go.uber.org/zap"
"go.uber.org/zap"
"go.uber.org/zap/zaptest"

entry "github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza/entry"
"github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza/entry"
"github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza/operator"
)

Expand Down
70 changes: 0 additions & 70 deletions pkg/stanza/testutil/operator_builder.go

This file was deleted.

80 changes: 0 additions & 80 deletions pkg/stanza/testutil/pipeline.go

This file was deleted.

0 comments on commit 4327d61

Please sign in to comment.