Permalink
Browse files

Replaced jasmine testing framework by mocha, expect.js and sinon

as discussed in #319
  • Loading branch information...
Turbo87 committed Mar 13, 2013
1 parent a0b1d74 commit 89ab68cde72da8c6ad9b4bc7ca2920e79260ded5
Showing with 13,108 additions and 5,175 deletions.
  1. +2 −2 build.py
  2. +1,253 −0 test/expect-0.2.0/expect.js
  3. +0 −616 test/jasmine-1.2.0/jasmine-html.js
  4. +0 −81 test/jasmine-1.2.0/jasmine.css
  5. +0 −2,529 test/jasmine-1.2.0/jasmine.js
  6. +0 −11 test/jasmine-extensions.js
  7. +5 −0 test/jquery-1.9.1/jquery.min.js
  8. +10 −8 test/{jasmine-1.2.0/MIT.LICENSE → mocha-1.8.1/LICENSE}
  9. +231 −0 test/mocha-1.8.1/mocha.css
  10. +5,340 −0 test/mocha-1.8.1/mocha.js
  11. +261 −0 test/mocha-phantomjs.coffee
  12. +86 −0 test/mocha-phantomjs/core_extensions.js
  13. +23 −70 test/ol.html
  14. +0 −161 test/phantom-jasmine/console-runner.js
  15. +0 −46 test/phantom-jasmine/run_jasmine_test.coffee
  16. +4,223 −0 test/sinon-1.6.0/sinon.js
  17. +22 −22 test/spec/ol/array.test.js
  18. +63 −63 test/spec/ol/collection.test.js
  19. +12 −12 test/spec/ol/color.test.js
  20. +1 −1 test/spec/ol/control/control.test.js
  21. +6 −6 test/spec/ol/ellipsoid.test.js
  22. +57 −57 test/spec/ol/extent.test.js
  23. +32 −32 test/spec/ol/layer/layer.test.js
  24. +56 −56 test/spec/ol/lrucache.test.js
  25. +30 −31 test/spec/ol/map.test.js
  26. +25 −25 test/spec/ol/math.test.js
  27. +110 −110 test/spec/ol/object.test.js
  28. +49 −48 test/spec/ol/parser/ogc/exceptionreport.test.js
  29. +5 −5 test/spec/ol/parser/ogc/versioned.test.js
  30. +6 −6 test/spec/ol/parser/ogc/wmscapabilities.test.js
  31. +18 −18 test/spec/ol/parser/ogc/wmscapabilities_v1_0_0.test.js
  32. +207 −207 test/spec/ol/parser/ogc/wmscapabilities_v1_1_1.test.js
  33. +31 −31 test/spec/ol/parser/ogc/wmscapabilities_v1_1_1_WMSC.test.js
  34. +112 −112 test/spec/ol/parser/ogc/wmscapabilities_v1_3_0.test.js
  35. +122 −122 test/spec/ol/parser/ogc/wmtscapabilities_v1_0_0.test.js
  36. +80 −80 test/spec/ol/parser/polyline.test.js
  37. +3 −3 test/spec/ol/projection.epsg3857.test.js
  38. +75 −74 test/spec/ol/projection.test.js
  39. +49 −51 test/spec/ol/rectangle.test.js
  40. +10 −10 test/spec/ol/renderer/webgl/imagelayer.test.js
  41. +91 −91 test/spec/ol/resolutionconstraint.test.js
  42. +18 −18 test/spec/ol/rotationconstraint.test.js
  43. +21 −21 test/spec/ol/source/tilesource.test.js
  44. +45 −45 test/spec/ol/source/xyz.test.js
  45. +7 −7 test/spec/ol/sphere.test.js
  46. +11 −11 test/spec/ol/tilecoord.test.js
  47. +171 −171 test/spec/ol/tilegrid.test.js
  48. +3 −3 test/spec/ol/tilequeue.test.js
  49. +53 −53 test/spec/ol/tilerange.test.js
  50. +14 −14 test/spec/ol/tileurlfunction.test.js
  51. +15 −15 test/spec/ol/view2d.test.js
  52. +20 −20 test/spec/ol/xyztilegrid.test.js
  53. +24 −0 test/test-extensions.js
View
@@ -469,7 +469,7 @@ def proj4js_zip(t):
if sys.platform == 'win32':
@target('test', '%(PHANTOMJS)s', INTERNAL_SRC, PROJ4JS, 'test/requireall.js', phony=True)
def test(t):
- t.run(PHANTOMJS, 'test/phantom-jasmine/run_jasmine_test.coffee', 'test/ol.html')
+ t.run(PHANTOMJS, 'test/mocha-phantomjs.coffee', 'test/ol.html')
# FIXME the PHANTOMJS should be a pake variable, not a constant
@target(PHANTOMJS, PHANTOMJS_WINDOWS_ZIP, clean=False)
@@ -484,7 +484,7 @@ def phantomjs_windows_zip(t):
else:
@target('test', INTERNAL_SRC, PROJ4JS, 'test/requireall.js', phony=True)
def test(t):
- t.run('%(PHANTOMJS)s', 'test/phantom-jasmine/run_jasmine_test.coffee', 'test/ol.html')
+ t.run('%(PHANTOMJS)s', 'test/mocha-phantomjs.coffee', 'test/ol.html')
@target('fixme', phony=True)
Oops, something went wrong.

0 comments on commit 89ab68c

Please sign in to comment.