瀏覽代碼

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 年之前
父節點
當前提交
4865278dee
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 = [];