summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSolly Ross <sross@redhat.com>2014-11-24 15:16:12 -0500
committerSolly Ross <sross@redhat.com>2014-11-24 15:20:36 -0500
commitbb193adfe0125927f660e98185f31bd61ec56feb (patch)
treeca0a61e94f8cefca2ea167ca228df3cf8d8f3410
parent8ddcdaa53e90f1c3e464567cebadddf95015580d (diff)
downloadnovnc-legacy.tar.gz
Backport: Fixed Erroneous HEXTILE testnovnc-legacy
The HEXTILE test which tested for a background tile followed by an empty tile was only wide enough to actually test for one tile, thus not actually testing the functionality. It now actually uses two tiles, thus actually testing the functionality. (cherry picked from commit 4865278deead91fa58b0779b10f8e6b81d169e0e)
-rw-r--r--tests/test.rfb.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test.rfb.js b/tests/test.rfb.js
index fdfb539..ea49e00 100644
--- a/tests/test.rfb.js
+++ b/tests/test.rfb.js
@@ -1318,7 +1318,7 @@ describe('Remote Frame Buffer Protocol Client', function() {
client._display._fb_width = 8;
client._display._viewportLoc.w = 8;
- var info = [{ x: 0, y: 0, width: 8, height: 4, encoding: 0x05 }];
+ var info = [{ x: 0, y: 0, width: 32, height: 4, encoding: 0x05 }];
var rect = [];