packages feed

broadcast-chan-tests-0.2.0: broadcast-chan-tests.cabal

Name:               broadcast-chan-tests
Version:            0.2.0

Homepage:           https://github.com/merijn/broadcast-chan
Bug-Reports:        https://github.com/merijn/broadcast-chan/issues

Author:             Merijn Verstraaten
Maintainer:         Merijn Verstraaten <merijn@inconsistent.nl>
Copyright:          Copyright © 2014-2018 Merijn Verstraaten

License:            BSD3
License-File:       LICENSE

Category:           System
Cabal-Version:      >= 1.10
Build-Type:         Simple
Tested-With:        GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.2,
                    GHC == 8.2.2, GHC == 8.4.3, GHC == 8.6.1

Synopsis:           Helpers for generating tests for broadcast-chan

Description:
    Provides helpers for implementing the streaming/concurrency tests used by
    broadcast-chan, broadcast-chan-conduit, and broadcast-chan-pipes.

Library
  Default-Language:     Haskell2010
  GHC-Options:          -Wall -O2 -fno-warn-unused-do-bind
  Exposed-Modules:      BroadcastChan.Test

  Other-Extensions:     CPP
                        DeriveDataTypeable
                        ScopedTypeVariables
                        Trustworthy

  Build-Depends:        base >= 4.6 && < 5
               ,        async >= 2.1 && < 2.3
               ,        broadcast-chan == 0.2.0
               ,        clock == 0.7.*
               ,        containers >= 0.4 && < 0.6
               ,        optparse-applicative >= 0.12 && < 0.15
               ,        paramtree >= 0.1.1 && < 0.2
               ,        stm >= 2.4 && < 2.5
               ,        tagged == 0.8.*
               ,        tasty >= 0.11 && < 1.2
               ,        tasty-golden >= 2.0 && < 2.4
               ,        tasty-hunit >= 0.9 && < 0.11
               ,        tasty-travis >= 0.2 && < 0.3
               ,        temporary >= 1.2 && < 1.4
               ,        text >= 1.0 && < 1.3

  if impl(ghc < 7.8)
    Build-Depends:      unix >= 2.0 && < 2.8

  if impl(ghc < 7.10)
    Build-Depends:      bifunctors >= 0.1 && < 5.6

  if impl(ghc < 8.0)
    Build-Depends:      transformers >= 0.2 && < 0.6

Test-Suite basic
  Default-Language:     Haskell2010
  Type:                 exitcode-stdio-1.0
  Main-Is:              Basic.hs
  GHC-Options:          -Wall -threaded -fno-warn-unused-do-bind
  Hs-Source-Dirs:       tests
  Build-Depends:        base
               ,        broadcast-chan
               ,        broadcast-chan-tests
               ,        foldl >= 1.4 && < 1.5
               ,        monad-loops >= 0.4.3 && < 0.5
               ,        random >= 1.1 && < 1.2

Test-Suite basic-unthreaded
  Default-Language:     Haskell2010
  Type:                 exitcode-stdio-1.0
  Main-Is:              Basic.hs
  GHC-Options:          -Wall -fno-warn-unused-do-bind
  Hs-Source-Dirs:       tests
  Build-Depends:        base
               ,        broadcast-chan
               ,        broadcast-chan-tests
               ,        foldl >= 1.4 && < 1.5
               ,        monad-loops >= 0.4.3 && < 0.5
               ,        random >= 1.1 && < 1.2

Test-Suite parallel-io
  Default-Language:     Haskell2010
  Type:                 exitcode-stdio-1.0
  Main-Is:              IOTest.hs
  GHC-Options:          -Wall -O2 -fno-warn-unused-do-bind
  Hs-Source-Dirs:       tests
  Build-Depends:        base
               ,        broadcast-chan
               ,        broadcast-chan-tests
               ,        containers >= 0.4 && < 0.6


Source-Repository head
  Type:     git
  Location: ssh://github.com:merijn/broadcast-chan.git

Source-Repository head
  Type:     mercurial
  Location: https://bitbucket.org/merijnv/broadcast-chan