-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'istio-ecosystem:master' into master
- Loading branch information
Showing
17 changed files
with
1,249 additions
and
264 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,32 @@ | ||
package clusters | ||
|
||
import ( | ||
"context" | ||
"github.com/stretchr/testify/assert" | ||
"istio.io/client-go/pkg/apis/networking/v1alpha3" | ||
"testing" | ||
) | ||
|
||
func TestSidecarHandler_Added(t *testing.T) { | ||
var dh SidecarHandler | ||
var ctx context.Context | ||
var obj *v1alpha3.Sidecar | ||
err := dh.Added(ctx, obj) | ||
assert.Nil(t, err) | ||
} | ||
|
||
func TestSidecarHandler_Updated(t *testing.T) { | ||
var dh SidecarHandler | ||
var ctx context.Context | ||
var obj *v1alpha3.Sidecar | ||
err := dh.Updated(ctx, obj) | ||
assert.Nil(t, err) | ||
} | ||
|
||
func TestSidecarHandler_Deleted(t *testing.T) { | ||
var dh SidecarHandler | ||
var ctx context.Context | ||
var obj *v1alpha3.Sidecar | ||
err := dh.Deleted(ctx, obj) | ||
assert.Nil(t, err) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.