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
()
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
)
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
)