@@ -6,13 +6,11 @@ import (
6
6
"testing"
7
7
8
8
"github.com/metacubex/mihomo/adapter/outbound"
9
- "github.com/metacubex/mihomo/common/utils"
10
9
"github.com/metacubex/mihomo/listener/inbound"
11
10
"github.com/stretchr/testify/assert"
12
11
)
13
12
14
13
func testInboundTrojan (t * testing.T , inboundOptions inbound.TrojanOption , outboundOptions outbound.TrojanOption ) {
15
- userUUID := utils .NewUUIDV4 ().String ()
16
14
inboundOptions .BaseOption = inbound.BaseOption {
17
15
NameStr : "trojan_inbound" ,
18
16
Listen : "127.0.0.1" ,
@@ -46,7 +44,7 @@ func testInboundTrojan(t *testing.T, inboundOptions inbound.TrojanOption, outbou
46
44
tunnel .DoTest (t , out )
47
45
}
48
46
49
- func TestInboundTrojan_Tls (t * testing.T ) {
47
+ func TestInboundTrojan_TLS (t * testing.T ) {
50
48
inboundOptions := inbound.TrojanOption {
51
49
Certificate : tlsCertificate ,
52
50
PrivateKey : tlsPrivateKey ,
@@ -162,7 +160,7 @@ func TestInboundTrojan_Reality_Grpc(t *testing.T) {
162
160
testInboundTrojan (t , inboundOptions , outboundOptions )
163
161
}
164
162
165
- func TestInboundTrojan_Tls_TrojanSS (t * testing.T ) {
163
+ func TestInboundTrojan_TLS_TrojanSS (t * testing.T ) {
166
164
inboundOptions := inbound.TrojanOption {
167
165
Certificate : tlsCertificate ,
168
166
PrivateKey : tlsPrivateKey ,
0 commit comments