aboutsummaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* FIX #45: generate two anchors for each nameDavid Waern2008-11-2314-41/+319
| | | | | | We generate two anchor tags for each name, one where we don't escape the name and one where we URI-encode it. This is for compatibility between IE and Opera. Test output is updated.
* HADDOCK_DATA_DIR changed to haddock_datadirDavid Waern2008-11-231-3/+3
|
* Update tests to account for version number bumpDavid Waern2008-11-2333-33/+33
|
* Update testsDavid Waern2008-11-152-2/+2
| | | | For unknown reasons, test output for Bug1 and Test has changed for the better.
* Reflect version bump in test suiteDavid Waern2008-11-1533-33/+33
|
* Output version info before running testsDavid Waern2008-11-041-0/+2
|
* Remove .ref files from tests/output/David Waern2008-11-0417-5805/+2
|
* Bump version numberDavid Waern2008-11-0433-33/+33
|
* Follow change to ExportDecl in frames codeDavid Waern2008-11-0449-15/+94
|
* Add tests/TH.hsDavid Waern2008-11-041-0/+8
|
* Add failing test for template haskell crashDavid Waern2008-11-031-0/+7
|
* Make named doc comments into ExportDoc instead of ExportDeclDavid Waern2008-10-272-0/+103
| | | | | Fixes a crash when processing modules without export lists containing named docs.
* Fix #61David Waern2008-10-164-0/+137
| | | | | | | | | | | | | | | | | | | We were not getting docs for re-exported class methods. This was because we were looking up the docs in a map made from the declarations in the current module being rendered. Obviously, re-exported class methods come from another module. Class methods and ATs were the only thing we were looking up using the doc map, everything else we found in the ExporItems. So now I've put subordinate docs in the ExportItem's directly, to make things a bit more consistent. To do this, I added subordinates to the the declarations in the declaration map. This was easy since we were computing subordinates anyway, to store stand-alone in the map. I added a new type synonym 'DeclInfo', which is what we call what is now stored in the map. This little refactoring removes duplicate code to retrieve subordinates and documentation from the HsGroup.
* Update testsDavid Waern2008-10-1045-45/+45
|
* Update test following Haddock version changeDavid Waern2008-08-1345-45/+45
|
* Add a reference file for the TypeFamilies testDavid Waern2008-07-241-0/+310
|
* Drop unnecessary parenthesis in types, put in by the userDavid Waern2008-07-243-30/+30
| | | | | | | | | | | | | We were putting in parenthesis were the user did. Let's remove this since it just clutters up the types. The types are readable anyway since we print parens around infix operators and do not rely on fixity levels. When doing this I discovered that we were relying on user parenthesis when printin types like (a `O` b) c. This patchs fixes this problem so that parenthesis are always inserted around an infix op application in case it is applied to further arguments, or if it's an arguments to a type constructor. Tests are updated.
* Be compatible with GHC 6.8.3David Waern2008-07-2345-45/+45
| | | | | | | | | | | | | | | | | | The cabal file is converted to use the "new" syntax with explicit Library and Executable sections. We define the __GHC_PATCHLEVEL__ symbol using a conditinal cpp-options field in the cabal file. (Ideally, Cabal would define the symbol for us, like it does for __GLASGOW_HASKELL__). We use these symbols to #ifdef around a small difference between 6.8.2 and 6.8.3. Previously, we only supported GHC 6.8.2 officially but the dependencies field said "ghc <= 6.9". This was just for convenience when testing against the (then compatible) HEAD version of GHC, and was left in the release by mistake. Now, we support both GHC 6.8.2 and 6.8.3 and the dependencies field correctly reflects this.
* Update tests/READMEDavid Waern2008-07-231-2/+8
|
* Add "all" command to runtests.hs that runs all tests despite failuresDavid Waern2008-07-231-3/+4
|
* Preparation for rendering instances as separate declarationsDavid Waern2008-07-201-0/+28
| | | | | | | | | We want to be able to render instances as separate declarations. So we remove the Name argument of ExportDecl, since instances are nameless. This patch also contains the first steps needed to gather type family instances and display them in the backend, but the implementation is far from complete. Because of this, we don't actually show the instances yet.
* Update test output following change to instance filteringDavid Waern2008-07-084-0/+136
|
* Remove index.html and doc-index.html from output, they should not be versionedDavid Waern2008-07-084-1312/+68
|
* Run haddock in-place during testingDavid Waern2008-06-301-1/+5
|
* Use ghc-paths to get the lib dirDavid Waern2008-06-261-6/+3
| | | | | The path can still be overridden using the -B flag. It's not longer required to pass the lib dir to the program that runs the test suite.
* Update test outputDavid Waern2008-06-191-68/+68
|
* Update test READMEDavid Waern2008-04-121-3/+8
|
* Add a script for copying test output to "expected" outputDavid Waern2008-04-121-0/+23
|
* Simplify test suite and add testsDavid Waern2008-04-1265-45/+12816
| | | | | I move all tests into one single directory to simplify things, and add a test for the last bug that was fixed.
* Add a flag for turning off all warningsDavid Waern2008-04-111-1/+1
|
* Turn off GHC warnings when running testsDavid Waern2008-04-111-1/+1
|
* Use the in-place haddock when running testsDavid Waern2008-04-111-1/+1
|
* Add Hidden.html.ref to testsDavid Waern2008-01-251-0/+88
|
* Accept test outputDavid Waern2008-01-251-6/+8
|
* Change Hidden.hs (test) to use OPTIONS_HADDOCKDavid Waern2008-01-251-1/+1
|
* Accept test outputDavid Waern2008-01-2513-29/+25
|
* Accept test outputDavid Waern2008-01-251-1/+1
|
* Give a diff on test failureDavid Waern2007-12-081-1/+2
|
* Update testsDavid Waern2007-12-0814-220/+24
|
* Update runtests.hs following changes to haddockDavid Waern2007-11-081-2/+2
|
* Add a simple test suiteDavid Waern2007-10-0931-0/+6469