Commit graph

21 commits

Author SHA1 Message Date
Dave Davenport
aaea2b2c8a Add hsl and cmyk test, add extra error checking 2017-05-10 20:54:16 +02:00
Dave Davenport
cf8796ccd3 Move position parsing to bison file. 2017-05-09 13:53:45 +02:00
Quentin Glidic
bc295bddd5
tests: Properly define placeholders
And include all needed headers, to catch misdefinitions.

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-04 17:05:27 +02:00
Quentin Glidic
cdc352edf9
tests: Mark static functions as static
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-04 17:05:24 +02:00
Quentin Glidic
1bbb19b4cb
tests: Drop leftover placeholder functions
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-05-04 14:55:58 +02:00
Dave Davenport
651c0bf03d [Test,Lexer] Add a newline test 2017-04-30 20:15:49 +02:00
Dave Davenport
aba295647a [Test] Convert theme-parser test to use libcheck. 2017-04-30 17:44:53 +02:00
Dave Davenport
b1ecb6ca77 [Test] Fix test. 2017-04-27 00:03:59 +02:00
Dave Davenport
d3594e275e [Test] test configuration block in config. 2017-04-26 23:47:58 +02:00
Dave Davenport
e16d8f755a [Test] Fixing test 2017-04-26 23:36:27 +02:00
Dave Davenport
ac2390c76d [Lexer] More tests.
Fix return of double.
2017-04-26 23:24:14 +02:00
Dave Davenport
484aa35716 [Lexer] Fix color parsing. 2017-04-26 22:45:14 +02:00
Dave Davenport
d79423f2cf [Lexer] Fix wrong division factor for #RGB color parsing (15 not 16) 2017-04-26 18:43:49 +02:00
Dave Davenport
38f91e8953 [Test,Lexer] Add test for distance parsing, fix bug in em (double)
* Parsed as int, not double.
2017-04-26 08:05:04 +02:00
Dave Davenport
7291c1f497 [Test,Theme] Add extra test for wind direction and newline and link 2017-04-26 07:46:01 +02:00
Dave Davenport
470057be17 Add some tests importing (and failing) file. 2017-04-25 23:34:48 +02:00
Quentin Glidic
9a68b22009
Fix licenses headers
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-04-15 12:32:05 +02:00
Dave Davenport
898b5466f0 Fix memory leak on parser fail. 2017-04-06 09:12:03 +02:00
Dave Davenport
cada24250c [ThemeParserTest] Initialize the widget name to NULL 2017-04-04 23:26:35 +02:00
Dave Davenport
c40bb4fc35 Fix small bug and extend test for theme parser 2017-04-04 23:02:08 +02:00
Dave Davenport
abaae5f403 Add (initial) check for theme parser. 2017-04-04 08:56:19 +02:00