Simplify vmess test

This commit is contained in:
世界 2022-08-08 09:06:24 +08:00
parent 2c6d239525
commit df6635c620
No known key found for this signature in database
GPG key ID: CD109927C34A63C4

View file

@ -14,6 +14,21 @@ import (
)
func TestVMess(t *testing.T) {
security := "auto"
user, err := uuid.DefaultGenerator.NewV4()
require.NoError(t, err)
t.Run("self", func(t *testing.T) {
testVMessSelf(t, security, user, 0, false, false)
})
t.Run("inbound", func(t *testing.T) {
testVMessInboundWithV2Ray(t, security, user, 0, false)
})
t.Run("outbound", func(t *testing.T) {
testVMessOutboundWithV2Ray(t, security, user, false, false, 0)
})
}
func _TestVMess(t *testing.T) {
for _, security := range []string{
"zero",
} {