Commit graph

4 commits

Author SHA1 Message Date
Andrey Sidorov
3398921423 fix path 2013-02-19 22:28:13 +11:00
Santiago Gimeno
4508f9e93d Change createClient signature
- The new signature is:

  createClient(options, initCB), where
     - options is an optional object that defines different parameters such as
               display, etc.
     - initCB is an optional callback with the signature: function(err, display)
- The initCB is going to be called with an error ONLY if the connection to the X
  server fails. Further errors in the server connection will be 'emitted'.
- Update tests and test-runner.js accordingly.
- Update README.
2012-12-19 09:34:19 +01:00
Santiago Gimeno
9b8cef815b A couple of fixes in xtest extension
- Return directly in case of error retrieving the extension.
- QueryVersion should be GetVersion and fix its format.
- Add a test for GetVersion.
- Modify test-runner.js so it uses async library to add dynamically the test
  files to be used.
2012-11-26 16:51:56 +01:00
Santiago Gimeno
e6796ab192 Only execute dpms test when we can
- Add test-runner.js to be able to execute the dpms when these
  conditions are complied:
     1 - DPMS extension is supported.
     2 - DPMS version is 1.1.
     3 - DPMS is capable.
2012-11-25 19:35:07 +01:00