diff --git a/player/player_test.go b/player/player_test.go index 998ed11..d94e5b1 100644 --- a/player/player_test.go +++ b/player/player_test.go @@ -3,6 +3,7 @@ package player import ( "testing" "time" + "github.com/amitbet/vncproxy/common" "github.com/amitbet/vncproxy/encodings" "github.com/amitbet/vncproxy/logger" @@ -10,7 +11,7 @@ import ( ) func TestServer(t *testing.T) { - + t.Skip("this isn't an automated test, just an entrypoint for debugging") //chServer := make(chan common.ClientMessage) //chClient := make(chan common.ServerMessage) diff --git a/proxy/proxy_test.go b/proxy/proxy_test.go index 2be6def..45b1371 100644 --- a/proxy/proxy_test.go +++ b/proxy/proxy_test.go @@ -4,11 +4,12 @@ import "testing" func TestProxy(t *testing.T) { //create default session if required + t.Skip("this isn't an automated test, just an entrypoint for debugging") proxy := &VncProxy{ - WsListeningUrl: "http://0.0.0.0:7778/", // empty = not listening on ws + WsListeningURL: "http://0.0.0.0:7778/", // empty = not listening on ws RecordingDir: "d:\\", // empty = no recording - TcpListeningUrl: ":5904", + TCPListeningURL: ":5904", //RecordingDir: "C:\\vncRec", // empty = no recording ProxyVncPassword: "1234", //empty = no auth SingleSession: &VncSession{ diff --git a/server/server_test.go b/server/server_test.go index d2ac08b..beb3e58 100644 --- a/server/server_test.go +++ b/server/server_test.go @@ -3,6 +3,7 @@ package server import ( "log" "testing" + "github.com/amitbet/vncproxy/common" "github.com/amitbet/vncproxy/encodings" ) @@ -13,6 +14,7 @@ func newServerConnHandler(cfg *ServerConfig, conn *ServerConn) error { } func TestServer(t *testing.T) { + t.Skip("this isn't an automated test, just an entrypoint for debugging") //chServer := make(chan common.ClientMessage) chClient := make(chan common.ServerMessage)