fixed cicrleCI testing

This commit is contained in:
amit b 2019-06-16 02:59:17 +03:00
parent 76299f1bc3
commit 0ba10fab76
3 changed files with 7 additions and 3 deletions

View File

@ -3,6 +3,7 @@ package player
import ( import (
"testing" "testing"
"time" "time"
"github.com/amitbet/vncproxy/common" "github.com/amitbet/vncproxy/common"
"github.com/amitbet/vncproxy/encodings" "github.com/amitbet/vncproxy/encodings"
"github.com/amitbet/vncproxy/logger" "github.com/amitbet/vncproxy/logger"
@ -10,7 +11,7 @@ import (
) )
func TestServer(t *testing.T) { func TestServer(t *testing.T) {
t.Skip("this isn't an automated test, just an entrypoint for debugging")
//chServer := make(chan common.ClientMessage) //chServer := make(chan common.ClientMessage)
//chClient := make(chan common.ServerMessage) //chClient := make(chan common.ServerMessage)

View File

@ -4,11 +4,12 @@ import "testing"
func TestProxy(t *testing.T) { func TestProxy(t *testing.T) {
//create default session if required //create default session if required
t.Skip("this isn't an automated test, just an entrypoint for debugging")
proxy := &VncProxy{ 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 RecordingDir: "d:\\", // empty = no recording
TcpListeningUrl: ":5904", TCPListeningURL: ":5904",
//RecordingDir: "C:\\vncRec", // empty = no recording //RecordingDir: "C:\\vncRec", // empty = no recording
ProxyVncPassword: "1234", //empty = no auth ProxyVncPassword: "1234", //empty = no auth
SingleSession: &VncSession{ SingleSession: &VncSession{

View File

@ -3,6 +3,7 @@ package server
import ( import (
"log" "log"
"testing" "testing"
"github.com/amitbet/vncproxy/common" "github.com/amitbet/vncproxy/common"
"github.com/amitbet/vncproxy/encodings" "github.com/amitbet/vncproxy/encodings"
) )
@ -13,6 +14,7 @@ func newServerConnHandler(cfg *ServerConfig, conn *ServerConn) error {
} }
func TestServer(t *testing.T) { func TestServer(t *testing.T) {
t.Skip("this isn't an automated test, just an entrypoint for debugging")
//chServer := make(chan common.ClientMessage) //chServer := make(chan common.ClientMessage)
chClient := make(chan common.ServerMessage) chClient := make(chan common.ServerMessage)