summaryrefslogtreecommitdiff
path: root/tests/RunTests.hs
Commit message (Collapse)AuthorAge
* Added normalize funcion to latex citation tests.Nathan Gass2010-12-14
| | | | | | | This is necessary because converting from markdown to latex correctly changes hyphens to en-dashes and some spaces to non-breaking spaces. Converting back to markdown does not undo this changes, and so the tests have to undo them.
* Added citation tests.Nathan Gass2010-12-14
| | | | | Added tests for latex citation writer and reader, markdown citation writer and additional markup in citations.
* Markdown reader: handle curly quotes better.John MacFarlane2010-12-06
| | | | | | | | Previously, curly quotes were just parsed literally, leading to problems in some output formats. Now they are parsed as Quoted inlines, if --smart is specified. Resolves Issue #270.
* Added tests.Puneeth Chaganti2010-12-04
| | | | | | | + Added tables.org and writer.org to tests. + Added org.template to templates. + Changed RunTests.hs as required. + Minor changes to Org writer.
* Merge branch 'citeproc' into master.John MacFarlane2010-12-03
|\ | | | | | | | | Conflicts: src/Text/Pandoc/Definition.hs
| * Revamped tests, using markdown output instead of HTML.John MacFarlane2010-11-28
| | | | | | | | This is easier to inspect.
| * Merge branch 'master' into citeprocJohn MacFarlane2010-11-27
| |\
| * | Set HOME in RunTests.John MacFarlane2010-11-26
| | | | | | | | | | | | Patch from Nathan Gass.
| * | Changed markdown citation tests.John MacFarlane2010-11-22
| | | | | | | | | | | | | | | | | | Now the tests are produced in HTML format (so we can see all formatting). Also, we produce them in three different style, chicago-author-date, ieee, and mhra.
| * | Replaced --biblio-file with --bibliography, removed --biblio-format.John MacFarlane2010-11-13
| | | | | | | | | | | | | | | | | | | | | Bibliography format is guessed from the file extension of the bibliography. Also, the bibliography entries are now read during option parsing.
| * | Set LANG in test runner.John MacFarlane2010-11-12
| | |
| * | Added material for citation tests.John MacFarlane2010-11-12
| | | | | | | | | | | | | | | Currently they fail with a multibyte error from citeproc-hs when it tries to read locale.
* | | Textile reader: parse raw by default.John MacFarlane2010-12-03
| | | | | | | | | | | | | | | | | | It's part of the textile spec to allow raw HTML, just as with markdown. -R is no longer needed in test suite.
* | | more support for Textile reader (explicit links, images), tests and cabal ↵Paul Rivier2010-12-03
| |/ |/| | | | | entries
* | Added Textile writer module.John MacFarlane2010-05-17
|/
* No longer need to set LANG in RunTests.John MacFarlane2010-05-06
|
* RunTests: use UTF8 no matter what the locale.John MacFarlane2010-04-25
|
* Added plain writer.fiddlosopher2010-03-18
| | | | | | | | Text.Pandoc.Writers.Markdown now exports a writePlain, which writes plain text without links, pictures, or special formatting (not even markdown conventions). git-svn-id: https://pandoc.googlecode.com/svn/trunk@1907 788f1e2b-df1e-0410-8736-df70ead52e1b
* Reformatting and comments in RunTests.hs. (Eric Kow)fiddlosopher2010-02-27
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1848 788f1e2b-df1e-0410-8736-df70ead52e1b
* Set LANG to a UTF-8 locale in RunTests.hs.fiddlosopher2010-02-21
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1844 788f1e2b-df1e-0410-8736-df70ead52e1b
* No longer need to set 'HOME' in RunTests.hs.fiddlosopher2010-02-21
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1843 788f1e2b-df1e-0410-8736-df70ead52e1b
* Incomplete support for RST tables (simple and grid).fiddlosopher2010-02-20
| | | | | | | Thanks to Eric Kow. Note TODO for future improvement in RST reader code comments. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1840 788f1e2b-df1e-0410-8736-df70ead52e1b
* Fixed RunTests so it doesn't require data files to have been installed.fiddlosopher2010-01-14
| | | | | | The trick: use 'pandoc --data-dir ..' git-svn-id: https://pandoc.googlecode.com/svn/trunk@1810 788f1e2b-df1e-0410-8736-df70ead52e1b
* Removed unneeded import from RunTests.hsfiddlosopher2009-12-31
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1752 788f1e2b-df1e-0410-8736-df70ead52e1b
* Changed RunTests.hs to use the Diff library.fiddlosopher2009-12-31
| | | | | | | | | | | | | | | | Previously a copy of Diff.hs was included. But it is better to use the compiled, installed version, since speed can be a problem in some cases. This change means that 'cabal test' presupposes that the Diff library is installed. Removed tests/Diff.hs from cabal file. Changed RunTests to use local environment. We need at least HOME, so pandoc can find its data directory. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1672 788f1e2b-df1e-0410-8736-df70ead52e1b
* Check to see if highlighting supported and run lhs tests if it is.fiddlosopher2009-02-14
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1542 788f1e2b-df1e-0410-8736-df70ead52e1b
* Only run lhs tests if 'lhs' argument passed to RunTests.hs.fiddlosopher2009-02-14
| | | | | | | | | Reason: these tests assume highlighting support has been compiled in. So, to avoid unexpected failures, we shouldn't run them by default. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1541 788f1e2b-df1e-0410-8736-df70ead52e1b
* Added lhs reader tests. (One case fails.)fiddlosopher2009-02-14
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1539 788f1e2b-df1e-0410-8736-df70ead52e1b
* Added tests for lhs writers.fiddlosopher2009-02-07
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1537 788f1e2b-df1e-0410-8736-df70ead52e1b
* Bugs fixed in RunTests.hs:fiddlosopher2008-08-23
| | | | | | | | | + 'r' -> '\r' + use a strict version of readFile to make sure file is closed and can be removed git-svn-id: https://pandoc.googlecode.com/svn/trunk@1413 788f1e2b-df1e-0410-8736-df70ead52e1b
* Modified RunTests.hs to strip out '\r' so it will work on Windows.fiddlosopher2008-08-14
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1412 788f1e2b-df1e-0410-8736-df70ead52e1b
* Allow newline before URL in markdown link references. Resolves Issue #81.fiddlosopher2008-08-10
| | | | | | | | Added tests for this issue in new "markdown-reader-more" tests. Changed RunTests.hs to run these tests. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1401 788f1e2b-df1e-0410-8736-df70ead52e1b
* Rewrote test suite so it doesn't depend on perl or unix tools.fiddlosopher2008-08-09
+ 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