Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Tests for CSS comments. (Some test data may be wrong here. I'm not absolutly ↵ | Michael Drake | 2009-01-20 | 1 | -0/+60 | |
| | | | | | | certain what's valid.) svn path=/trunk/libcss/; revision=6152 | |||||
* | Tests for unknown properties. | Michael Drake | 2009-01-20 | 1 | -0/+22 | |
| | | | | svn path=/trunk/libcss/; revision=6151 | |||||
* | Double property test. | Michael Drake | 2009-01-20 | 1 | -0/+9 | |
| | | | | svn path=/trunk/libcss/; revision=6150 | |||||
* | Another test harness for parser tests. This one compares the reserialised ↵ | John Mark Bell | 2009-01-19 | 3 | -0/+75 | |
| | | | | | | | | | output, thus allowing us to sensibly test handling of invalid input and suchlike. Also, some rudimentary tests using this harness, and some documentation of the test data format. This doesn't use the dumping code from the library itself, as that's likely to disappear. svn path=/trunk/libcss/; revision=6144 | |||||
* | Fix test data for voice-family with ident list -- documentation was wrong. | John Mark Bell | 2009-01-18 | 1 | -1/+1 | |
| | | | | svn path=/trunk/libcss/; revision=6137 | |||||
* | Fix text-indent test data -- missing 0 | John Mark Bell | 2009-01-18 | 1 | -1/+1 | |
| | | | | svn path=/trunk/libcss/; revision=6136 | |||||
* | Fix play-during test data -- modifiers must appear *after* the URI | John Mark Bell | 2009-01-18 | 1 | -5/+5 | |
| | | | | svn path=/trunk/libcss/; revision=6129 | |||||
* | Fix test data for pause-{after,before} -- default time units are seconds, ↵ | John Mark Bell | 2009-01-18 | 1 | -3/+3 | |
| | | | | | | not milliseconds. svn path=/trunk/libcss/; revision=6126 | |||||
* | Fix page-break-inside test data -- documentation was wrong. | John Mark Bell | 2009-01-18 | 1 | -2/+2 | |
| | | | | svn path=/trunk/libcss/; revision=6125 | |||||
* | Fix expected bytecode for font-family with ident list. | John Mark Bell | 2009-01-18 | 1 | -16/+8 | |
| | | | | | | Remove upper-greek from list-style-type -- documentation was wrong. svn path=/trunk/libcss/; revision=6124 | |||||
* | Test cases for properties 50 to 53. (All properties now have test cases.) | Michael Drake | 2009-01-17 | 1 | -0/+88 | |
| | | | | svn path=/trunk/libcss/; revision=6118 | |||||
* | Test cases for properties 40 to 4f. | Michael Drake | 2009-01-17 | 1 | -9/+689 | |
| | | | | svn path=/trunk/libcss/; revision=6117 | |||||
* | Test cases for properties 30 to 3f. | Michael Drake | 2009-01-17 | 1 | -0/+569 | |
| | | | | svn path=/trunk/libcss/; revision=6114 | |||||
* | Tes cases for properties 20 to 2f. | Michael Drake | 2009-01-17 | 1 | -1/+608 | |
| | | | | svn path=/trunk/libcss/; revision=6113 | |||||
* | Test cases for properties 1b - 1f. | Michael Drake | 2009-01-17 | 1 | -0/+340 | |
| | | | | svn path=/trunk/libcss/; revision=6112 | |||||
* | Use our own printing routine, rather than relying on snprintf to do the ↵ | John Mark Bell | 2009-01-17 | 1 | -5/+4 | |
| | | | | | | | | right thing wrt rounding. Update test data in line with this. That said, it would appear that values <=-(2^21) get truncated to -2097151.999. This probably wants investigating. svn path=/trunk/libcss/; revision=6111 | |||||
* | Make makefixed.pl round to nearest integer, rather than truncating towards zero. | John Mark Bell | 2009-01-17 | 2 | -1/+19 | |
| | | | | | | Add a test for negative fractions to properties.dat svn path=/trunk/libcss/; revision=6110 | |||||
* | Also munge the expected output to cater for slight oddity in float parsing | John Mark Bell | 2009-01-16 | 1 | -1/+1 | |
| | | | | svn path=/trunk/libcss/; revision=6108 | |||||
* | Hm, for some reason, we're encoding 0.785 as 0x324, whereas makefixed.pl ↵ | John Mark Bell | 2009-01-16 | 1 | -1/+1 | |
| | | | | | | converts it to 0x323. This needs looking at. For now, munge the testdata so the test passes. svn path=/trunk/libcss/; revision=6106 | |||||
* | Fix test data | John Mark Bell | 2009-01-16 | 1 | -3/+3 | |
| | | | | svn path=/trunk/libcss/; revision=6105 | |||||
* | Test cases for 00 property. | Michael Drake | 2009-01-16 | 1 | -0/+120 | |
| | | | | svn path=/trunk/libcss/; revision=6103 | |||||
* | s/ptr/PTR/g | John Mark Bell | 2009-01-16 | 1 | -2/+2 | |
| | | | | svn path=/trunk/libcss/; revision=6102 | |||||
* | Test cases for properties 15 - 1a. | Michael Drake | 2009-01-16 | 1 | -0/+432 | |
| | | | | svn path=/trunk/libcss/; revision=6101 | |||||
* | Fix test data | John Mark Bell | 2009-01-16 | 1 | -4/+4 | |
| | | | | svn path=/trunk/libcss/; revision=6100 | |||||
* | Fix test data. | John Mark Bell | 2009-01-16 | 1 | -9/+9 | |
| | | | | | | Don't use non UTF-8 encoded characters in the test data. Things get confused. svn path=/trunk/libcss/; revision=6099 | |||||
* | Test cases for 13 & 14. | Michael Drake | 2009-01-16 | 1 | -0/+40 | |
| | | | | svn path=/trunk/libcss/; revision=6096 | |||||
* | Test cases for 10 - 12. | Michael Drake | 2009-01-16 | 1 | -0/+229 | |
| | | | | svn path=/trunk/libcss/; revision=6094 | |||||
* | Fix test data | John Mark Bell | 2009-01-16 | 1 | -1/+1 | |
| | | | | svn path=/trunk/libcss/; revision=6090 | |||||
* | Tests for properties 0b to 0f. | Michael Drake | 2009-01-16 | 1 | -0/+142 | |
| | | | | svn path=/trunk/libcss/; revision=6089 | |||||
* | Fix test data | John Mark Bell | 2009-01-16 | 1 | -5/+5 | |
| | | | | svn path=/trunk/libcss/; revision=6087 | |||||
* | Tests for properties 06 to 0a. | Michael Drake | 2009-01-16 | 1 | -1/+216 | |
| | | | | svn path=/trunk/libcss/; revision=6086 | |||||
* | Make test valid and comment out possible quirk version. | Michael Drake | 2009-01-16 | 1 | -1/+10 | |
| | | | | svn path=/trunk/libcss/; revision=6083 | |||||
* | Fix test data some more -- dimensions are <length,units>, not <units,length> | John Mark Bell | 2009-01-16 | 1 | -6/+6 | |
| | | | | svn path=/trunk/libcss/; revision=6082 | |||||
* | Fix test data | John Mark Bell | 2009-01-16 | 1 | -9/+9 | |
| | | | | svn path=/trunk/libcss/; revision=6080 | |||||
* | Tests for properties 01 to 05. | Michael Drake | 2009-01-16 | 2 | -0/+205 | |
| | | | | svn path=/trunk/libcss/; revision=6077 | |||||
* | Manufacture fixed point values from floats | John Mark Bell | 2009-01-16 | 1 | -0/+11 | |
| | | | | svn path=/trunk/libcss/; revision=6076 | |||||
* | Use oct() instead of hex(). Can now consume binary input. | John Mark Bell | 2009-01-16 | 1 | -1/+1 | |
| | | | | svn path=/trunk/libcss/; revision=6075 | |||||
* | Script to manufacture OPV word from 3 hex values. | John Mark Bell | 2009-01-16 | 1 | -0/+11 | |
| | | | | svn path=/trunk/libcss/; revision=6074 | |||||
* | Basic tests for colour values. | John Mark Bell | 2009-01-14 | 2 | -0/+77 | |
| | | | | svn path=/trunk/libcss/; revision=6066 | |||||
* | Support pointers in the expected bytecode. | John Mark Bell | 2009-01-14 | 2 | -5/+11 | |
| | | | | | | Add a simple test that uses this functionality. svn path=/trunk/libcss/; revision=6065 | |||||
* | @import tests and support in the test harness. | John Mark Bell | 2009-01-14 | 1 | -13/+12 | |
| | | | | svn path=/trunk/libcss/; revision=6063 | |||||
* | at-rule test data. Only @charset for now. | John Mark Bell | 2009-01-14 | 2 | -0/+25 | |
| | | | | svn path=/trunk/libcss/; revision=6061 | |||||
* | More selector tests. | John Mark Bell | 2009-01-13 | 1 | -0/+181 | |
| | | | | svn path=/trunk/libcss/; revision=6056 | |||||
* | Make the automated parser test harness compare selectors | John Mark Bell | 2009-01-13 | 2 | -0/+141 | |
| | | | | | | Some testdata for selectors svn path=/trunk/libcss/; revision=6055 | |||||
* | Point in the direction of the bytecode documentation before someone ↵ | John Mark Bell | 2009-01-12 | 1 | -1/+2 | |
| | | | | | | complains that they don't know what hexnum is meant to represent. svn path=/trunk/libcss/; revision=6054 | |||||
* | Document testdata format | John Mark Bell | 2009-01-12 | 1 | -0/+48 | |
| | | | | svn path=/trunk/libcss/; revision=6053 | |||||
* | Testcase for colour specifiers. Should cover most things. | John Mark Bell | 2009-01-12 | 1 | -0/+19 | |
| | | | | | | This (or something similar) will need migrating to the automated data at some point. svn path=/trunk/libcss/; revision=6052 | |||||
* | Something approximating the beginnings of an automated test harness for the ↵ | John Mark Bell | 2009-01-12 | 2 | -0/+28 | |
| | | | | | | parser. svn path=/trunk/libcss/; revision=6049 | |||||
* | Fix rounding when fractional part is close to 1. | John Mark Bell | 2008-11-24 | 1 | -0/+6 | |
| | | | | | | Add testcase to exercise this. svn path=/trunk/libcss/; revision=5766 | |||||
* | Fix number parsing and make test code automatically determine correctness. | John Mark Bell | 2008-11-24 | 1 | -8/+94 | |
| | | | | | | | More test data, which covers everything. Fix includes in libcss/types.h svn path=/trunk/libcss/; revision=5764 |