mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-06-03 09:47:31 +03:00
Add vmess inbound/outbound
This commit is contained in:
@@ -14,6 +14,7 @@ import (
|
||||
)
|
||||
|
||||
func TestShadowsocks(t *testing.T) {
|
||||
t.Parallel()
|
||||
for _, method := range []string{
|
||||
"aes-128-gcm",
|
||||
"aes-256-gcm",
|
||||
@@ -32,6 +33,7 @@ func TestShadowsocks(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestShadowsocks2022(t *testing.T) {
|
||||
t.Parallel()
|
||||
for _, method16 := range []string{
|
||||
"2022-blake3-aes-128-gcm",
|
||||
} {
|
||||
@@ -74,7 +76,7 @@ func testShadowsocksInboundWithShadowsocksRust(t *testing.T, method string, pass
|
||||
})
|
||||
startInstance(t, option.Options{
|
||||
Log: &option.LogOption{
|
||||
Disabled: true,
|
||||
Level: "error",
|
||||
},
|
||||
Inbounds: []option.Inbound{
|
||||
{
|
||||
@@ -106,7 +108,7 @@ func testShadowsocksOutboundWithShadowsocksRust(t *testing.T, method string, pas
|
||||
})
|
||||
startInstance(t, option.Options{
|
||||
Log: &option.LogOption{
|
||||
Disabled: true,
|
||||
Level: "error",
|
||||
},
|
||||
Inbounds: []option.Inbound{
|
||||
{
|
||||
@@ -143,7 +145,7 @@ func testShadowsocksSelf(t *testing.T, method string, password string) {
|
||||
testPort := mkPort(t)
|
||||
startInstance(t, option.Options{
|
||||
Log: &option.LogOption{
|
||||
Disabled: true,
|
||||
Level: "error",
|
||||
},
|
||||
Inbounds: []option.Inbound{
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user