|
|
@ -1,17 +1,17 @@ |
|
|
|
package socks |
|
|
|
package socks |
|
|
|
|
|
|
|
|
|
|
|
import ( |
|
|
|
import ( |
|
|
|
"bytes" |
|
|
|
// "bytes"
|
|
|
|
"testing" |
|
|
|
"testing" |
|
|
|
|
|
|
|
|
|
|
|
"github.com/v2ray/v2ray-core" |
|
|
|
// "github.com/v2ray/v2ray-core"
|
|
|
|
"github.com/v2ray/v2ray-core/testing/mocks" |
|
|
|
// "github.com/v2ray/v2ray-core/testing/mocks"
|
|
|
|
"github.com/v2ray/v2ray-core/testing/unit" |
|
|
|
// "github.com/v2ray/v2ray-core/testing/unit"
|
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
func TestSocksTcpConnect(t *testing.T) { |
|
|
|
func TestSocksTcpConnect(t *testing.T) { |
|
|
|
t.Skip("Not ready yet.") |
|
|
|
t.Skip("Not ready yet.") |
|
|
|
|
|
|
|
/* |
|
|
|
assert := unit.Assert(t) |
|
|
|
assert := unit.Assert(t) |
|
|
|
|
|
|
|
|
|
|
|
port := uint16(12384) |
|
|
|
port := uint16(12384) |
|
|
@ -35,5 +35,5 @@ func TestSocksTcpConnect(t *testing.T) { |
|
|
|
|
|
|
|
|
|
|
|
err = vpoint.Start() |
|
|
|
err = vpoint.Start() |
|
|
|
assert.Error(err).IsNil() |
|
|
|
assert.Error(err).IsNil() |
|
|
|
|
|
|
|
*/ |
|
|
|
} |
|
|
|
} |
|
|
|