summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAge
* Fixed problem with strikout in LaTeX headers with hyperref.John MacFarlane2011-01-19
| | | | | Added a command to the latex template to disable \sout inside pdf strings. Thanks to Joost Kremers for the fix.
* Show Haskell-readable version of input string in test failure.John MacFarlane2011-01-19
|
* Unit tests: On failure, print the input string.John MacFarlane2011-01-19
|
* Added normalize in latex reader tests.John MacFarlane2011-01-18
|
* Revamped tests with new =: and =?> operators + builder.John MacFarlane2011-01-18
| | | | Left in a couple failing tests for demonstration purposes.
* Replaced --no-citeproc with --natbib in tests.John MacFarlane2011-01-16
|
* Merge branch 'tests'John MacFarlane2011-01-15
|\
| * Minor code cleanup.John MacFarlane2011-01-14
| |
| * Keep Tests.Arbitrary but remove quickcheck tests for now.John MacFarlane2011-01-14
| | | | | | | | | | Remove Tests.Shared. Remove dependency on QuickCheck.
| * Merge branch 'master' of github.com:jgm/pandoc into testsJohn MacFarlane2011-01-14
| |\
| * | Added quickcheck tests for normalize in Shared.John MacFarlane2011-01-14
| | |
| * | Added Tests/Arbitrary.hs, with Arbitrary instances.John MacFarlane2011-01-13
| | |
| * | Adjusted source to 80-column limit.John MacFarlane2011-01-13
| | |
| * | Moved Tests.Shared -> Tests.Helpers.John MacFarlane2011-01-13
| | | | | | | | | | | | | | | Tests.Shared would be the natural place to put tests for functions in Text.Pandoc.Shared.
| * | Fixed bug in markdown-citations.mhra.txt expected test output.John MacFarlane2011-01-13
| | | | | | | | | | | | This failing test was a test suite bug, not a pandoc or citeproc bug.
| * | Generalized latexTestWithState to readerTestWithState.Nathan Gass2011-01-12
| | |
| * | Merge branch 'tests' of github.com:xabbu42/pandoc into testsNathan Gass2011-01-12
| |\ \
| | * | test diff output: put +/- at beginning of line.John MacFarlane2011-01-12
| | | |
| * | | Reordered test files.Nathan Gass2011-01-12
| |/ /
| * | Added line numbers to diff output in tests.John MacFarlane2011-01-12
| | |
| * | Updated lhs tests for new positioning of <title>.John MacFarlane2011-01-12
| | |
| * | Merge branch 'master' into testsJohn MacFarlane2011-01-12
| |\ \
| * | | Remove some accidentally commited functions. Fixed a type and alignment.Nathan Gass2011-01-12
| | | |
| * | | Added some basic testing infrastructure and some latex reader tests.Nathan Gass2011-01-12
| | | |
| * | | Started implementing splitted test suite.Nathan Gass2011-01-12
| | | | | | | | | | | | | | | | | | | | | | | | Moved old tests into Old.hs and added new simple test-pandoc.hs for loading and grouping together tests from different files. Later commits will add more testfiles to the suite with more modular tests.
| * | | test-pandoc: Improved header for diff output.John MacFarlane2011-01-12
| | | |
| * | | test-pandoc: More informative diff output on test failure.John MacFarlane2011-01-12
| | | | | | | | | | | | | | | | | | | | Now the test suite tells you the exact command that was run, and the file containing the expected output.
| * | | test-pandoc: Relocated --columns=80 to just where it's needed.John MacFarlane2011-01-12
| | | | | | | | | | | | | | | | | | | | We only need it for certain table tests, because of the relative alignments.
| * | | test-pandoc: Fixed + and - in diff output, which were reversed.John MacFarlane2011-01-12
| | | |
| * | | test-pandoc: More diff-like diffs in case of test failure.John MacFarlane2011-01-12
| | | |
| * | | Improvements to test suite.John MacFarlane2011-01-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + You can now specify glob patterns after 'cabal test'; e.g. 'cabal test latex' will only run the latex tests. + Instead of detecting highlighting support in Setup.hs, we now detect it in test-pandoc, by looking to see if 'languages' is null. + We now verify the lhs readers against the lhs-test.native, normalizing with 'normalize'. This makes more sense than verifying against HTML, which also brings in the HTML writer. + Added lhsn-test.nohl.{html,html+lhs}, so we can do the lhs tests whether or not highlighting has been installed.
| * | | Removed outdated comments.Nathan Gass2011-01-11
| | | |
| * | | Moved test-pandoc.hs to tests directory.Nathan Gass2011-01-11
| | | |
* | | | Fixed lhs tests for new position of <title> after <meta>s.John MacFarlane2011-01-15
| | | |
* | | | LaTeX writer: Escape strings in \href{..}.John MacFarlane2011-01-14
| |_|/ |/| | | | | | | | | | | Previously strings weren't escaped, so %5D would be interpreted as a LaTeX comment!
* | | LateX writer: In nonsimple tables, put cells in \parbox.John MacFarlane2011-01-14
| | | | | | | | | | | | | | | | | | | | | Otherwise we can get problems with linebreaks, and cell spacing isn't right. Thanks to Jef Allbright for pointing out the problem.
* | | Fixed bug in markdown-citations.mhra.txt expected test output.John MacFarlane2011-01-13
| |/ |/| | | | | This failing test was a test suite bug, not a pandoc or citeproc bug.
* | Improvements to --html5 support:John MacFarlane2011-01-11
|/ | | | | | | | | | | + <nav> for TOC, <figure> for figures, type attribute in <ol>. + Don't add math javascript in html5. + Use style attributes instead of deprecated width, align. + html template: move <title> after <meta>. Note: charset needs to be declared before title. + slidy and s5 templates: move <title> after <meta>. + html template: Added link to html5 shim for IE. + Make --html5 have an effect only for 'html' writer (not s5, slidy, epub).
* LaTeX reader: Support simple tables.John MacFarlane2011-01-07
|
* pandoc: Add newline to output unless standalone.John MacFarlane2011-01-06
| | | | | | | This avoids output that does not end with a newline, which is inconvenient when working with many tools. Updated tests accordingly.
* LHS test changes for new wrapping & highlighting-kate version.John MacFarlane2011-01-06
|
* Fixed lhs-test.markdown for new wrapping.John MacFarlane2011-01-06
|
* LaTeX reader: allow spaces btw \\begin or \\end and {.John MacFarlane2011-01-06
|
* Fixed regression in markdown reader.John MacFarlane2011-01-01
| | | | | | | | | | | '(_hi_)' was being parsed with literal underscores (no emphasis). The fix: the 'str' parser now only parses alphanumerics and embedded underscores. All other symbols are handled by the 'symbol' parser. This has a slight effect on the AST, since you'll get [Str "hi",Str ":"] insntead of [Str "hi:"]. But there should not be a visible effect in any of the writers. Thanks to gwern for pointing out the regression.
* New HTML reader using tagsoup as a lexer.John MacFarlane2010-12-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * The new reader is faster and more accurate. * API changes for Text.Pandoc.Readers.HTML: - removed rawHtmlBlock, anyHtmlBlockTag, anyHtmlInlineTag, anyHtmlTag, anyHtmlEndTag, htmlEndTag, extractTagType, htmlBlockElement, htmlComment - added htmlTag, htmlInBalanced, isInlineTag, isBlockTag, isTextTag * tagsoup is a new dependency. * Text.Pandoc.Parsing: Generalized type on readWith. * Benchmark.hs: Added length calculation to force full evaluation. * Updated HTML reader tests. * Updated markdown and textile readers to use the functions from the HTML reader. * Note: The markdown reader now correctly handles some cases it did not before. For example: <hr/> is reproduced without adding a space. <script> a = '<b>'; </script> is parsed correctly.
* Made --smart work with HTML reader.John MacFarlane2010-12-22
| | | | | It did not work before, because - and quotes were gobbled up by the str parser.
* Texinfo writer: Updated to use Pretty.John MacFarlane2010-12-22
|
* Man writer: updated to use Pretty.John MacFarlane2010-12-22
|
* OpenDocument writer: Updated to use Pretty.John MacFarlane2010-12-21
|
* Docbook writer: Updated to use Pretty.John MacFarlane2010-12-21
|