[Pkg-haskell-commits] [SCM] haskell-testpack branch, master, updated. debian/1.0.2-1-4-gb0d6b36
John Goerzen
jgoerzen at complete.org
Fri Apr 23 14:58:49 UTC 2010
The following commit has been merged in the master branch:
commit 9bf945ff22757b09ddb9381117e1e39d9c61c42f
Author: John Goerzen <jgoerzen at complete.org>
Date: Thu May 12 21:17:42 2005 +0100
Switch "import HUnit" to "import Test.HUnit" for GHC 6.4 and new Hugs
diff --git a/testsrc/AnyDBMtest.hs b/testsrc/AnyDBMtest.hs
index b8ac1ce..bc459a1 100644
--- a/testsrc/AnyDBMtest.hs
+++ b/testsrc/AnyDBMtest.hs
@@ -17,7 +17,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-}
module AnyDBMtest(mf, generic_persist_test, generic_test, tests) where
-import HUnit
+import Test.HUnit
import MissingH.List
import MissingH.IO.HVFS
import MissingH.IO.HVFS.InstanceHelpers
diff --git a/testsrc/Bitstest.hs b/testsrc/Bitstest.hs
index dc4b1cb..dab2ebf 100644
--- a/testsrc/Bitstest.hs
+++ b/testsrc/Bitstest.hs
@@ -17,7 +17,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-}
module Bitstest(tests) where
-import HUnit
+import Test.HUnit
import MissingH.Bits
import Data.Word
diff --git a/testsrc/CRC32GZIPtest.hs b/testsrc/CRC32GZIPtest.hs
index c562bf1..83a1db1 100644
--- a/testsrc/CRC32GZIPtest.hs
+++ b/testsrc/CRC32GZIPtest.hs
@@ -17,7 +17,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-}
module CRC32GZIPtest(tests) where
-import HUnit
+import Test.HUnit
import MissingH.Checksum.CRC32.GZip
test_crcgzip =
diff --git a/testsrc/CRC32POSIXtest.hs b/testsrc/CRC32POSIXtest.hs
index 8f831fa..254e761 100644
--- a/testsrc/CRC32POSIXtest.hs
+++ b/testsrc/CRC32POSIXtest.hs
@@ -17,7 +17,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-}
module CRC32POSIXtest(tests) where
-import HUnit
+import Test.HUnit
import MissingH.Checksum.CRC32.Posix
test_crc32 =
diff --git a/testsrc/ConfigParser/Maintest.hs b/testsrc/ConfigParser/Maintest.hs
index 91a53a0..1c84f98 100644
--- a/testsrc/ConfigParser/Maintest.hs
+++ b/testsrc/ConfigParser/Maintest.hs
@@ -17,7 +17,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-}
module ConfigParser.Maintest(tests) where
-import HUnit
+import Test.HUnit
import MissingH.ConfigParser
import MissingH.Either
import Testutil
diff --git a/testsrc/ConfigParser/Parsertest.hs b/testsrc/ConfigParser/Parsertest.hs
index 859cf48..4cb2ca3 100644
--- a/testsrc/ConfigParser/Parsertest.hs
+++ b/testsrc/ConfigParser/Parsertest.hs
@@ -17,7 +17,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-}
module ConfigParser.Parsertest(tests) where
-import HUnit
+import Test.HUnit
import MissingH.ConfigParser.Parser
import MissingH.ConfigParser.Types
import Testutil
diff --git a/testsrc/Eithertest.hs b/testsrc/Eithertest.hs
index c1c8793..6d7d144 100644
--- a/testsrc/Eithertest.hs
+++ b/testsrc/Eithertest.hs
@@ -17,7 +17,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-}
module Eithertest(tests) where
-import HUnit
+import Test.HUnit
import MissingH.Either
import Testutil
import Control.Exception
diff --git a/testsrc/FiniteMaptest.hs b/testsrc/FiniteMaptest.hs
index 31716d3..f909a9b 100644
--- a/testsrc/FiniteMaptest.hs
+++ b/testsrc/FiniteMaptest.hs
@@ -17,7 +17,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-}
module FiniteMaptest(tests) where
-import HUnit
+import Test.HUnit
import MissingH.FiniteMap
import Data.FiniteMap
diff --git a/testsrc/GZiptest.hs b/testsrc/GZiptest.hs
index f5916de..dcb071a 100644
--- a/testsrc/GZiptest.hs
+++ b/testsrc/GZiptest.hs
@@ -17,7 +17,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-}
module GZiptest(tests) where
-import HUnit
+import Test.HUnit
import MissingH.FileArchive.GZip
import MissingH.Compression.Inflate
import MissingH.IO.Binary
diff --git a/testsrc/HVFStest.hs b/testsrc/HVFStest.hs
index 5bddef5..c779c3b 100644
--- a/testsrc/HVFStest.hs
+++ b/testsrc/HVFStest.hs
@@ -17,7 +17,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-}
module HVFStest(tests) where
-import HUnit
+import Test.HUnit
import MissingH.IO.HVIO
import MissingH.IO.HVFS
import MissingH.IO.HVFS.InstanceHelpers
diff --git a/testsrc/HVIOtest.hs b/testsrc/HVIOtest.hs
index 050d9d4..7d74730 100644
--- a/testsrc/HVIOtest.hs
+++ b/testsrc/HVIOtest.hs
@@ -17,7 +17,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-}
module HVIOtest(tests) where
-import HUnit
+import Test.HUnit
import MissingH.IO.HVIO
import Testutil
import System.IO
diff --git a/testsrc/IOtest.hs b/testsrc/IOtest.hs
index 18a635b..901bf14 100644
--- a/testsrc/IOtest.hs
+++ b/testsrc/IOtest.hs
@@ -17,7 +17,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-}
module IOtest() where
-import HUnit
+import Test.HUnit
import MissingH.IO
import Testutil
diff --git a/testsrc/Listtest.hs b/testsrc/Listtest.hs
index ba7c4e8..d2f0230 100644
--- a/testsrc/Listtest.hs
+++ b/testsrc/Listtest.hs
@@ -17,7 +17,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-}
module Listtest(tests) where
-import HUnit
+import Test.HUnit
import MissingH.List
test_delFromAL =
diff --git a/testsrc/MIMETypestest.hs b/testsrc/MIMETypestest.hs
index 9b16bdc..763e138 100644
--- a/testsrc/MIMETypestest.hs
+++ b/testsrc/MIMETypestest.hs
@@ -17,7 +17,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-}
module MIMETypestest(tests) where
-import HUnit
+import Test.HUnit
import Data.List
import MissingH.MIMETypes
diff --git a/testsrc/Network/FTP/Parsertest.hs b/testsrc/Network/FTP/Parsertest.hs
index 2dd3848..c44339e 100644
--- a/testsrc/Network/FTP/Parsertest.hs
+++ b/testsrc/Network/FTP/Parsertest.hs
@@ -17,7 +17,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-}
module Network.FTP.Parsertest(tests) where
-import HUnit
+import Test.HUnit
import MissingH.Network.FTP.ParserClient
import Testutil
import Network.Socket
diff --git a/testsrc/Pathtest.hs b/testsrc/Pathtest.hs
index 757546a..226f3e9 100644
--- a/testsrc/Pathtest.hs
+++ b/testsrc/Pathtest.hs
@@ -17,7 +17,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-}
module Pathtest(tests) where
-import HUnit
+import Test.HUnit
import MissingH.Path
test_absNormPath =
diff --git a/testsrc/Printftest.hs b/testsrc/Printftest.hs
index ca55645..840bf94 100644
--- a/testsrc/Printftest.hs
+++ b/testsrc/Printftest.hs
@@ -17,7 +17,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-}
module Printftest(tests) where
-import HUnit
+import Test.HUnit
import MissingH.Printf
import Data.FiniteMap
diff --git a/testsrc/Str/CSVtest.hs b/testsrc/Str/CSVtest.hs
index 2c060de..d9668a2 100644
--- a/testsrc/Str/CSVtest.hs
+++ b/testsrc/Str/CSVtest.hs
@@ -17,7 +17,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-}
module Str.CSVtest(tests) where
-import HUnit
+import Test.HUnit
import MissingH.Str.CSV
import Text.ParserCombinators.Parsec
diff --git a/testsrc/Strtest.hs b/testsrc/Strtest.hs
index 3d44372..1660ef1 100644
--- a/testsrc/Strtest.hs
+++ b/testsrc/Strtest.hs
@@ -17,7 +17,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-}
module Strtest(tests) where
-import HUnit
+import Test.HUnit
import MissingH.Str
import Testutil
import Text.Regex
diff --git a/testsrc/Tests.hs b/testsrc/Tests.hs
index 2b96aea..d434074 100644
--- a/testsrc/Tests.hs
+++ b/testsrc/Tests.hs
@@ -17,7 +17,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-}
module Tests(tests) where
-import HUnit
+import Test.HUnit
import qualified MIMETypestest
import qualified Listtest
import qualified FiniteMaptest
diff --git a/testsrc/Testutil.hs b/testsrc/Testutil.hs
index 889cb94..928bb05 100644
--- a/testsrc/Testutil.hs
+++ b/testsrc/Testutil.hs
@@ -17,7 +17,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-}
module Testutil(assertRaises, mapassertEqual) where
-import HUnit
+import Test.HUnit
import qualified Control.Exception
assertRaises :: Show a => String -> Control.Exception.Exception -> IO a -> IO ()
diff --git a/testsrc/Timetest.hs b/testsrc/Timetest.hs
index 6ff1014..c1997aa 100644
--- a/testsrc/Timetest.hs
+++ b/testsrc/Timetest.hs
@@ -17,7 +17,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-}
module Timetest(tests) where
-import HUnit
+import Test.HUnit
import MissingH.Time
import System.Time
diff --git a/testsrc/runtests.hs b/testsrc/runtests.hs
index 07e3b72..68700ca 100644
--- a/testsrc/runtests.hs
+++ b/testsrc/runtests.hs
@@ -18,7 +18,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
module Main where
-import HUnit
+import Test.HUnit
import Tests
main = runTestTT tests
--
haskell-testpack
More information about the Pkg-haskell-commits
mailing list