Added automated test for UTC date ticks and labels.
authorJoan Pau Beltran <joanpau.beltran@socib.cat>
Mon, 2 Jun 2014 15:50:45 +0000 (17:50 +0200)
committerJoan Pau Beltran <joanpau.beltran@socib.cat>
Thu, 5 Jun 2014 16:02:49 +0000 (18:02 +0200)
commitdd37a3c35de7791ade35d01fcef7887736cee8d9
tree0d4b35796fdb2123cec3f82e692d227eab7f6032
parent4c765ad994f31064b8f1a2793cdb87ff95834db8
Added automated test for UTC date ticks and labels.

The date tick tests are broken in the ticker automatic test suite
because they assume EST timezone. In addition, the suite is disabled.
Fix the  automatic test suite for the case UTC ticks and labels:

  * `auto_tests/tests/date_ticker.js`:
    Test the generation of ticks and labels at nice time positions
    according to UTC as set by option `labelsDateUTC`.
    Include the date axis tests from `auto-tests/tests/tickers.js-disabled`
    with the required changes of timestamps and with initial ticks
    out of range removed.
auto_tests/misc/local.html
auto_tests/tests/date_ticker.js [new file with mode: 0644]