Commit Graph

230 Commits

Author SHA1 Message Date
Konstantin Käfer
bab332e1be move xml comparison to helper 2011-01-26 17:56:16 -05:00
Tom MacWright
e812970561 Merge branch 'master' of github.com:developmentseed/mess.js 2011-01-26 17:23:37 -05:00
Tom MacWright
034ac56b3d Adding speed tests 2011-01-26 17:13:19 -05:00
Konstantin Käfer
2ab2160f9d complex test that partially overrides other rules and includes many edge cases 2011-01-26 17:07:19 -05:00
Konstantin Käfer
abbc323fee completely rework selector splitting to accomodate for all edge cases 2011-01-26 16:59:18 -05:00
Tom MacWright
2462db72ec Adding external image tests 2011-01-26 12:55:00 -05:00
Tom MacWright
0c6830b13e Test for remote resources. Fixes #27. 2011-01-26 12:53:57 -05:00
Konstantin Käfer
d772884d13 Merge branch 'master' of github.com:developmentseed/mess.js 2011-01-26 11:35:10 -05:00
Konstantin Käfer
51f12c9198 split up zoomlevels into a separate thing. they are no longer in the filters array 2011-01-26 11:34:51 -05:00
Tom MacWright
314035e5d7 Fixing renderer code style. 2011-01-26 11:31:35 -05:00
Tom MacWright
5b73415aeb Adding background color attribute test. 2011-01-26 11:19:10 -05:00
Tom MacWright
9c63244438 Adding cross-stylesheet variable tests. 2011-01-26 11:14:09 -05:00
Tom MacWright
345f3ddf97 Adding simple variable test 2011-01-26 10:57:04 -05:00
Konstantin Käfer
5bd5b0fe9d handle partial overrides correctly 2011-01-25 19:09:02 -05:00
Konstantin Käfer
d155a5ad5e add individual rules in the test for now until we implemented merging 2011-01-25 18:41:47 -05:00
Konstantin Käfer
d27a9cf2d1 test zoomlevels 2011-01-25 18:38:46 -05:00
Konstantin Käfer
7798757cb6 always assert 2011-01-25 18:14:40 -05:00
Konstantin Käfer
27c52cd77c use .result instead of .xml 2011-01-25 18:09:46 -05:00
Konstantin Käfer
903f6ffa92 test comments without spaces 2011-01-25 18:06:07 -05:00
Konstantin Käfer
4ea6e22626 use console.warn instead of console.log for error messages 2011-01-25 18:04:31 -05:00
Konstantin Käfer
5efdd4adec Merge branch 'master' of github.com:developmentseed/mess.js 2011-01-25 17:42:34 -05:00
Konstantin Käfer
5c9f7e7446 remove old tests 2011-01-25 17:41:53 -05:00
Tom MacWright
bf349d6799 Merge branch 'master' of github.com:developmentseed/mess.js 2011-01-25 17:38:36 -05:00
Tom MacWright
9a308f6568 Fontset tests. 2011-01-25 17:38:32 -05:00
Konstantin Käfer
62baf1c12d support running individual tests 2011-01-25 17:37:55 -05:00
Konstantin Käfer
2cac316875 make test works when there is only one layer in the mml file 2011-01-25 17:12:45 -05:00
Konstantin Käfer
cdeeeb4bbe change external to local 2011-01-25 17:09:06 -05:00
Konstantin Käfer
d4815d9386 don't use localhost 2011-01-25 17:08:27 -05:00
Konstantin Käfer
21be74b487 ignore absolute paths in test 2011-01-25 15:49:22 -05:00
Konstantin Käfer
53ba7f6bd6 use smaller test file to have tests run faster 2011-01-25 14:54:03 -05:00
Konstantin Käfer
86ffbd87a1 test file 2011-01-25 14:43:45 -05:00
Konstantin Käfer
1e17152cf0 use different callbacks for error and success 2011-01-25 14:38:37 -05:00
Konstantin Käfer
5a4184882a fix #60: don't download the same file twice 2011-01-25 14:17:08 -05:00
Konstantin Käfer
b5dbd8f3b3 update test to reflect changes in filter simplification 2011-01-25 14:16:25 -05:00
Konstantin Käfer
5d95476950 test for file contents with md5 and also test remote non-unzipped file 2011-01-25 11:16:05 -05:00
Konstantin Käfer
8bd0442794 test remote zip files 2011-01-25 10:56:00 -05:00
Konstantin Käfer
02b0aedb1b test External more thoroughly 2011-01-25 10:47:31 -05:00
Konstantin Käfer
f313d50ef1 adapt test to new External api 2011-01-25 10:11:49 -05:00
Konstantin Käfer
f4f960770c pass in an env object 2011-01-24 19:06:01 -05:00
Konstantin Käfer
73044781e2 parse xml for comparison 2011-01-24 18:50:27 -05:00
Konstantin Käfer
ed38139c0b refactor external to make tests working 2011-01-24 17:23:18 -05:00
Konstantin Käfer
f7c0b71fbe Merge branch 'master' of github.com:developmentseed/mess.js
Conflicts:
	test/specificity.js
	test/specificity/filters_and_ids.result
