Commit Graph

21 Commits

Author SHA1 Message Date
XhmikosR
7efbcd31cf Trim trailing whitespace. 2014-03-02 14:06:26 +02:00
Doug Haber
9b3513b801 Split rhino and rhino version of lessc. This lets us have cleaner tests (since we don't need to include the test code in the rhino source). Also
sets the stage for sharing lessc code between lessc and rhino less (issue #14) and provides a hook so lesscss-java can have custom js.
2014-01-21 21:48:37 -05:00
meri
d203ef3743 Fixed grunt call on windows and fixed typo. 2014-01-15 12:55:06 +01:00
Doug Haber
3c507118f2 fix empty test 2014-01-14 18:52:00 -05:00
Doug Haber
de4e888211 Add Support Map Tests
This patch adds Support Map Tests to the rhino test suite.  It makes the
following changes:

1.  Fix typo in the Gruntfile.js for the sourcemap-test
2.  Update Gradle build to always build the less-rhino-<version>.js
before running the tests
3. Add a new testRhinoSourceMap and add it to the test list
4. Add a SourceMapRhinoTest that bootstraps SourceMap tests and then
validates them after they run
5. Add hooks in RhinoTest to support custom bootstraping and validation
6. Add compiled version of source-map (version 0.1.31) because Rhino
can't dynamically pull in dependencies
7. Add source-map to the Rhino build with a Header/Footer that wraps
source-map as a less-friendly dependency
8. Update lib/less/rhino.js to properly handle (some) source-map options
and add a new one (--source-map-output-map-file) that will output the
source-map to a separate file (so we can validate our Rhino tests)
9. Remove unused callback in less-test.js
2014-01-13 23:39:52 -05:00
Mária Jurčovičová
2ea251b617 Merge pull request #12 from dhaber/rhino-mactest
Fix for some tests that were failing on my Mac
2014-01-12 14:03:45 -08:00
Doug Haber
fb1f664388 Clean up some text changes 2014-01-11 07:51:43 -05:00
Doug Haber
1b83d882b4 Fix some tests that were failing on my Mac 2014-01-11 07:51:38 -05:00
Doug Haber
cfb04d1483 Update gradle build to:
1. Build the latest version of the rhino less version
2. Use the latest version to test against

Also update Grunt build to have a build rhino task
2014-01-10 16:19:04 -05:00
meri
e94478c21b Re-enabled tests, only one is failling now. 2013-12-20 09:31:20 +01:00
meri
9f41dd57cf Ammending previous commit, really fixed this time. 2013-12-20 08:59:45 +01:00
meri
e39db84e3e Rhino uses upper case drive letter (C:\) and gradle uses lower case drive
letter (c:\). Fixed in gradle.
2013-12-20 08:56:04 +01:00
meri
cba972d0db Fixing url slash problem that caused failures. 2013-12-18 16:17:00 +01:00
meri
eff959f38f Added "debug" tests. They are failing currently, due to weird rhino
version handling of slashes.
2013-12-13 13:39:28 +01:00
meri
42cb7a61c9 Added no javascript error tests. 2013-12-12 20:41:34 +01:00
meri
b8cb398de1 Fixing windows related errors in gradle build file. 2013-12-12 13:51:48 +01:00
Oliver Becker
4210cfd2d1 started data-uri implementation, added basic console formatting support 2013-11-11 22:15:42 +01:00
Oliver Becker
465dd99074 added colored output, added gradle property 'test' to execute a specific test only (use for example: -Ptest=urls) 2013-11-09 17:20:29 +01:00
Oliver Becker
f8b671ddf7 renamed task cleanupTest to clean 2013-10-27 15:19:28 +01:00
Oliver Becker
716101256e added gradle based test suite, reviewed rhino integration 2013-10-27 12:47:59 +01:00
Oliver Becker
2b73725b44 added gradle based test suite, reviewed rhino integration 2013-10-27 12:46:10 +01:00