Haxl/tests
Andrew Farmer 528bba5565 Add unit test to demonstrate withLabel with pure/haxl exceptions
Summary:
Labels which throw Haxl exceptions are recorded, but pure exceptions bubble up
and labels are lost. This test demonstrates this.

Reviewed By: simonmar

Differential Revision: D3672479

fbshipit-source-id: fab10878e7eb067e0c65bcf401d75604c333007f
2016-08-22 08:31:36 -07:00
..
AdoTests.hs A haxl test for ApplicativeDo 2015-10-07 01:06:35 -07:00
AllTests.hs Add createMemo/updateMemo helpers, with monadbench test-case. 2016-07-01 08:31:28 -07:00
BatchTests.hs Add support for disabling the cache 2016-05-31 06:25:54 -07:00
Bench.hs Count rounds/fetches for profiling labels. 2016-06-04 15:20:42 -07:00
CoreTests.hs Update exposed-modules in haxl.cabal 2014-07-17 13:02:09 -07:00
DataCacheTest.hs Count rounds/fetches for profiling labels. 2016-06-04 15:20:42 -07:00
ExampleDataSource.hs Add a benchmark for basic Haxl monad patterns 2015-10-07 01:16:22 -07:00
LoadCache.hs Initial open source import 2014-06-10 02:47:59 -07:00
LoadCache.txt Initial open source import 2014-06-10 02:47:59 -07:00
MemoizationTests.hs Import Control.Applicative in MemoizationTests for GHC < 7.10 2016-08-02 20:16:33 -07:00
MockTAO.hs A haxl test for ApplicativeDo 2015-10-07 01:06:35 -07:00
MonadBench.hs Add 1-ary and 2-ary function memoization machinery 2016-07-25 06:16:28 -07:00
ProfileTests.hs Add unit test to demonstrate withLabel with pure/haxl exceptions 2016-08-22 08:31:36 -07:00
TestExampleDataSource.hs Unbreak cabal test 2016-06-04 15:31:43 -07:00
TestMain.hs Unbreak cabal test 2016-06-04 15:31:43 -07:00
TestTypes.hs Add (de)serialization functions to most datasources 2016-05-31 01:20:38 -07:00
TestUtils.hs A haxl test for ApplicativeDo 2015-10-07 01:06:35 -07:00