2011-01-24 10:39:45 -05:00
Tom MacWright
559e755699 Fixing filters and ids test for attachments 2011-01-24 10:28:26 -05:00
Tom MacWright
c46da8ac5e Fixing spec test for toMSS - toList transition 2011-01-24 10:26:22 -05:00
Tom MacWright
e18ae539fc Cleanining up unzip test 2011-01-24 10:23:58 -05:00
Konstantin Käfer
9fd287ef77 cleanup test a bit 2011-01-24 09:59:27 -05:00
Konstantin Käfer
8fabfc0f6a Merge branch 'unstable'
Conflicts:
	.ndistro
	bin/messc
	lib/mess/index.js
	lib/mess/parser.js
	lib/mess/renderer.js
	lib/mess/tree/comparison.js
	lib/mess/tree/dimension.js
	lib/mess/tree/filter.js
	lib/mess/tree/operation.js
	lib/mess/tree/reference.js
	lib/mess/tree/rule.js
	lib/mess/tree/ruleset.js
	lib/mess/tree/variable.js
	test/mess-test.js
2011-01-21 19:00:00 -05:00
Konstantin Käfer
3948da7091 move shared functionality to test helper 2011-01-21 13:20:57 -05:00
Konstantin Käfer
76c51a34d6 fix tests to accomodate for updated zoom level parsing 2011-01-21 13:00:59 -05:00
Konstantin Käfer
40f7cfbc7a Use diff to visualize results 2011-01-21 12:59:09 -05:00
Dane Springmeyer
1423859aca add files for support for node-unzip, new espresso test, and support for reading local zipped shapefiles 2011-01-20 19:06:38 -05:00
Dane Springmeyer
3d6443c6c5 support for node-unzip, new espresso test, and support for reading local zipped shapefiles 2011-01-20 18:56:54 -05:00
Konstantin Käfer
91a15e7008 test specificity sort for filters 2011-01-20 18:10:59 -05:00
Konstantin Käfer
7c45abd005 refactor test so that we run a separate test for each file 2011-01-20 18:05:35 -05:00
Konstantin Käfer
03df74d7a0 more tests 2011-01-20 18:05:27 -05:00
Konstantin Käfer
b444f5d8cf test specificitiy 2011-01-20 17:54:51 -05:00
Konstantin Käfer
55ffc3a53d we don't want that in the root folder 2011-01-20 15:11:44 -05:00
Konstantin Käfer
48a2caba3b don't run this test, we're currently refactoring the whole generation anyway 2011-01-20 15:07:49 -05:00
Konstantin Käfer
1c1055cae6 add fake result. we're reworking the tests in the unstable branch
Conflicts:

	test/mess/nested_multiple.mss
2011-01-20 14:59:46 -05:00
Konstantin Käfer
c72aed5b11 update test framework to use expresso 2011-01-20 14:59:07 -05:00
Konstantin Käfer
34d15daf29 add fake result. we're reworking the tests in the unstable branch 2011-01-20 14:56:39 -05:00
Konstantin Käfer
d0ab75f84b update test framework to use expresso 2011-01-20 14:41:27 -05:00
Konstantin Käfer
e588ad601f scales added to example 2011-01-19 15:51:31 -05:00
Konstantin Käfer
f10e8a6cd8 more complex example with listing what values each layer should get 2011-01-19 14:06:46 -05:00
Konstantin Käfer
1e92b20101 split up multiple selectors into separate styles 2011-01-19 12:27:51 -05:00
Konstantin Käfer
2952bc1930 selector_cache is gone in this branche 2011-01-19 12:23:55 -05:00
Konstantin Käfer
5241f62bfd update test runner to be more verbose and show what failed on errors
uses node-xml2js to compare xml files
use ndistro to install dependencies

