aboutsummaryrefslogtreecommitdiffstats
path: root/tests/php
diff options
context:
space:
mode:
authorWaylan Limberg <waylan.limberg@icloud.com>2014-08-20 14:32:09 -0400
committerWaylan Limberg <waylan.limberg@icloud.com>2014-08-20 14:32:09 -0400
commit1918cd26a16bf6051b3fcc791e1f260bad846c72 (patch)
treef213b5a2b87f9424a1a6391a768c3accb66ff810 /tests/php
parente7b6a33f0e3dd37d276a0c18dcbdc62e2c80ed98 (diff)
downloadmarkdown-1918cd26a16bf6051b3fcc791e1f260bad846c72.tar.gz
markdown-1918cd26a16bf6051b3fcc791e1f260bad846c72.tar.bz2
markdown-1918cd26a16bf6051b3fcc791e1f260bad846c72.zip
Refactored test framework to use YAML config files rather than INI. Fixes #333.
Diffstat (limited to 'tests/php')
-rw-r--r--tests/php/extra/test.cfg13
-rw-r--r--tests/php/test.cfg100
2 files changed, 57 insertions, 56 deletions
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 <hr@example.com> as a <hr>.
-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 <hr@example.com> as a <hr>.
+ 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