Commit Graph

49 Commits

Author SHA1 Message Date
Andreas Hocevar 1aafd8320d Allow reference image creation without existing reference image 2017-10-09 18:51:57 +02:00
Tim Schaub 0bfa59fb6f Avoid instanceof checks in global test extensions 2017-08-28 10:12:51 -06:00
Marc Jansen 27baa3d698 Fix typo in where-function
I wonder how this has ever worked before. Black magic.
2017-08-22 21:31:15 +02:00
Tim Schaub 670c6d9f3f Use window for global 2017-08-18 16:32:01 -04:00
Andreas Hocevar b710c1f76e Use pixelmatch instead of resemble.js 2017-08-17 08:40:53 -04:00
Tim Schaub a2c043d1b4 Clean up after rendering tests 2017-08-16 13:43:28 -04:00
Tim Schaub 46bcce464f Add missing requires to tests 2017-08-16 13:43:28 -04:00
Tim Schaub a5113715ef Conditionally run WebGL rendering tests 2017-08-16 13:43:28 -04:00
Tim Schaub 36f01e7b08 Expose describe and it on where 2017-08-16 13:35:32 -04:00
Tim Schaub 32c26c2524 More consistent clean up 2017-08-16 13:35:31 -04:00
Tim Schaub 8a08ab6463 Correct types 2017-08-15 15:37:37 -04:00
Marc Jansen d0ef05977b Autofix indentation issues (eslint --fix) 2017-06-19 11:58:00 +02:00
Frederic Junod 66e0308028 Use 'in' operator instead of 'typeof'
In PhantomJS, `typeof XXX` returns `"object"`, not `"function"`
2017-06-06 09:48:02 +02:00
Frederic Junod 22939abb0d Only test ol.interaction.DragAndDrop if FileReader is supported 2017-06-06 09:43:59 +02:00
Frederic Junod 72bb310386 Move eslint globals to to test/.eslintrc 2017-04-11 12:36:39 +02:00
Frederic Junod 61fcc4a326 Only test ol.format.MVT if ArrayBuffer.isView is supported 2016-10-20 12:18:23 +02:00
Tim Schaub f444800fc6 Only call beginPath once per MultiPolygon 2016-09-26 06:13:01 -06:00
Tim Schaub 4887adce4f Ignore missing requires in typedefs.js and test-extensions.js 2016-08-12 10:53:48 -06:00
Tim Schaub ae4d8195c0 Remove use of goog.dispose() 2016-03-02 15:44:06 -07:00
Tim Schaub 9c594bc997 Use where function in MVT tests 2016-03-02 13:22:33 -07:00
Tim Schaub 1925e39b69 Allow tests to be ignored by feature 2016-03-02 13:20:37 -07:00
Andreas Hocevar 7a953a166e Add option to ignore element order in xmleq 2016-02-23 23:35:53 +01:00
Andreas Hocevar d0eb6322c3 Cleanup after goog.array, goog.object and goog.isDef removal 2016-02-05 14:52:52 +01:00
Tim Schaub 681948e71c Lint-free test-extensions.js 2016-01-11 18:56:06 -08:00
Petr Sloup 404fa10bb7 Make resembleCanvas available to tests 2015-10-16 09:28:42 +02:00
Andreas Hocevar c475902e19 Merge pull request #4237 from awaterme/master
#3328: GML3 - Writing features with multiple geometries
2015-10-08 18:11:53 +02:00
Tim Schaub 401ab6e829 Keep custom test logic in one place 2015-04-13 08:45:27 -06:00
Tim Schaub 129ed0a6c5 Append directly to the document body 2015-04-13 08:40:40 -06:00
Andreas Watermeyer c530f872f9 #3328 - GML3: Writing features with multiple geometries 2015-04-07 10:32:26 +02:00
tsauerwein c0a23dc818 Add first rendering tests 2015-04-06 13:36:35 +02:00
tsauerwein 8e0c21eb58 Add test-suite using SlimerJS 2015-04-04 17:30:38 +02:00
Bart van den Eijnden 7d5ede6728 Restore the previous error messages 2015-03-26 16:48:22 +01:00
Bart van den Eijnden 616a0b161e Speed up xmleql performance 2015-03-26 16:03:28 +01:00
Tim Schaub 21878ebad3 Lint 2014-07-06 12:47:33 -06:00
Tim Schaub 7e8551a767 Unused extensions 2014-07-06 12:43:55 -06:00
Tim Schaub 93716fc7f0 Extend expect.js rather than modify the source 2014-07-06 12:40:03 -06:00
Tom Payne 184118082e Add FIXME to remove afterLoadXml 2014-02-04 22:20:45 +01:00
Bart van den Eijnden ffc2277c68 make tests pass in the test runner as well by not checking for status code 2013-11-08 20:59:58 +01:00
Bart van den Eijnden cc4c0bda60 use plain XMLHttpRequest instead of goog.net.XhrIo 2013-11-08 20:34:03 +01:00
Tim Schaub d6be28a7bb Get rid of unnecessary waitsFor function
This was a relic from the Jasmine tests.  Mocha tests have a built-in timeout.  Async tests are registered with a function that takes a callback.
2013-06-23 11:20:57 -06:00
Tom Payne c9f43b4da7 Move equalArray into expect.js 2013-03-15 01:39:11 +01:00
Tom Payne 79c77a6369 Move intersect into expect.js 2013-03-15 01:39:11 +01:00
Tom Payne 7c7c4df3fc Move called into expect.js 2013-03-15 01:17:28 +01:00
Tom Payne 62011dab28 Move roughlyEqual into expect.js 2013-03-15 01:17:28 +01:00
Tom Payne d7b13ab09f Add test for array equality
Hilariously, expect.js does not have one.
2013-03-14 14:49:43 +01:00
Tobias Bieniek 47261124fc test: Added expect(spy).to.be.called() syntactic sugar 2013-03-13 17:18:23 +01:00
Tobias Bieniek 93577bd335 test: Moved intersectsWith() testing function into test-extensions.js 2013-03-13 17:11:21 +01:00
Tobias Bieniek d5d8afc858 Converted "vector" branch unit tests to mocha, expect.js and sinon 2013-03-13 04:48:08 +01:00
Tobias Bieniek 89ab68cde7 Replaced jasmine testing framework by mocha, expect.js and sinon
as discussed in #319
2013-03-13 04:32:43 +01:00