validate dependabot configuration
[cabal.git] / cabal-install / tests / UnitTests / Distribution / Client / Described.hs
blobfbd544a9a0b33b008bb865fcb2845e7ee21ed196
1 {-# LANGUAGE OverloadedStrings #-}
2 {-# LANGUAGE ScopedTypeVariables #-}
4 module UnitTests.Distribution.Client.Described where
6 import Distribution.Client.Compat.Prelude
7 import Test.QuickCheck.Instances.Cabal ()
8 import UnitTests.Distribution.Client.ArbitraryInstances ()
9 import UnitTests.Distribution.Client.DescribedInstances ()
10 import Prelude ()
12 import Distribution.Described (testDescribed)
13 import Test.Tasty (TestTree, testGroup)
15 import Distribution.Client.BuildReports.Types (InstallOutcome, Outcome)
16 import Distribution.Client.IndexUtils.ActiveRepos (ActiveRepos)
17 import Distribution.Client.IndexUtils.IndexState (RepoIndexState, TotalIndexState)
18 import Distribution.Client.IndexUtils.Timestamp (Timestamp)
19 import Distribution.Client.Targets (UserConstraint)
20 import Distribution.Client.Types (RepoName)
21 import Distribution.Client.Types.AllowNewer (RelaxDepSubject, RelaxDeps, RelaxedDep)
23 tests :: TestTree
24 tests =
25 testGroup
26 "Described"
27 [ testDescribed (Proxy :: Proxy Timestamp)
28 , testDescribed (Proxy :: Proxy RepoIndexState)
29 , testDescribed (Proxy :: Proxy TotalIndexState)
30 , testDescribed (Proxy :: Proxy RepoName)
31 , testDescribed (Proxy :: Proxy ActiveRepos)
32 , testDescribed (Proxy :: Proxy RelaxDepSubject)
33 , testDescribed (Proxy :: Proxy RelaxedDep)
34 , testDescribed (Proxy :: Proxy RelaxDeps)
35 , testDescribed (Proxy :: Proxy UserConstraint)
36 , testDescribed (Proxy :: Proxy InstallOutcome)
37 , testDescribed (Proxy :: Proxy Outcome)