Tests.hs 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. -- | Responsible for grouping all internal tests.
  2. -- NB. Before adding new importations see the 'Internal
  3. -- test-suite' section in the HACKING file.
  4. module Internal.Tests ( tests ) where
  5. import Internal.Helpers
  6. import qualified Internal.Compiler.MAlonzo.Encode as CompEnco ( tests )
  7. import qualified Internal.Interaction.Highlighting.Precise as IntePrec ( tests )
  8. import qualified Internal.Interaction.Highlighting.Range as InteRang ( tests )
  9. import qualified Internal.Interaction.Library as Library ( tests )
  10. import qualified Internal.Interaction.Options as InteOpti ( tests )
  11. import qualified Internal.Syntax.Common as SyntCommon ( tests )
  12. import qualified Internal.Syntax.Internal as SyntInternal ( tests )
  13. import qualified Internal.Syntax.Parser.Parser as SyntPars ( tests )
  14. import qualified Internal.Syntax.Position as SyntPosi ( tests )
  15. import qualified Internal.Termination.CallGraph as TermCall ( tests )
  16. import qualified Internal.Termination.CallMatrix as TermCM ( tests )
  17. import qualified Internal.Termination.Order as TermOrd ( tests )
  18. import qualified Internal.Termination.Semiring as TermRing ( tests )
  19. import qualified Internal.Termination.SparseMatrix as TermSparse ( tests )
  20. import qualified Internal.Termination.Termination as TermTerm ( tests )
  21. import qualified Internal.TypeChecking as TypeChck ( tests )
  22. import qualified Internal.TypeChecking.Free as Free ( tests )
  23. import qualified Internal.TypeChecking.Generators as Generators ( tests )
  24. import qualified Internal.TypeChecking.Irrelevance as Irrel ( tests )
  25. import qualified Internal.TypeChecking.Monad.Base as MBase ( tests )
  26. import qualified Internal.TypeChecking.Positivity as Positivity ( tests )
  27. import qualified Internal.TypeChecking.Positivity.Occurrence as Occurrence ( tests )
  28. import qualified Internal.TypeChecking.Rules.LHS.Problem as LHSProblem ( tests )
  29. import qualified Internal.TypeChecking.SizedTypes as SizedTypes ( tests )
  30. import qualified Internal.TypeChecking.Substitute as Substitute ( tests )
  31. import qualified Internal.Utils.AssocList as UtilAList ( tests )
  32. import qualified Internal.Utils.Bag as UtilBag ( tests )
  33. import qualified Internal.Utils.BiMap as UtilBiMap ( tests )
  34. import qualified Internal.Utils.Cluster as UtilClust ( tests )
  35. import qualified Internal.Utils.Either as UtilEith ( tests )
  36. import qualified Internal.Utils.Favorites as UtilFav ( tests )
  37. import qualified Internal.Utils.FileName as UtilFile ( tests )
  38. import qualified Internal.Utils.Graph.AdjacencyMap.Unidirectional as UtilGraphUni ( tests )
  39. import qualified Internal.Utils.IntSet as UtilIntSet ( tests )
  40. import qualified Internal.Utils.List as UtilList ( tests )
  41. import qualified Internal.Utils.ListT as UtilListT ( tests )
  42. import qualified Internal.Utils.Maybe.Strict as UtilMaybeS ( tests )
  43. import qualified Internal.Utils.Monoid as UtilMonoid ( tests )
  44. import qualified Internal.Utils.NonEmptyList as UtilNonEmpty ( tests )
  45. import qualified Internal.Utils.PartialOrd as UtilPOrd ( tests )
  46. import qualified Internal.Utils.Permutation as UtilPerm ( tests )
  47. import qualified Internal.Utils.RangeMap as UtilRangeMap ( tests )
  48. import qualified Internal.Utils.SmallSet as UtilSSet ( tests )
  49. import qualified Internal.Utils.Three as UtilThree ( tests )
  50. import qualified Internal.Utils.Trie as UtilTrie ( tests )
  51. import qualified Internal.Utils.Warshall as UtilWarsh ( tests )
  52. -- Keep this list in the import order, please!
  53. tests :: TestTree
  54. tests = testGroup "Internal"
  55. [ CompEnco.tests
  56. , IntePrec.tests
  57. , InteRang.tests
  58. , Library.tests
  59. , InteOpti.tests
  60. , SyntCommon.tests
  61. , SyntInternal.tests
  62. , SyntPars.tests
  63. , SyntPosi.tests
  64. , TermCall.tests
  65. , TermCM.tests
  66. , TermOrd.tests
  67. , TermRing.tests
  68. , TermSparse.tests
  69. , TermTerm.tests
  70. , TypeChck.tests
  71. , Free.tests
  72. , Generators.tests
  73. , Irrel.tests
  74. , MBase.tests
  75. , Positivity.tests
  76. , Occurrence.tests
  77. , LHSProblem.tests
  78. , SizedTypes.tests
  79. , Substitute.tests
  80. , UtilAList.tests
  81. , UtilBag.tests
  82. , UtilBiMap.tests
  83. , UtilClust.tests
  84. , UtilEith.tests
  85. , UtilFav.tests
  86. , UtilFile.tests
  87. , UtilGraphUni.tests
  88. , UtilIntSet.tests
  89. , UtilList.tests
  90. , UtilListT.tests
  91. , UtilMaybeS.tests
  92. , UtilMonoid.tests
  93. , UtilNonEmpty.tests
  94. , UtilPOrd.tests
  95. , UtilPerm.tests
  96. , UtilRangeMap.tests
  97. , UtilSSet.tests
  98. , UtilThree.tests
  99. , UtilTrie.tests
  100. , UtilWarsh.tests
  101. ]