]> git.proxmox.com Git - mirror_novnc.git/commitdiff
Fixed Erroneous HEXTILE test
authorSolly Ross <sross@redhat.com>
Mon, 24 Nov 2014 20:16:12 +0000 (15:16 -0500)
committerSolly Ross <sross@redhat.com>
Mon, 24 Nov 2014 20:19:04 +0000 (15:19 -0500)
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.

tests/test.rfb.js

index 1510f9e5e1e54e6d36ac6d0ac37b00c4ec36b843..d80e3d523cff995576d685eb1259798c2cdc2b1d 100644 (file)
@@ -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 = [];