Browse Source

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.
Solly Ross 10 years ago
parent
commit
4865278dee
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/test.rfb.js

+ 1 - 1
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 = [];