18 Commits

Author SHA1 Message Date
shaun
023dd62c88 Make copy of options before each test set.
Some operations modify the options object, which could influence the next
test set.
Modified the test labels in the output to include the
folder (to distinguish between the normal and BOM tests).
Modified warning message from data-uri file-not-found to include the
filename.
2015-01-14 08:26:39 -08:00
shaun
7f8026284a Remove BOM in imports.
Modified tests to run against a copy of the test files with BOMs inserted
into each .less and .css file (the copies are generated automatically if
the /test/less-bom folder doesn't exist or is empty).
2015-01-13 20:32:47 -08:00
jurcovicovam
84b1863ddf Support include-path inside data-uri. Related to #1634 and #2275 2015-01-13 15:09:41 +01:00
Luke Page
8ea1e880f2 improve error messages when failing to import for #2375 2015-01-11 16:30:29 +00:00
Luke Page
f47875ea28 some fixes to the tests and warn if render calls the callback multiple times 2015-01-03 14:52:50 +00:00
Luke Page
89c95af070 Fix isSync option, turn browser back to running sychronously and fix many issues that came up 2014-11-22 18:30:36 +00:00
Luke Page
9017cbe2ad improve legacy units to be more consistent (particularly for multiplicaton). Fixes #2276 2014-11-09 14:01:01 +00:00
Luke Page
d9c42e206d seperate out the environments at the top-most-level 2014-09-04 19:11:59 +01:00
XhmikosR
7efbcd31cf Trim trailing whitespace. 2014-03-02 14:06:26 +02:00
Luke Page
0c8e117b85 update readme and rename LESS to Less 2014-02-27 20:22:47 +00:00
Luke Page
e18b274f62 Merge branch 'cache-buster' of https://github.com/bcluca/less.js
Conflicts:
	test/index.js
2014-01-22 21:19:57 +00:00
Luca Bernardo Ciddio
d6244cb3f9 Renamed --cache-buster option to --url-args 2014-01-18 19:26:27 -08:00
Luca Bernardo Ciddio
958716160f Cache buster for url tokens 2014-01-16 21:12:56 -08:00
meri
85197ee577 Merge branch 'master' of https://github.com/less/less.js into rhino
Conflicts:
	.gitattributes
	README.md
	test/index.js
2014-01-14 22:48:46 +01: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
Luke Page
479827b02f add banner option. Fixes #1735 2013-12-22 16:17:52 +00:00
Luke Page
8440773f8a change to use format consistent with the browser and for sourcemaps to take additional variables into account 2013-12-21 11:14:35 +00:00
Luke Page
13f41017ed move the tester into a seperate module so it can be used by other projects 2013-11-20 22:05:34 +00:00