2016-06-02 15:31:22 +03:00
|
|
|
{-# LANGUAGE CPP, OverloadedStrings #-}
|
|
|
|
module AllTests (allTests) where
|
2014-06-03 19:10:54 +04:00
|
|
|
|
|
|
|
import TestExampleDataSource
|
|
|
|
import BatchTests
|
|
|
|
import CoreTests
|
|
|
|
import DataCacheTest
|
2015-05-01 22:23:11 +03:00
|
|
|
#ifdef HAVE_APPLICATIVEDO
|
|
|
|
import AdoTests
|
|
|
|
#endif
|
2016-06-05 00:23:09 +03:00
|
|
|
#if __GLASGOW_HASKELL__ >= 710
|
2016-05-07 04:14:27 +03:00
|
|
|
import ProfileTests
|
2016-06-05 00:23:09 +03:00
|
|
|
#endif
|
2014-06-03 19:10:54 +04:00
|
|
|
|
|
|
|
import Test.HUnit
|
|
|
|
|
2016-06-02 15:31:22 +03:00
|
|
|
allTests :: Test
|
|
|
|
allTests = TestList
|
2014-06-03 19:10:54 +04:00
|
|
|
[ TestLabel "ExampleDataSource" TestExampleDataSource.tests
|
|
|
|
, TestLabel "BatchTests" BatchTests.tests
|
|
|
|
, TestLabel "CoreTests" CoreTests.tests
|
|
|
|
, TestLabel "DataCacheTests" DataCacheTest.tests
|
2015-05-01 22:23:11 +03:00
|
|
|
#ifdef HAVE_APPLICATIVEDO
|
|
|
|
, TestLabel "AdoTests" AdoTests.tests
|
|
|
|
#endif
|
2016-06-05 00:23:09 +03:00
|
|
|
#if __GLASGOW_HASKELL__ >= 710
|
2016-05-07 04:14:27 +03:00
|
|
|
, TestLabel "ProfileTests" ProfileTests.tests
|
2016-06-05 00:23:09 +03:00
|
|
|
#endif
|
2014-06-03 19:10:54 +04:00
|
|
|
]
|