Repository : ssh://darcs.haskell.org//srv/darcs/haddock

On branch  : ghc-7.6

http://hackage.haskell.org/trac/ghc/changeset/89b52831f24e6ad94b2d763e704119829e1ddc6c

>---------------------------------------------------------------

commit 89b52831f24e6ad94b2d763e704119829e1ddc6c
Author: Simon Hengel <[email protected]>
Date:   Mon Oct 15 10:30:07 2012 +0200

    Add description for DeprecatedReExport test

>---------------------------------------------------------------

 tests/html-tests/tests/DeprecatedReExport.hs       |   15 ++++++-
 tests/html-tests/tests/DeprecatedReExport.html.ref |   46 +++++++++++++++++++-
 .../tests/mini_DeprecatedReExport.html.ref         |    8 +++-
 3 files changed, 65 insertions(+), 4 deletions(-)

diff --git a/tests/html-tests/tests/DeprecatedReExport.hs 
b/tests/html-tests/tests/DeprecatedReExport.hs
index 10a8c6a..f851e2f 100644
--- a/tests/html-tests/tests/DeprecatedReExport.hs
+++ b/tests/html-tests/tests/DeprecatedReExport.hs
@@ -1,3 +1,16 @@
-module DeprecatedReExport (foo) where
+-- |
+-- What is tested here:
+--
+-- * Deprecation messages are shown for re-exported items.
+--
+module DeprecatedReExport (
+-- * Re-exported from an other module
+  foo
+-- * Re-exported from an other package
+-- | Not yet working, see <http://trac.haskell.org/haddock/ticket/223>
+-- , isEmptyChan
+,
+) where
 
 import DeprecatedFunction
+import Control.Concurrent.Chan
diff --git a/tests/html-tests/tests/DeprecatedReExport.html.ref 
b/tests/html-tests/tests/DeprecatedReExport.html.ref
index 1798895..611c181 100644
--- a/tests/html-tests/tests/DeprecatedReExport.html.ref
+++ b/tests/html-tests/tests/DeprecatedReExport.html.ref
@@ -41,6 +41,36 @@ window.onload = function () 
{pageLoad();setSynopsis("mini_DeprecatedReExport.htm
        ><p class="caption"
        >DeprecatedReExport</p
        ></div
+      ><div id="table-of-contents"
+      ><p class="caption"
+       >Contents</p
+       ><ul
+       ><li
+         ><a href=""
+           >Re-exported from an other module
+</a
+           ></li
+         ><li
+         ><a href=""
+           >Re-exported from an other package
+</a
+           ></li
+         ></ul
+       ></div
+      ><div id="description"
+      ><p class="caption"
+       >Description</p
+       ><div class="doc"
+       ><p
+         >What is tested here:
+</p
+         ><ul
+         ><li
+           > Deprecation messages are shown for re-exported items.
+</li
+           ></ul
+         ></div
+       ></div
       ><div id="synopsis"
       ><p id="control.syn" class="caption expander" 
onclick="toggleSection('syn')"
        >Synopsis</p
@@ -54,8 +84,9 @@ window.onload = function () 
{pageLoad();setSynopsis("mini_DeprecatedReExport.htm
          ></ul
        ></div
       ><div id="interface"
-      ><h1
-       >Documentation</h1
+      ><h1 id="g:1"
+       >Re-exported from an other module
+</h1
        ><div class="top"
        ><p class="src"
          ><a name="v:foo" class="def"
@@ -78,6 +109,17 @@ window.onload = function () 
{pageLoad();setSynopsis("mini_DeprecatedReExport.htm
 </p
            ></div
          ></div
+       ><h1 id="g:2"
+       >Re-exported from an other package
+</h1
+       ><div class="doc"
+       ><p
+         >Not yet working, see <a href=""
+           >http://trac.haskell.org/haddock/ticket/223</a
+           >
+ , isEmptyChan
+</p
+         ></div
        ></div
       ></div
     ><div id="footer"
diff --git a/tests/html-tests/tests/mini_DeprecatedReExport.html.ref 
b/tests/html-tests/tests/mini_DeprecatedReExport.html.ref
index de5dcf9..8316dda 100644
--- a/tests/html-tests/tests/mini_DeprecatedReExport.html.ref
+++ b/tests/html-tests/tests/mini_DeprecatedReExport.html.ref
@@ -19,12 +19,18 @@ window.onload = function () {pageLoad();};
       >DeprecatedReExport</p
       ></div
     ><div id="interface"
-    ><div class="top"
+    ><h1
+      >Re-exported from an other module
+</h1
+      ><div class="top"
       ><p class="src"
        ><a href="" target="main"
          >foo</a
          ></p
        ></div
+      ><h1
+      >Re-exported from an other package
+</h1
       ></div
     ></body
   ></html



_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to