This commit is contained in:
zhuyasen
2022-09-25 19:06:27 +08:00
parent db93934ffc
commit 891af10cb6
78 changed files with 3551 additions and 1030 deletions

View File

@@ -0,0 +1,27 @@
package interceptor
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestStreamClientTracing(t *testing.T) {
interceptor := StreamClientTracing()
assert.NotNil(t, interceptor)
}
func TestStreamServerTracing(t *testing.T) {
interceptor := StreamServerTracing()
assert.NotNil(t, interceptor)
}
func TestUnaryClientTracing(t *testing.T) {
interceptor := UnaryClientTracing()
assert.NotNil(t, interceptor)
}
func TestUnaryServerTracing(t *testing.T) {
interceptor := UnaryServerTracing()
assert.NotNil(t, interceptor)
}