1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
|
{-# LANGUAGE CPP #-}
module Main where
import qualified System.IO.Streams.Tests.Attoparsec.ByteString as AttoparsecByteString
import qualified System.IO.Streams.Tests.Attoparsec.Text as AttoparsecText
import qualified System.IO.Streams.Tests.Builder as Builder
import qualified System.IO.Streams.Tests.ByteString as ByteString
import qualified System.IO.Streams.Tests.Combinators as Combinators
import qualified System.IO.Streams.Tests.Concurrent as Concurrent
import qualified System.IO.Streams.Tests.Debug as Debug
import qualified System.IO.Streams.Tests.File as File
import qualified System.IO.Streams.Tests.Handle as Handle
import qualified System.IO.Streams.Tests.Internal as Internal
import qualified System.IO.Streams.Tests.List as List
#ifdef ENABLE_NETWORK
import qualified System.IO.Streams.Tests.Network as Network
#endif
import qualified System.IO.Streams.Tests.Process as Process
import qualified System.IO.Streams.Tests.Text as Text
import qualified System.IO.Streams.Tests.Vector as Vector
#ifdef ENABLE_ZLIB
import qualified System.IO.Streams.Tests.Zlib as Zlib
#endif
import Test.Framework (defaultMain, testGroup)
------------------------------------------------------------------------------
main :: IO ()
main = defaultMain tests
where
tests = [ testGroup "Tests.Attoparsec.ByteString" AttoparsecByteString.tests
, testGroup "Tests.Attoparsec.Text" AttoparsecText.tests
, testGroup "Tests.Builder" Builder.tests
, testGroup "Tests.ByteString" ByteString.tests
, testGroup "Tests.Debug" Debug.tests
, testGroup "Tests.Combinators" Combinators.tests
, testGroup "Tests.Concurrent" Concurrent.tests
, testGroup "Tests.File" File.tests
, testGroup "Tests.Handle" Handle.tests
, testGroup "Tests.Internal" Internal.tests
, testGroup "Tests.List" List.tests
#ifdef ENABLE_NETWORK
, testGroup "Tests.Network" Network.tests
#endif
, testGroup "Tests.Process" Process.tests
, testGroup "Tests.Text" Text.tests
, testGroup "Tests.Vector" Vector.tests
#ifdef ENABLE_ZLIB
, testGroup "Tests.Zlib" Zlib.tests
#endif
]
|