test-framework 0.8.0.3 → 0.8.1.0
raw patch · 5 files changed
+13/−3 lines, 5 filesdep ~ansi-terminaldep ~ansi-wl-pprintdep ~basenew-uploader
Dependency ranges changed: ansi-terminal, ansi-wl-pprint, base, containers, hostname, old-locale, random, regex-posix, time, xml
Files
- Test/Framework/Improving.hs +5/−0
- Test/Framework/Runners/Console/Table.hs +1/−1
- Test/Framework/Runners/XML.hs +4/−0
- Test/Framework/Seed.hs +0/−0
- test-framework.cabal +3/−2
Test/Framework/Improving.hs view
@@ -6,6 +6,7 @@ import Control.Concurrent import Control.Monad+import Control.Applicative import System.Timeout @@ -34,6 +35,10 @@ instance Functor (ImprovingIO i f) where fmap = liftM++instance Applicative (ImprovingIO i f) where+ pure = return+ (<*>) = ap instance Monad (ImprovingIO i f) where return x = IIO (const $ return x)
Test/Framework/Runners/Console/Table.hs view
@@ -4,7 +4,7 @@ import Test.Framework.Utilities -import Text.PrettyPrint.ANSI.Leijen hiding (column)+import Text.PrettyPrint.ANSI.Leijen hiding (column, columns) data Cell = TextCell Doc
Test/Framework/Runners/XML.hs view
@@ -9,7 +9,11 @@ import Data.Time.Format ( formatTime ) import Data.Time.LocalTime ( getZonedTime ) +#if MIN_VERSION_time(1,5,0)+import Data.Time.Format ( defaultTimeLocale )+#else import System.Locale ( defaultTimeLocale )+#endif import Network.HostName ( getHostName )
Test/Framework/Seed.hs view
test-framework.cabal view
@@ -1,5 +1,5 @@ Name: test-framework-Version: 0.8.0.3+Version: 0.8.1.0 Cabal-Version: >= 1.6 Category: Testing Synopsis: Framework for running and organising tests, with HUnit and QuickCheck support@@ -49,7 +49,8 @@ Build-Depends: ansi-terminal >= 0.4.0, ansi-wl-pprint >= 0.5.1, base >= 4.3 && < 5, random >= 1.0, containers >= 0.1, regex-posix >= 0.72,- old-locale >= 1.0, time >= 1.1.2,+ old-locale >= 1.0,+ time >= 1.1.2 && < 1.6, xml >= 1.3.5, hostname >= 1.0 Extensions: CPP