yesod/yesod-core/test/YesodCoreTest
Erik de Castro Lopo 226c381baa yesod-core: Make it work with ghc-8.0
Use CPP hackery to make it compile with ghc-8.0 and ghc 7.10. If
ghc-7.10 works, I assume earlier supported versions of GHC also
work. All tests pass with both GHC versions.

Unfortunately, the TH changes force changes in the type signature
of Yesod.Routes.TH.RenderRoute.mkRouteCons from:

    mkRouteCons :: [ResourceTree Type] -> ([Con], [Dec])

to

    mkRouteCons :: [ResourceTree Type] -> Q ([Con], [Dec])

and I can't see a way around that.
2016-04-19 14:52:03 +10:00
..
JsLoaderSites Move away from RepHtml some more 2013-05-20 09:16:53 +03:00
Auth.hs Fix tests: force HTTP/1.1 in a few places 2013-12-03 11:57:56 +02:00
Cache.hs add cachedBy, like cached but adds a key 2014-09-20 14:34:10 -07:00
CleanPath.hs Remove all conditional compilation for Yesod 1.4 release 2014-09-07 18:17:45 +03:00
Csrf.hs Add CSRF protection functions/middleware that support AJAX requests 2015-08-17 16:52:39 -07:00
ErrorHandling.hs Add missing LANGUAGE pragma 2014-08-27 08:15:47 +03:00
Exceptions.hs yesod-core: Make it work with ghc-8.0 2016-04-19 14:52:03 +10:00
InternalRequest.hs More efficient token generation 2014-10-20 10:34:38 +03:00
JsLoader.hs Move away from RepHtml some more 2013-05-20 09:16:53 +03:00
Json.hs Merge remote-tracking branch 'origin/master' into persistent2-simpler-dispatch 2014-03-20 04:14:09 +02:00
Links.hs Switch yesod-core to use simpler dispatch 2014-03-04 13:46:03 +02:00
LiteApp.hs LiteApp uses a Writer monad 2013-03-27 08:51:03 +02:00
Media.hs Switch yesod-core to use simpler dispatch 2014-03-04 13:46:03 +02:00
MediaData.hs Route attributes/appcache example #518 2013-04-11 17:07:22 +03:00
NoOverloadedStrings.hs Switch yesod-core to use simpler dispatch 2014-03-04 13:46:03 +02:00
NoOverloadedStringsSub.hs Merge yesod-routes into yesod-core entirely 2014-09-07 17:34:37 +03:00
RawResponse.hs Placed App after mkYesod in the RawResponse test. 2015-08-23 22:53:13 +02:00
Redirect.hs Improve etag supported fpco/stackage-server#29 #868 #869 2014-11-19 11:03:55 +02:00
Reps.hs Switch yesod-core to use simpler dispatch 2014-03-04 13:46:03 +02:00
RequestBodySize.hs Initial WAI 3.0 support, one test still failing 2014-05-22 20:17:29 +03:00
Ssl.hs added functions to simplify application of an ssl-only policy to a site 2014-12-20 10:26:32 -05:00
Streaming.hs LiteApp uses a Writer monad 2013-03-27 08:51:03 +02:00
StubSslOnly.hs added functions to simplify application of an ssl-only policy to a site 2014-12-20 10:26:32 -05:00
StubUnsecured.hs added functions to simplify application of an ssl-only policy to a site 2014-12-20 10:26:32 -05:00
WaiSubsite.hs Add test for hierarchical subsite with arguments 2016-01-19 17:06:40 +05:30
Widget.hs test case for toWidget* functions 2014-10-27 21:16:03 -07:00
YesodTest.hs Simplified GHandler/GWidget 2013-03-13 10:59:10 +02:00