Conflicts:

	lib/mess/parser.js
	test/mess-test.js
2011-01-19 12:22:24 -05:00
Konstantin Käfer
f899909e1d update test runner to be more verbose and show what failed on errors
uses node-xml2js to compare xml files
use ndistro to install dependencies
2011-01-19 12:16:50 -05:00
Tom MacWright
e6f33a8ba3 Adding negation example 2011-01-19 12:10:03 -05:00
Tom MacWright
89b94aa044 Aggregation test 2011-01-19 12:05:37 -05:00
Tom MacWright
88b384caf4 Adding zoom levels example 2011-01-19 11:46:37 -05:00
Tom MacWright
20f0ed366d Adding flattenRules function. 2011-01-18 15:35:46 -05:00
Tom MacWright
1f8a449a7f Adding filter fallback example 2011-01-18 14:47:14 -05:00
Tom MacWright
3ca728ae96 Updating nested multiple selectors 2011-01-18 14:31:29 -05:00
Tom MacWright
d248372172 Starting AST work 2011-01-17 16:17:00 -05:00
Konstantin Käfer
6d72ffe07a only use .mss files; ignore files with further endings 2011-01-17 15:59:38 -05:00
Tom MacWright
b6e8148a84 Adding specificity code 2011-01-17 14:22:02 -05:00
Tom MacWright
96d19204cf Simplifying nested example, removing compress variables and frames code. 2011-01-17 13:52:13 -05:00
Tom MacWright
8e615e549f Updating testing, adding docs 2011-01-17 13:19:14 -05:00
Tom MacWright
06a0e56e90 Rewriting, updating test framework 2011-01-17 12:08:16 -05:00
Tom MacWright
008abe40d7 Adding support for multiple filtered selectors 2011-01-14 18:42:58 -05:00
Tom MacWright
e035a8986e Adding default tilemill stylesheet to testing dir 2011-01-13 14:25:12 -05:00
Tom MacWright
7c0d065f9c Removing old test files 2011-01-13 14:14:48 -05:00
Tom MacWright
97a4e8ae85 Removing old less and css files. 2011-01-13 14:11:06 -05:00
Tom MacWright
e5ba37d71e Full rename to mess 2011-01-05 14:23:28 -05:00
Tom MacWright
6cf86b1a64 Updating world samples 2011-01-05 13:11:36 -05:00
Tom MacWright
41904a668a Support embedded styles. Fixes #10. Needs testing for non-embedded styles 2011-01-05 12:46:31 -05:00
Tom MacWright
5d9d41a815 Adding json map examples 2011-01-04 13:07:49 -05:00
Tom MacWright
094628e295 Less-confusing test file 2011-01-03 15:28:45 -05:00
Tom MacWright
177322708f Adding examples for testing purposes 2011-01-03 14:46:31 -05:00
James A. Rosen
c58d8aa156 fixed @media and @page parsing problem 2010-11-27 06:34:17 +08:00
Ian Beck
f4437cb8f3 Modified selector regexen to support CSS character escapes, added test files to verify change
Closes #78, closes #105
2010-11-27 06:07:14 +08:00
cloudhead
a985924d68 (new) support for unquoted data URIs in url() 2010-11-20 02:17:35 -05:00
Felix Geisendörfer
8e846a3b11 Fix test suite
Replaced old fs.open/read wrapper with fs.readFile.
2010-10-13 14:09:00 +08:00
cloudhead
4d6335b4e2 make strings behave like other nodes.
- rename 'content' to 'value'
2010-07-25 16:41:05 -04:00
cloudhead
ba2cfe9265 cleanup ruleset evaluation
- remove eval() from ruleset.toCSS
- fix multiple mixin calls with different arguments yeilding the same
  output.
2010-07-23 19:46:48 -04:00
cloudhead
b71942966d explicit evaluation of variables within js 2010-07-09 21:31:26 +02:00
cloudhead
4e46b104f1 test e() with javascript 2010-07-08 19:30:36 +02:00
cloudhead
bf6d68345d preliminary support for evaluating JavaScript code inside LESS 2010-07-08 19:04:36 +02:00
cloudhead
00bbf81471 support parametric mixins with # 2010-07-08 00:27:32 +02:00