From 1918cd26a16bf6051b3fcc791e1f260bad846c72 Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Wed, 20 Aug 2014 14:32:09 -0400 Subject: Refactored test framework to use YAML config files rather than INI. Fixes #333. --- tests/php/extra/test.cfg | 13 +++--- tests/php/test.cfg | 100 +++++++++++++++++++++++------------------------ 2 files changed, 57 insertions(+), 56 deletions(-) (limited to 'tests/php') diff --git a/tests/php/extra/test.cfg b/tests/php/extra/test.cfg index 9c10984..c6011d6 100644 --- a/tests/php/extra/test.cfg +++ b/tests/php/extra/test.cfg @@ -1,6 +1,7 @@ -[DEFAULT] -extensions=extra -normalize=1 -input_ext=.text -output_ext=.xhtml -skip=1 +DEFAULT: + extensions: + - extra + normalize: True + input_ext: .text + output_ext: .xhtml + skip: True diff --git a/tests/php/test.cfg b/tests/php/test.cfg index 8b64d74..70c2601 100644 --- a/tests/php/test.cfg +++ b/tests/php/test.cfg @@ -1,50 +1,50 @@ -[DEFAULT] -normalize=1 -input_ext=.text -output_ext=.xhtml -#skip=1 - -[Quotes in attributes] -# attributes get output in differant order -skip=1 - -[Inline HTML (Span)] -# Backtick in raw HTML attribute TODO: fixme -skip=1 - -[Backslash escapes] -# Weird whitespace issue in output -skip=1 - -[Ins & del] -# Our behavior follows markdown.pl I think PHP is wrong here -skip=1 - -[Auto Links] -# TODO: fix raw HTML so is doesn't match as a
. -skip=1 - -[Empty List Item] -# We match markdown.pl here. Maybe someday we'll support this -skip=1 - -[Headers] -# TODO: fix headers to not require blank line before -skip=1 - -[Mixed OLs and ULs] -# We match markdown.pl here. I think PHP is wrong here -skip=1 - -[Emphasis] -# We have various minor differances in combined & incorrect em markup. -# Maybe fix a few of them - but most aren't too important -skip=1 - -[Code block in a list item] -# We match markdown.pl - not sure how php gets that output?? -skip=1 - -[PHP-Specific Bugs] -# Not sure what to make of the escaping stuff here. Why is PHP not removing a blackslash? -skip=1 +DEFAULT: + normalize: True + input_ext: .text + output_ext: .xhtml + #skip: True + +Quotes in attributes: + # attributes get output in differant order + skip: True + +Inline HTML (Span): + # Backtick in raw HTML attribute TODO: fixme + skip: True + +Backslash escapes: + # Weird whitespace issue in output + skip: True + +Ins & del: + # Our behavior follows markdown.pl I think PHP is wrong here + skip: True + +Auto Links: + # TODO: fix raw HTML so is doesn't match as a
. + skip: True + +Empty List Item: + # We match markdown.pl here. Maybe someday we'll support this + skip: True + +Headers: + # TODO: fix headers to not require blank line before + skip: True + +Mixed OLs and ULs: + # We match markdown.pl here. I think PHP is wrong here + skip: True + +Emphasis: + # We have various minor differances in combined & incorrect em markup. + # Maybe fix a few of them - but most aren't too important + skip: True + +Code block in a list item: + # We match markdown.pl - not sure how php gets that output?? + skip: True + +PHP-Specific Bugs: + # Not sure what to make of the escaping stuff here. Why is PHP not removing a blackslash? + skip: True -- cgit v1.2.3