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:19:04 -0500
commit4865278deead91fa58b0779b10f8e6b81d169e0e (patch)
tree953a370f8b962b7bae0b341ec7f00e11eb7199cf
parentb2e8311de6f84da6ed289fa41465a2421f3c7d3b (diff)
downloadnovnc-4865278deead91fa58b0779b10f8e6b81d169e0e.tar.gz
Fixed Erroneous HEXTILE test
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.
-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 1510f9e..d80e3d5 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 = [];