From 5d3d2d79b3e217e3b420e3d56c5e844e5cae5cf1 Mon Sep 17 00:00:00 2001 From: fiddlosopher Date: Sat, 9 Aug 2008 16:51:08 +0000 Subject: Rewrote test suite so it doesn't depend on perl or unix tools. + Replaced old runtests.pl with a Haskell script RunTests.hs. + Added Diff.hs module to be used by RunTests.hs instead of unix 'diff'. + Added test hook to Setup.hs, so tests may be run from cabal. + Changed Makefile's 'test' target to run tests via cabal. + Removed old generate.sh. + Since we no longer have 'sed' to filter out raw HTML sections from the docbook writer test, or raw LaTeX sections from the context writer test, we now just include these sections. They can be taken out if it is necessary to process the files. + Updated latex and context writer tests to remove extra spaces after '\\item' + Added a markdown table reader test. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1385 788f1e2b-df1e-0410-8736-df70ead52e1b --- tests/writer.docbook | 129 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 129 insertions(+) (limited to 'tests/writer.docbook') diff --git a/tests/writer.docbook b/tests/writer.docbook index 424141cc9..d2bcac18d 100644 --- a/tests/writer.docbook +++ b/tests/writer.docbook @@ -757,6 +757,135 @@ These should not be escaped: \$ \\ \> \[ \{ +
+ HTML Blocks + + Simple block on one line: + +
+ foo +
+ + + And nested without indentation: + +
+
+
+ foo +
+
+
+ bar +
+
+ + + Interpreted markdown in a table: + + + + + + +
+ This is emphasized + + And this is strong +
+ + + + + Here's a simple block: + +
+ + foo +
+ + + This should be a code block, though: + + +<div> + foo +</div> + + + As should this: + + +<div>foo</div> + + + Now, nested: + +
+
+
+ + foo +
+
+
+ + + This should just be an HTML comment: + + + + + Multiline: + + + + + + + Code block: + + +<!-- Comment --> + + + Just plain comment, with trailing spaces on the line: + + + + + Code: + + +<hr /> + + + Hr's: + +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
Inline Markup -- cgit v1.2.3