File: test-hslua-classes.hs

package info (click to toggle)
haskell-hslua-classes 2.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 124 kB
  • sloc: haskell: 796; makefile: 5
file content (36 lines) | stat: -rw-r--r-- 1,006 bytes parent folder | download
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
{-|
Module      : Main
Copyright   : © 2007–2012 Gracjan Polak;
              © 2012–2016 Ömer Sinan Ağacan;
              © 2017-2024 Albert Krewinkel
License     : MIT
Maintainer  : Albert Krewinkel <tarleb@hslua.org>
Stability   : beta
Portability : non-portable (depends on GHC)

Test marshaling/unmarshaling from and to the Lua stack.
-}
module Main (main) where

import Test.Tasty (TestTree, defaultMain, testGroup)

import qualified HsLua.ClassesTests
import qualified HsLua.Class.ExposableTests
import qualified HsLua.Class.InvokableTests
import qualified HsLua.Class.PeekableTests
import qualified HsLua.Class.PushableTests
import qualified HsLua.Class.UtilTests

main :: IO ()
main = defaultMain $ testGroup "hslua-classes" tests

-- | HSpec tests
tests :: [TestTree]
tests =
  [ HsLua.Class.ExposableTests.tests
  , HsLua.Class.InvokableTests.tests
  , HsLua.Class.PeekableTests.tests
  , HsLua.Class.PushableTests.tests
  , HsLua.Class.UtilTests.tests
  , HsLua.ClassesTests.tests
  ]