packages feed

network-transport-tests 0.3.2 → 0.3.3

raw patch · 5 files changed

+82/−21 lines, 5 filesdep ~basedep ~bytestringdep ~containersnew-uploaderPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: base, bytestring, containers, random

API changes (from Hackage documentation)

- Network.Transport.Tests.Traced: class MonadS (m :: Type -> Type)
+ Network.Transport.Tests.Traced: class MonadS m

Files

+ ChangeLog view
@@ -0,0 +1,55 @@+2024-09-03 Laurent P. René de Cotret <laurent.decotret@outlook.com> 0.3.3++* Bumped dependency bounds to support GHC 8.10.7 - GHC 9.10.1+* Updated links to point to Distributed Haskell monorepo++2024-03-25  David Simmons-Duffin  <dsd@caltech.edu>  0.3.2++* Update dependency bounds for ghc 9.8.++2022-10-12  Facundo Domínguez  <facundo.dominguez@tweag.io>  0.3.1++* Update dependency bounds for ghc 9.++2020-10-09  Facundo Domínguez  <facundo.dominguez@tweag.io>  0.3.0++* Added testTransportWithFilter to allow selecting which tests to run.++2019-12-31  Facundo Domínguez  <facundo.dominguez@tweag.io>  0.2.4.3++* Relaxed upper bound on containers.++2016-10-05  Facundo Domínguez  <facundo.dominguez@tweag.io>  0.2.4.2++* Remove upper bound for ansi-terminal.++2016-08-21  Facundo Domínguez  <facundo.dominguez@tweag.io>  0.2.4.1++* fix race in testCloseConnect++2016-08-21  Facundo Domínguez  <facundo.dominguez@tweag.io>  0.2.4.0++* Fix race in testCloseEndpoint+* Tests receive events eagerly+* Update upper bound of n-t+* Removed EndPointAddress equality checks++2016-02-17  Facundo Domínguez  <facundo.dominguez@tweag.io>  0.2.3.0++* Add a test for send strictness in self connections.++2014-12-09  Tim Watson  <watson.timothy@gmail.com>  0.2.1.0++* Dependencies bump++2014-12-09  Tim Watson  <watson.timothy@gmail.com>  0.2.0.0++* Dependencies bump++2012-10-19  Edsko de Vries  <edsko@well-typed.com>  0.1.0.1++* Change CloseTransport test++2012-10-03  Edsko de Vries  <edsko@well-typed.com>  0.1.0++* Initial release (these tests used to be part of the individual transports)
network-transport-tests.cabal view
@@ -1,36 +1,49 @@+cabal-version:       3.0 name:                network-transport-tests-version:             0.3.2+version:             0.3.3 synopsis:            Unit tests for Network.Transport implementations--- description:+description:         Unit tests for Network-Transport implementations. homepage:            http://haskell-distributed.github.com-license:             BSD3+license:             BSD-3-Clause license-file:        LICENSE author:              Edsko de Vries-maintainer:          Facundo Domínguez <facundo.dominguez@tweag.io>+maintainer:          The Distributed Haskell team copyright:           Well-Typed LLP category:            Network build-type:          Simple-cabal-version:       >=1.10+extra-doc-files:     ChangeLog -Source-Repository head+source-repository head   Type:     git-  Location: https://github.com/haskell-distributed/network-transport-tests+  Location: https://github.com/haskell-distributed/distributed-process+  SubDir:   packages/network-transport-tests +common warnings+    ghc-options: -Wall+                 -Wcompat+                 -Widentities+                 -Wincomplete-uni-patterns+                 -Wincomplete-record-updates+                 -Wredundant-constraints+                 -fhide-source-paths+                 -Wpartial-fields+ library+  import:              warnings   exposed-modules:     Network.Transport.Tests,                        Network.Transport.Tests.Multicast,                        Network.Transport.Tests.Auxiliary,                        Network.Transport.Tests.Traced   -- other-modules:-  build-depends:       base >= 4.5 && < 5,+  build-depends:       base >= 4.14 && < 5,                        network-transport >= 0.4.1.0 && < 0.6,-                       containers >= 0.4 && < 0.7,-                       bytestring >= 0.9 && < 0.13,+                       containers >= 0.6 && < 0.7,+                       bytestring >= 0.10 && < 0.13,                        random >= 1.0 && < 1.3,                        mtl >= 2.2.1 && < 2.4,                        ansi-terminal >= 0.5   hs-source-dirs:      src-  ghc-options:         -Wall -fno-warn-unused-do-bind+  ghc-options:         -fno-warn-unused-do-bind   default-language:    Haskell2010   default-extensions:  CPP,                        ExistentialQuantification,
src/Network/Transport/Tests.hs view
@@ -1,4 +1,5 @@ {-# LANGUAGE RebindableSyntax #-}+{-# LANGUAGE CPP  #-} module Network.Transport.Tests where  import Prelude hiding@@ -6,9 +7,6 @@   , return   , fail   , (>>)-#if ! MIN_VERSION_base(4,6,0)-  , catch-#endif   ) import Control.Concurrent (forkIO, killThread, yield) import Control.Concurrent.MVar (newEmptyMVar, takeMVar, putMVar, readMVar, tryTakeMVar, modifyMVar_, newMVar)
src/Network/Transport/Tests/Auxiliary.hs view
@@ -1,4 +1,5 @@ {-# OPTIONS_GHC -fno-warn-orphans #-}+{-# LANGUAGE CPP  #-} module Network.Transport.Tests.Auxiliary   ( -- Running tests     runTest@@ -8,10 +9,6 @@   , trySome   , randomThreadDelay   ) where--#if ! MIN_VERSION_base(4,6,0)-import Prelude hiding (catch)-#endif  import Control.Concurrent (myThreadId, forkIO, ThreadId, throwTo, threadDelay) import Control.Concurrent.Chan (Chan)
src/Network/Transport/Tests/Traced.hs view
@@ -1,3 +1,4 @@+{-# LANGUAGE CPP  #-} -- | Add tracing to the IO monad (see examples). -- -- [Usage]@@ -56,9 +57,6 @@   , return   , fail   , (>>)-#if ! MIN_VERSION_base(4,6,0)-  , catch-#endif   ) import qualified Prelude import Control.Exception (catches, Handler(..), SomeException, throwIO, Exception(..), IOException)