mirror of
https://github.com/amitbet/vncproxy.git
synced 2025-04-27 10:50:47 +00:00
fixed cicrleCI testing
This commit is contained in:
parent
76299f1bc3
commit
0ba10fab76
@ -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)
|
||||
|
||||
|
@ -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{
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user