Created
September 8, 2014 05:28
-
-
Save sidorares/c5f50511918010358820 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> x11@0.10.0 test /tmp/node-x11 | |
> node test-runner.js | |
Atoms and atom names cache | |
✓ should be used directly when requesting std atoms with InternAtom | |
✓ should be used directly when requesting atom names with GetAtomName | |
✓ should be used after the first request for non-std atoms | |
✓ should be used after the first request for non-std atom_names | |
ChangeProperty | |
✓ should add a new WINDOW property with length 1 | |
✓ should add a new WINDOW property with length 2 | |
✓ should replace a the WINDOW property with length 0 | |
ConfigureWindow | |
✓ should ResizeWindow correctly to 200x300 pixels | |
✓ should MoveWindow correctly to x: 100, y: 150 pixels | |
✓ should MoveResizeWindow correctly to x: 200, y: 250 and 500x100 pixels | |
✓ should RaiseWindow correctly | |
Client | |
✓ calls first createClient parameter with display object | |
✓ uses display variable from parameter if present ignoring anvironment $DISPLAY | |
✓ throws error if $DISPLAY is bogus | |
✓ returns error when connecting to non existent display | |
Client | |
✓ should respond to ping() | |
✓ should allow to enqueue requests and gracefully execute them before close() | |
CreateWindow request | |
✓ should exist as client member | |
✓ result should present in windows tree | |
ForceScreenSaver request | |
✓ should exist as client member | |
✓ should be callable with true parameter | |
✓ should be callable with false parameter | |
KillKlient request | |
✓ should exist as client member | |
✓ should terminate other client connection | |
Window property | |
✓ shuld exist after set with ChangeProperty | |
✓ should generate PropertyNotify event | |
✓ should not exist after DeleteProperty called | |
Client | |
✓ should emit error which is instance of Error with sequence number corresponding to source request | |
Client | |
70000 requests finished in 464 ms, 150862.06896551725 req/sec | |
✓ should handle more than 65535 requests in one connection (464ms) | |
XTEST extension | |
GetVersion | |
✓ should return version 2.2 | |
RANDR extension | |
✓ GetScreenInfo should get same px and mm width and height as in display.screen[0] | |
DPMS extension | |
Setting the DPMS timeouts to specific values | |
✓ GetTimeouts should return those values | |
Changing status and level of DPMS | |
✓ Info should return the correct values | |
33 passing (662ms) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment