-
Notifications
You must be signed in to change notification settings - Fork 222
/
Copy pathcardano-wallet-unit.cabal
271 lines (260 loc) · 7.35 KB
/
cardano-wallet-unit.cabal
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
cabal-version: 3.6
name: cardano-wallet-unit
version: 2025.1.9
synopsis: Cardano wallet unit tests
description: Please see README.md
homepage: https://github.com/cardano-foundation/cardano-wallet
author: Cardano Foundation (High Assurance Lab)
maintainer: [email protected]
copyright: 2018-2022 IOHK, 2024 Cardano Foundation
license: Apache-2.0
category: Web
build-type: Simple
extra-source-files:
extra/Plutus/*.hs
specifications/api/swagger.yaml
common language
default-language: Haskell2010
default-extensions:
NoImplicitPrelude
OverloadedStrings
common opts-lib
ghc-options: -Wall -Wcompat -Wredundant-constraints
if flag(release)
ghc-options: -O2 -Werror
common opts-exe
ghc-options: -threaded -rtsopts -Wall -Wredundant-constraints
if flag(release)
ghc-options: -O2 -Werror
flag release
description: Enable optimization and `-Werror`
default: False
manual: True
library test-common
import: language, opts-lib
hs-source-dirs: test-common
visibility: public
build-depends:
, base
, bytestring
, cardano-api
, cardano-balance-tx
, cardano-balance-tx:internal
, cardano-wallet
, cardano-wallet-network-layer
, cardano-wallet-primitive
, cardano-wallet-read
, containers
, time
exposed-modules: Cardano.Wallet.DummyTarget.Primitive.Types
test-suite unit
import: language, opts-exe
ghc-options:
-with-rtsopts=-M2G -with-rtsopts=-N4 -fprint-potential-instances
type: exitcode-stdio-1.0
hs-source-dirs: test/unit test/data
main-is: core-unit-test.hs
build-depends:
, address-derivation-discovery
, aeson
, aeson-qq
, base
, base58-bytestring
, bech32
, bech32-th
, bytestring
, cardano-addresses
, cardano-api
, cardano-api-extra
, cardano-api:internal
, cardano-balance-tx
, cardano-balance-tx:internal
, cardano-crypto
, cardano-crypto-class
, cardano-ledger-alonzo
, cardano-ledger-babbage
, cardano-ledger-core
, cardano-ledger-shelley
, cardano-sl-x509
, cardano-slotting
, cardano-wallet
, cardano-wallet-api
, cardano-wallet-application-extras
, cardano-wallet-exe
, cardano-wallet-launcher
, cardano-wallet-network-layer
, cardano-wallet-primitive
, cardano-wallet-read
, cardano-wallet-secrets
, cardano-wallet-test-utils
, cardano-wallet-unit:test-common
, cardano-wallet:mock-token-metadata
, cborg
, connection
, containers
, contra-tracer
, crypto-primitives
, data-default
, data-interval
, deepseq
, delta-store
, delta-types
, directory
, either
, extra >=1.6.17
, file-embed
, filepath
, fmt
, foldl
, generic-arbitrary
, generic-lens
, generics-sop
, hedgehog-corpus
, hspec >=2.8.2
, hspec-core >=2.8.2
, http-api-data
, http-client
, http-client-tls
, http-media
, http-types
, int-cast
, io-classes
, io-sim
, iohk-monitoring
, iohk-monitoring-extra
, lattices
, lens
, local-cluster
, memory
, monad-logger
, MonadRandom
, monoid-subclasses
, mtl
, network
, network-uri
, nothunks
, OddWord
, openapi3
, optparse-applicative
, ouroboros-consensus
, ouroboros-network
, ouroboros-network-api
, pathtype
, persistent
, persistent-sqlite
, pretty-simple
, QuickCheck
, quickcheck-classes
, quickcheck-instances
, quickcheck-state-machine >=0.6.0
, random
, regex-pcre-builtin
, resourcet
, retry
, safe
, servant
, servant-openapi3
, servant-server
, si-timers
, sop-extras
, splitmix
, string-interpolate
, temporary
, temporary-extra
, text
, text-class
, time
, tls
, transformers
, tree-diff
, unliftio
, unliftio-core
, wai
, wai-extra
, wai-middleware-logging
, warp
, with-utf8
, x509
, x509-store
, yaml
build-tool-depends: hspec-discover:hspec-discover
other-modules:
Cardano.Byron.Codec.CborSpec
Cardano.CLISpec
Cardano.DB.Sqlite.DeleteSpec
Cardano.Pool.DB.Arbitrary
Cardano.Pool.DB.LayerSpec
Cardano.Pool.DB.MVarSpec
Cardano.Pool.DB.Properties
Cardano.Wallet.Address.Derivation.ByronSpec
Cardano.Wallet.Address.Derivation.IcarusSpec
Cardano.Wallet.Address.Derivation.MintBurnSpec
Cardano.Wallet.Address.DerivationSpec
Cardano.Wallet.Address.Discovery.RandomSpec
Cardano.Wallet.Address.Discovery.SequentialSpec
Cardano.Wallet.Address.Discovery.SharedSpec
Cardano.Wallet.Address.DiscoverySpec
Cardano.Wallet.Address.PoolSpec
Cardano.Wallet.Api.Malformed
Cardano.Wallet.Api.ServerSpec
Cardano.Wallet.Api.TypesSpec
Cardano.Wallet.ApiSpec
Cardano.Wallet.Application.TlsSpec
Cardano.Wallet.Balance.Migration.PlanningSpec
Cardano.Wallet.Balance.Migration.SelectionSpec
Cardano.Wallet.Balance.MigrationSpec
Cardano.Wallet.CheckpointsSpec
Cardano.Wallet.DB.Arbitrary
Cardano.Wallet.DB.Fixtures
Cardano.Wallet.DB.LayerSpec
Cardano.Wallet.DB.MigrationSpec
Cardano.Wallet.DB.Properties
Cardano.Wallet.DB.Pure.ImplementationSpec
Cardano.Wallet.DB.Sqlite.Migration.NewSpec
Cardano.Wallet.DB.Sqlite.TypesSpec
Cardano.Wallet.DB.StateMachine
Cardano.Wallet.DB.Store.Checkpoints.MigrationSpec
Cardano.Wallet.DB.Store.Checkpoints.StoreSpec
Cardano.Wallet.DB.Store.Delegations.Migrations.V3Spec
Cardano.Wallet.DB.Store.Delegations.Migrations.V5Spec
Cardano.Wallet.DB.Store.Delegations.StoreSpec
Cardano.Wallet.DB.Store.Info.StoreSpec
Cardano.Wallet.DB.Store.Meta.ModelSpec
Cardano.Wallet.DB.Store.Meta.StoreSpec
Cardano.Wallet.DB.Store.PrivateKey.StoreSpec
Cardano.Wallet.DB.Store.Rewards.StoreSpec
Cardano.Wallet.DB.Store.Submissions.StoreSpec
Cardano.Wallet.DB.Store.Transactions.StoreSpec
Cardano.Wallet.DB.Store.UTxOHistory.ModelSpec
Cardano.Wallet.DB.Store.UTxOHistory.StoreSpec
Cardano.Wallet.DB.Store.UTxOHistory.TxOutCBORSpec
Cardano.Wallet.DB.Store.Wallets.LayerSpec
Cardano.Wallet.DB.Store.Wallets.StoreSpec
Cardano.Wallet.DB.Store.WalletState.StoreSpec
Cardano.Wallet.Delegation.ModelSpec
Cardano.Wallet.DelegationSpec
Cardano.Wallet.Network.PortsSpec
Cardano.Wallet.NetworkSpec
Cardano.Wallet.Primitive.Delegation.StateSpec
Cardano.Wallet.Primitive.ModelSpec
Cardano.Wallet.Primitive.Types.StateDeltaSeqSpec
Cardano.Wallet.Primitive.Types.Tx.TxSeqSpec
Cardano.Wallet.Primitive.TypesSpec
Cardano.Wallet.RegistrySpec
Cardano.Wallet.Shelley.CompatibilitySpec
Cardano.Wallet.Shelley.LaunchSpec
Cardano.Wallet.Shelley.NetworkSpec
Cardano.Wallet.Shelley.TransactionSpec
Cardano.Wallet.Submissions.Gen
Cardano.Wallet.Submissions.OperationsSpec
Cardano.Wallet.Submissions.PrimitivesSpec
Cardano.Wallet.TokenMetadataSpec
Cardano.WalletSpec
Control.Concurrent.ConciergeSpec
Control.Monad.UtilSpec
Data.Function.UtilsSpec
Data.Time.TextSpec
Data.Time.UtilsSpec
Data.Vector.ShuffleSpec
Spec
SpecHook