From df6635c62020088bbee6abfa6914cfdc2c51d461 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Mon, 8 Aug 2022 09:06:24 +0800 Subject: [PATCH] Simplify vmess test --- test/vmess_test.go | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/test/vmess_test.go b/test/vmess_test.go index 2599331b..4ee4c8b9 100644 --- a/test/vmess_test.go +++ b/test/vmess_test.go @@ -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", } {