packages feed

HUnit 1.3.0.0 → 1.3.1.0

raw patch · 4 files changed

+8/−1 lines, 4 filesdep ~basedep ~deepseqnew-uploaderPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: base, deepseq

API changes (from Hackage documentation)

- Test.HUnit.Base: cases :: Counts -> Int
- Test.HUnit.Base: counts :: State -> Counts
- Test.HUnit.Base: errors :: Counts -> Int
- Test.HUnit.Base: failures :: Counts -> Int
- Test.HUnit.Base: instance Assertable ()
- Test.HUnit.Base: instance Assertable Bool
- Test.HUnit.Base: instance Assertable t => Assertable (IO t)
- Test.HUnit.Base: instance Assertable t => Testable (IO t)
- Test.HUnit.Base: instance AssertionPredicable Bool
- Test.HUnit.Base: instance AssertionPredicable t => AssertionPredicable (IO t)
- Test.HUnit.Base: instance Eq Counts
- Test.HUnit.Base: instance Eq Node
- Test.HUnit.Base: instance Eq State
- Test.HUnit.Base: instance ListAssertable Char
- Test.HUnit.Base: instance ListAssertable t => Assertable [t]
- Test.HUnit.Base: instance Read Counts
- Test.HUnit.Base: instance Read Node
- Test.HUnit.Base: instance Read State
- Test.HUnit.Base: instance Show Counts
- Test.HUnit.Base: instance Show Node
- Test.HUnit.Base: instance Show State
- Test.HUnit.Base: instance Show Test
- Test.HUnit.Base: instance Testable Test
- Test.HUnit.Base: instance Testable t => Testable [t]
- Test.HUnit.Base: locationColumn :: Location -> Int
- Test.HUnit.Base: locationFile :: Location -> FilePath
- Test.HUnit.Base: locationLine :: Location -> Int
- Test.HUnit.Base: path :: State -> Path
- Test.HUnit.Base: tried :: Counts -> Int
- Test.HUnit.Lang: instance Eq HUnitFailure
- Test.HUnit.Lang: instance Eq Location
- Test.HUnit.Lang: instance Eq Result
- Test.HUnit.Lang: instance Exception HUnitFailure
- Test.HUnit.Lang: instance Ord HUnitFailure
- Test.HUnit.Lang: instance Ord Location
- Test.HUnit.Lang: instance Ord Result
- Test.HUnit.Lang: instance Show HUnitFailure
- Test.HUnit.Lang: instance Show Location
- Test.HUnit.Lang: instance Show Result
- Test.HUnit.Lang: instance Typeable HUnitFailure
- Test.HUnit.Lang: locationColumn :: Location -> Int
- Test.HUnit.Lang: locationFile :: Location -> FilePath
- Test.HUnit.Lang: locationLine :: Location -> Int
+ Test.HUnit.Base: [cases, tried, errors, failures] :: Counts -> Int
+ Test.HUnit.Base: [counts] :: State -> Counts
+ Test.HUnit.Base: [locationColumn] :: Location -> Int
+ Test.HUnit.Base: [locationFile] :: Location -> FilePath
+ Test.HUnit.Base: [locationLine] :: Location -> Int
+ Test.HUnit.Base: [path] :: State -> Path
+ Test.HUnit.Base: instance GHC.Classes.Eq Test.HUnit.Base.Counts
+ Test.HUnit.Base: instance GHC.Classes.Eq Test.HUnit.Base.Node
+ Test.HUnit.Base: instance GHC.Classes.Eq Test.HUnit.Base.State
+ Test.HUnit.Base: instance GHC.Read.Read Test.HUnit.Base.Counts
+ Test.HUnit.Base: instance GHC.Read.Read Test.HUnit.Base.Node
+ Test.HUnit.Base: instance GHC.Read.Read Test.HUnit.Base.State
+ Test.HUnit.Base: instance GHC.Show.Show Test.HUnit.Base.Counts
+ Test.HUnit.Base: instance GHC.Show.Show Test.HUnit.Base.Node
+ Test.HUnit.Base: instance GHC.Show.Show Test.HUnit.Base.State
+ Test.HUnit.Base: instance GHC.Show.Show Test.HUnit.Base.Test
+ Test.HUnit.Base: instance Test.HUnit.Base.Assertable ()
+ Test.HUnit.Base: instance Test.HUnit.Base.Assertable GHC.Types.Bool
+ Test.HUnit.Base: instance Test.HUnit.Base.Assertable t => Test.HUnit.Base.Assertable (GHC.Types.IO t)
+ Test.HUnit.Base: instance Test.HUnit.Base.Assertable t => Test.HUnit.Base.Testable (GHC.Types.IO t)
+ Test.HUnit.Base: instance Test.HUnit.Base.AssertionPredicable GHC.Types.Bool
+ Test.HUnit.Base: instance Test.HUnit.Base.AssertionPredicable t => Test.HUnit.Base.AssertionPredicable (GHC.Types.IO t)
+ Test.HUnit.Base: instance Test.HUnit.Base.ListAssertable GHC.Types.Char
+ Test.HUnit.Base: instance Test.HUnit.Base.ListAssertable t => Test.HUnit.Base.Assertable [t]
+ Test.HUnit.Base: instance Test.HUnit.Base.Testable Test.HUnit.Base.Test
+ Test.HUnit.Base: instance Test.HUnit.Base.Testable t => Test.HUnit.Base.Testable [t]
+ Test.HUnit.Lang: [locationColumn] :: Location -> Int
+ Test.HUnit.Lang: [locationFile] :: Location -> FilePath
+ Test.HUnit.Lang: [locationLine] :: Location -> Int
+ Test.HUnit.Lang: instance GHC.Classes.Eq Test.HUnit.Lang.HUnitFailure
+ Test.HUnit.Lang: instance GHC.Classes.Eq Test.HUnit.Lang.Location
+ Test.HUnit.Lang: instance GHC.Classes.Eq Test.HUnit.Lang.Result
+ Test.HUnit.Lang: instance GHC.Classes.Ord Test.HUnit.Lang.HUnitFailure
+ Test.HUnit.Lang: instance GHC.Classes.Ord Test.HUnit.Lang.Location
+ Test.HUnit.Lang: instance GHC.Classes.Ord Test.HUnit.Lang.Result
+ Test.HUnit.Lang: instance GHC.Exception.Exception Test.HUnit.Lang.HUnitFailure
+ Test.HUnit.Lang: instance GHC.Show.Show Test.HUnit.Lang.HUnitFailure
+ Test.HUnit.Lang: instance GHC.Show.Show Test.HUnit.Lang.Location
+ Test.HUnit.Lang: instance GHC.Show.Show Test.HUnit.Lang.Result
- Test.HUnit.Base: (@=?) :: (Eq a, Show a) => a -> a -> Assertion
+ Test.HUnit.Base: (@=?) :: (?loc :: CallStack) => (Eq a, Show a) => a -> a -> Assertion
- Test.HUnit.Base: (@?) :: AssertionPredicable t => t -> String -> Assertion
+ Test.HUnit.Base: (@?) :: (?loc :: CallStack) => (AssertionPredicable t) => t -> String -> Assertion
- Test.HUnit.Base: (@?=) :: (Eq a, Show a) => a -> a -> Assertion
+ Test.HUnit.Base: (@?=) :: (?loc :: CallStack) => (Eq a, Show a) => a -> a -> Assertion
- Test.HUnit.Base: (~:) :: Testable t => String -> t -> Test
+ Test.HUnit.Base: (~:) :: (?loc :: CallStack) => (Testable t) => String -> t -> Test
- Test.HUnit.Base: (~=?) :: (Eq a, Show a) => a -> a -> Test
+ Test.HUnit.Base: (~=?) :: (?loc :: CallStack) => (Eq a, Show a) => a -> a -> Test
- Test.HUnit.Base: (~?) :: AssertionPredicable t => t -> String -> Test
+ Test.HUnit.Base: (~?) :: (?loc :: CallStack) => (AssertionPredicable t) => t -> String -> Test
- Test.HUnit.Base: (~?=) :: (Eq a, Show a) => a -> a -> Test
+ Test.HUnit.Base: (~?=) :: (?loc :: CallStack) => (Eq a, Show a) => a -> a -> Test
- Test.HUnit.Base: Counts :: Int -> Int -> Int -> Int -> Counts
+ Test.HUnit.Base: Counts :: Int -> Counts
- Test.HUnit.Base: assert :: Assertable t => t -> Assertion
+ Test.HUnit.Base: assert :: (Assertable t, ?loc :: CallStack) => t -> Assertion
- Test.HUnit.Base: assertBool :: String -> Bool -> Assertion
+ Test.HUnit.Base: assertBool :: (?loc :: CallStack) => String -> Bool -> Assertion
- Test.HUnit.Base: assertEqual :: (Eq a, Show a) => String -> a -> a -> Assertion
+ Test.HUnit.Base: assertEqual :: (?loc :: CallStack) => (Eq a, Show a) => String -> a -> a -> Assertion
- Test.HUnit.Base: assertFailure :: String -> Assertion
+ Test.HUnit.Base: assertFailure :: (?loc :: CallStack) => String -> Assertion
- Test.HUnit.Base: assertString :: String -> Assertion
+ Test.HUnit.Base: assertString :: (?loc :: CallStack) => String -> Assertion
- Test.HUnit.Base: listAssert :: ListAssertable t => [t] -> Assertion
+ Test.HUnit.Base: listAssert :: (ListAssertable t, ?loc :: CallStack) => [t] -> Assertion
- Test.HUnit.Base: test :: Testable t => t -> Test
+ Test.HUnit.Base: test :: (Testable t, ?loc :: CallStack) => t -> Test
- Test.HUnit.Lang: assertFailure :: String -> Assertion
+ Test.HUnit.Lang: assertFailure :: (?loc :: CallStack) => String -> Assertion

Files

HUnit.cabal view
@@ -1,5 +1,5 @@ Name:                   HUnit-Version:                1.3.0.0+Version:                1.3.1.0 Cabal-Version:          >= 1.8 License:                BSD3 License-File:           LICENSE
README.md view
@@ -17,6 +17,10 @@  ## Changes +### 1.3.1.0++- add minimal support for GHC 8.0+ ### 1.3.0.0  - removed support for old compilers
Test/HUnit/Base.hs view
@@ -2,6 +2,7 @@ #if MIN_VERSION_base(4,8,1) #define HAS_SOURCE_LOCATIONS {-# LANGUAGE ImplicitParams #-}+{-# LANGUAGE ConstrainedClassMethods #-} #endif  -- | Basic definitions for the HUnit library.
Test/HUnit/Lang.hs view
@@ -25,7 +25,9 @@ import           Data.Typeable  #ifdef HAS_SOURCE_LOCATIONS+#if !(MIN_VERSION_base(4,9,0)) import           GHC.SrcLoc+#endif import           GHC.Stack #endif