This repository was archived by the owner on Feb 12, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 79
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
257 lines (236 loc) · 38.2 KB
/
CMakeLists.txt
File metadata and controls
257 lines (236 loc) · 38.2 KB
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
cmake_minimum_required(VERSION 3.0)
# Find includes in corresponding build directories
set(CMAKE_INCLUDE_CURRENT_DIR ON)
include_directories(${gtest_SOURCE_DIR}/include ${gtest_SOURCE_DIR})
include_directories(${CMAKE_BINARY_DIR}/include)
if (APPLE)
add_definitions(-DGTEST_USE_OWN_TR1_TUPLE)
add_definitions(-D__GLIBCXX__)
endif (APPLE)
include_directories(../lib/libledger-test/)
file(GLOB ledger-core-fixtures-srcs
"../fixtures/*.cpp"
"../fixtures/*.h"
"../cosmos/Fixtures.cpp"
"../cosmos/Fixtures.hpp"
)
file(GLOB_RECURSE TEST_FILES *.cpp)
add_executable(ledger-core-integration-tests
${ledger-core-fixtures-srcs}
${TEST_FILES}
IntegrationEnvironment.h
)
target_link_libraries(ledger-core-integration-tests gtest gtest_main)
target_link_libraries(ledger-core-integration-tests crypto)
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
# We need this otherwise link fails (for Linux),
# this is needed since we build static library for tests,
# not needed if we link against dynamic
# TODO: needs more investigation
target_link_libraries(ledger-core-integration-tests ledger-core)
else()
target_link_libraries(ledger-core-integration-tests ledger-core-static)
endif()
target_link_libraries(ledger-core-integration-tests ledger-test)
target_link_libraries(ledger-core-integration-tests ledger-qt-host)
target_include_directories(ledger-core-integration-tests PUBLIC ../../../core/src)
target_include_directories(ledger-core-integration-tests PUBLIC ../../../qt-host)
include(CopyAndInstallImportedTargets)
copy_install_imported_targets(ledger-core-integration-tests crypto)
#add_test (NAME ledger-core-integration-tests COMMAND ledger-core-integration-tests)
# partial fix for LLC-77; dirty, but works and unlocks the CI
add_test (NAME ledger-core-integration-AccountBlockchainObservationTests.EmitNewTransaction COMMAND ledger-core-integration-tests --gtest_filter=AccountBlockchainObservationTests.EmitNewTransaction)
add_test (NAME ledger-core-integration-AccountBlockchainObservationTests.EmitNewTransactionAndReceiveOnPool COMMAND ledger-core-integration-tests --gtest_filter=AccountBlockchainObservationTests.EmitNewTransactionAndReceiveOnPool)
add_test (NAME ledger-core-integration-AccountBlockchainObservationTests.AutoReconnect COMMAND ledger-core-integration-tests --gtest_filter=AccountBlockchainObservationTests.AutoReconnect)
add_test (NAME ledger-core-integration-AccountBlockchainObservationTests.EmitNewBlock COMMAND ledger-core-integration-tests --gtest_filter=AccountBlockchainObservationTests.EmitNewBlock)
add_test (NAME ledger-core-integration-AccountCreationTest.CreateBitcoinAccountWithInfo COMMAND ledger-core-integration-tests --gtest_filter=AccountCreationTest.CreateBitcoinAccountWithInfo)
add_test (NAME ledger-core-integration-AccountCreationTest.CreateBitcoinAccountWithInfoOnExistingWallet COMMAND ledger-core-integration-tests --gtest_filter=AccountCreationTest.CreateBitcoinAccountWithInfoOnExistingWallet)
add_test (NAME ledger-core-integration-AccountCreationTest.ChangePassword COMMAND ledger-core-integration-tests --gtest_filter=AccountCreationTest.ChangePassword)
add_test (NAME ledger-core-integration-AccountInfoTests.FirstAccountInfo COMMAND ledger-core-integration-tests --gtest_filter=AccountInfoTests.FirstAccountInfo)
add_test (NAME ledger-core-integration-AccountInfoTests.AnotherAccountInfo COMMAND ledger-core-integration-tests --gtest_filter=AccountInfoTests.AnotherAccountInfo)
add_test (NAME ledger-core-integration-AccountsPublicInterfaceTest.GetAddressOnEmptyAccount COMMAND ledger-core-integration-tests --gtest_filter=AccountsPublicInterfaceTest.GetAddressOnEmptyAccount)
add_test (NAME ledger-core-integration-AccountsPublicInterfaceTest.GetBalanceOnEmptyAccount COMMAND ledger-core-integration-tests --gtest_filter=AccountsPublicInterfaceTest.GetBalanceOnEmptyAccount)
add_test (NAME ledger-core-integration-AccountsPublicInterfaceTest.GetBalanceOnAccountWithSomeTxs COMMAND ledger-core-integration-tests --gtest_filter=AccountsPublicInterfaceTest.GetBalanceOnAccountWithSomeTxs)
add_test (NAME ledger-core-integration-AccountsPublicInterfaceTest.GetBalanceHistoryOnAccountWithSomeTxs COMMAND ledger-core-integration-tests --gtest_filter=AccountsPublicInterfaceTest.GetBalanceHistoryOnAccountWithSomeTxs)
add_test (NAME ledger-core-integration-AccountsPublicInterfaceTest.QueryOperations COMMAND ledger-core-integration-tests --gtest_filter=AccountsPublicInterfaceTest.QueryOperations)
add_test (NAME ledger-core-integration-AccountsPublicInterfaceTest.QueryOperationsOnEmptyAccount COMMAND ledger-core-integration-tests --gtest_filter=AccountsPublicInterfaceTest.QueryOperationsOnEmptyAccount)
add_test (NAME ledger-core-integration-AccountsPublicInterfaceTest.GetTestnetUnits COMMAND ledger-core-integration-tests --gtest_filter=AccountsPublicInterfaceTest.GetTestnetUnits)
add_test (NAME ledger-core-integration-BitcoinWalletInitialization.InitializeNewWalletPool COMMAND ledger-core-integration-tests --gtest_filter=BitcoinWalletInitialization.InitializeNewWalletPool)
add_test (NAME ledger-core-integration-BitcoinWalletInitialization.InitializeBitcoinWallet COMMAND ledger-core-integration-tests --gtest_filter=BitcoinWalletInitialization.InitializeBitcoinWallet)
add_test (NAME ledger-core-integration-BitcoinKeychains.KeychainDerivation COMMAND ledger-core-integration-tests --gtest_filter=BitcoinKeychains.KeychainDerivation)
add_test (NAME ledger-core-integration-BitcoinKeychains.BCHKeychainDerivation COMMAND ledger-core-integration-tests --gtest_filter=BitcoinKeychains.BCHKeychainDerivation)
add_test (NAME ledger-core-integration-BitcoinKeychains.BTGKeychainDerivation COMMAND ledger-core-integration-tests --gtest_filter=BitcoinKeychains.BTGKeychainDerivation)
add_test (NAME ledger-core-integration-BitcoinKeychains.ZCashKeychainDerivation COMMAND ledger-core-integration-tests --gtest_filter=BitcoinKeychains.ZCashKeychainDerivation)
add_test (NAME ledger-core-integration-BitcoinKeychains.ZenCashKeychainDerivation COMMAND ledger-core-integration-tests --gtest_filter=BitcoinKeychains.ZenCashKeychainDerivation)
add_test (NAME ledger-core-integration-BitcoinKeychains.LTCKeychainDerivation COMMAND ledger-core-integration-tests --gtest_filter=BitcoinKeychains.LTCKeychainDerivation)
add_test (NAME ledger-core-integration-BitcoinKeychains.PeerCoinKeychainDerivation COMMAND ledger-core-integration-tests --gtest_filter=BitcoinKeychains.PeerCoinKeychainDerivation)
add_test (NAME ledger-core-integration-BitcoinKeychains.DigiByteKeychainDerivation COMMAND ledger-core-integration-tests --gtest_filter=BitcoinKeychains.DigiByteKeychainDerivation)
add_test (NAME ledger-core-integration-BitcoinKeychains.HcashKeychainDerivation COMMAND ledger-core-integration-tests --gtest_filter=BitcoinKeychains.HcashKeychainDerivation)
add_test (NAME ledger-core-integration-BitcoinKeychains.QtumKeychainDerivation COMMAND ledger-core-integration-tests --gtest_filter=BitcoinKeychains.QtumKeychainDerivation)
add_test (NAME ledger-core-integration-BitcoinKeychains.StealthCoinKeychainDerivation COMMAND ledger-core-integration-tests --gtest_filter=BitcoinKeychains.StealthCoinKeychainDerivation)
add_test (NAME ledger-core-integration-BitcoinKeychains.VertCoinKeychainDerivation COMMAND ledger-core-integration-tests --gtest_filter=BitcoinKeychains.VertCoinKeychainDerivation)
add_test (NAME ledger-core-integration-BitcoinKeychains.ViaCoinKeychainDerivation COMMAND ledger-core-integration-tests --gtest_filter=BitcoinKeychains.ViaCoinKeychainDerivation)
add_test (NAME ledger-core-integration-BitcoinKeychains.DashKeychainDerivation COMMAND ledger-core-integration-tests --gtest_filter=BitcoinKeychains.DashKeychainDerivation)
add_test (NAME ledger-core-integration-BitcoinKeychains.DogeKeychainDerivation COMMAND ledger-core-integration-tests --gtest_filter=BitcoinKeychains.DogeKeychainDerivation)
add_test (NAME ledger-core-integration-BitcoinKeychains.StratisKeychainDerivation COMMAND ledger-core-integration-tests --gtest_filter=BitcoinKeychains.StratisKeychainDerivation)
add_test (NAME ledger-core-integration-BitcoinKeychains.KomodoKeychainDerivation COMMAND ledger-core-integration-tests --gtest_filter=BitcoinKeychains.KomodoKeychainDerivation)
add_test (NAME ledger-core-integration-BitcoinKeychains.PosWalletKeychainDerivation COMMAND ledger-core-integration-tests --gtest_filter=BitcoinKeychains.PosWalletKeychainDerivation)
add_test (NAME ledger-core-integration-BitcoinKeychains.PivxKeychainDerivation COMMAND ledger-core-integration-tests --gtest_filter=BitcoinKeychains.PivxKeychainDerivation)
add_test (NAME ledger-core-integration-BitcoinKeychains.ClubcoinKeychainDerivation COMMAND ledger-core-integration-tests --gtest_filter=BitcoinKeychains.ClubcoinKeychainDerivation)
add_test (NAME ledger-core-integration-BitcoinKeychains.SimpleUsedReceiveAddresses COMMAND ledger-core-integration-tests --gtest_filter=BitcoinKeychains.SimpleUsedReceiveAddresses)
add_test (NAME ledger-core-integration-BitcoinKeychains.SimpleUsedChangeAddresses COMMAND ledger-core-integration-tests --gtest_filter=BitcoinKeychains.SimpleUsedChangeAddresses)
add_test (NAME ledger-core-integration-BitcoinKeychains.NonConsecutivesReceiveUsed COMMAND ledger-core-integration-tests --gtest_filter=BitcoinKeychains.NonConsecutivesReceiveUsed)
add_test (NAME ledger-core-integration-BitcoinKeychains.NonConsecutivesChangeUsed COMMAND ledger-core-integration-tests --gtest_filter=BitcoinKeychains.NonConsecutivesChangeUsed)
add_test (NAME ledger-core-integration-BitcoinKeychains.CheckIfEmpty COMMAND ledger-core-integration-tests --gtest_filter=BitcoinKeychains.CheckIfEmpty)
add_test (NAME ledger-core-integration-BitcoinP2SHKeychains.KeychainDerivation COMMAND ledger-core-integration-tests --gtest_filter=BitcoinP2SHKeychains.KeychainDerivation)
add_test (NAME ledger-core-integration-BitcoinP2SHKeychains.BCHKeychainDerivation COMMAND ledger-core-integration-tests --gtest_filter=BitcoinP2SHKeychains.BCHKeychainDerivation)
add_test (NAME ledger-core-integration-BitcoinP2SHKeychains.BTGKeychainDerivation COMMAND ledger-core-integration-tests --gtest_filter=BitcoinP2SHKeychains.BTGKeychainDerivation)
add_test (NAME ledger-core-integration-BitcoinP2SHKeychains.ZCASHKeychainDerivation COMMAND ledger-core-integration-tests --gtest_filter=BitcoinP2SHKeychains.ZCASHKeychainDerivation)
add_test (NAME ledger-core-integration-BitcoinP2SHKeychains.LTCKeychainDerivation COMMAND ledger-core-integration-tests --gtest_filter=BitcoinP2SHKeychains.LTCKeychainDerivation)
add_test (NAME ledger-core-integration-BitcoinP2SHKeychains.VertCoinKeychainDerivation COMMAND ledger-core-integration-tests --gtest_filter=BitcoinP2SHKeychains.VertCoinKeychainDerivation)
add_test (NAME ledger-core-integration-BitcoinP2SHKeychains.ViaCoinKeychainDerivation COMMAND ledger-core-integration-tests --gtest_filter=BitcoinP2SHKeychains.ViaCoinKeychainDerivation)
add_test (NAME ledger-core-integration-BitcoinP2SHKeychains.SimpleUsedReceiveAddresses COMMAND ledger-core-integration-tests --gtest_filter=BitcoinP2SHKeychains.SimpleUsedReceiveAddresses)
add_test (NAME ledger-core-integration-BitcoinP2SHKeychains.SimpleUsedChangeAddresses COMMAND ledger-core-integration-tests --gtest_filter=BitcoinP2SHKeychains.SimpleUsedChangeAddresses)
add_test (NAME ledger-core-integration-BitcoinP2SHKeychains.NonConsecutivesReceiveUsed COMMAND ledger-core-integration-tests --gtest_filter=BitcoinP2SHKeychains.NonConsecutivesReceiveUsed)
add_test (NAME ledger-core-integration-BitcoinP2SHKeychains.NonConsecutivesChangeUsed COMMAND ledger-core-integration-tests --gtest_filter=BitcoinP2SHKeychains.NonConsecutivesChangeUsed)
add_test (NAME ledger-core-integration-BitcoinP2SHKeychains.CheckIfEmpty COMMAND ledger-core-integration-tests --gtest_filter=BitcoinP2SHKeychains.CheckIfEmpty)
add_test (NAME ledger-core-integration-LedgerApiBitcoinLikeBlockchainExplorerTests.StartSession COMMAND ledger-core-integration-tests --gtest_filter=LedgerApiBitcoinLikeBlockchainExplorerTests.StartSession)
add_test (NAME ledger-core-integration-LedgerApiBitcoinLikeBlockchainExplorerTests.GetRawTransaction COMMAND ledger-core-integration-tests --gtest_filter=LedgerApiBitcoinLikeBlockchainExplorerTests.GetRawTransaction)
add_test (NAME ledger-core-integration-LedgerApiBitcoinLikeBlockchainExplorerTests.GetTransactionByHash COMMAND ledger-core-integration-tests --gtest_filter=LedgerApiBitcoinLikeBlockchainExplorerTests.GetTransactionByHash)
add_test (NAME ledger-core-integration-LedgerApiBitcoinLikeBlockchainExplorerTests.GetTransactionByHash_2 COMMAND ledger-core-integration-tests --gtest_filter=LedgerApiBitcoinLikeBlockchainExplorerTests.GetTransactionByHash_2)
add_test (NAME ledger-core-integration-LedgerApiBitcoinLikeBlockchainExplorerTests.GetTransactionByHash_3 COMMAND ledger-core-integration-tests --gtest_filter=LedgerApiBitcoinLikeBlockchainExplorerTests.GetTransactionByHash_3)
add_test (NAME ledger-core-integration-LedgerApiBitcoinLikeBlockchainExplorerTests.GetCurrentBlock COMMAND ledger-core-integration-tests --gtest_filter=LedgerApiBitcoinLikeBlockchainExplorerTests.GetCurrentBlock)
add_test (NAME ledger-core-integration-LedgerApiBitcoinLikeBlockchainExplorerTests.GetTransactions COMMAND ledger-core-integration-tests --gtest_filter=LedgerApiBitcoinLikeBlockchainExplorerTests.GetTransactions)
add_test (NAME ledger-core-integration-LedgerApiBitcoinLikeBlockchainExplorerTests.GetFees COMMAND ledger-core-integration-tests --gtest_filter=LedgerApiBitcoinLikeBlockchainExplorerTests.GetFees)
add_test (NAME ledger-core-integration-LedgerApiBitcoinLikeBlockchainExplorerTests.EndSession COMMAND ledger-core-integration-tests --gtest_filter=LedgerApiBitcoinLikeBlockchainExplorerTests.EndSession)
#add_test (NAME ledger-core-integration-LedgerApiEthereumLikeBlockchainExplorerTests.GetGasPrice COMMAND ledger-core-integration-tests --gtest_filter=LedgerApiEthereumLikeBlockchainExplorerTests.GetGasPrice)
#add_test (NAME ledger-core-integration-LedgerApiEthereumLikeBlockchainExplorerTests.GetEstimatedGasLimit COMMAND ledger-core-integration-tests --gtest_filter=LedgerApiEthereumLikeBlockchainExplorerTests.GetEstimatedGasLimit)
#add_test (NAME ledger-core-integration-LedgerApiEthereumLikeBlockchainExplorerTests.PostEstimatedGasLimit COMMAND ledger-core-integration-tests --gtest_filter=LedgerApiEthereumLikeBlockchainExplorerTests.PostEstimatedGasLimit)
add_test (NAME ledger-core-integration-WalletPoolTest.InitializeCurrencies COMMAND ledger-core-integration-tests --gtest_filter=WalletPoolTest.InitializeCurrencies)
add_test (NAME ledger-core-integration-WalletPoolTest.AddCurrency COMMAND ledger-core-integration-tests --gtest_filter=WalletPoolTest.AddCurrency)
add_test (NAME ledger-core-integration-WalletPoolTest.RemoveCurrency COMMAND ledger-core-integration-tests --gtest_filter=WalletPoolTest.RemoveCurrency)
add_test (NAME ledger-core-integration-WalletPoolTest.CreateAndGetWallet COMMAND ledger-core-integration-tests --gtest_filter=WalletPoolTest.CreateAndGetWallet)
add_test (NAME ledger-core-integration-BitcoinLikeWalletP2SHSynchronization.MediumXpubSynchronization COMMAND ledger-core-integration-tests --gtest_filter=BitcoinLikeWalletP2SHSynchronization.MediumXpubSynchronization)
add_test (NAME ledger-core-integration-BitcoinLikeWalletP2SHSynchronization.SynchronizeOnceAtATime COMMAND ledger-core-integration-tests --gtest_filter=BitcoinLikeWalletP2SHSynchronization.SynchronizeOnceAtATime)
add_test (NAME ledger-core-integration-BitcoinLikeWalletP2SHSynchronization.SynchronizeFromLastBlock COMMAND ledger-core-integration-tests --gtest_filter=BitcoinLikeWalletP2SHSynchronization.SynchronizeFromLastBlock)
add_test (NAME ledger-core-integration-BitcoinLikeWalletP2SHSynchronization.EraseDataSinceAfterSynchronization COMMAND ledger-core-integration-tests --gtest_filter=BitcoinLikeWalletP2SHSynchronization.EraseDataSinceAfterSynchronization)
add_test (NAME ledger-core-integration-BitcoinLikeWalletP2SHSynchronization.TestNetSynchronization COMMAND ledger-core-integration-tests --gtest_filter=BitcoinLikeWalletP2SHSynchronization.TestNetSynchronization)
add_test (NAME ledger-core-integration-BitcoinLikeWalletSynchronization.MediumXpubSynchronization COMMAND ledger-core-integration-tests --gtest_filter=BitcoinLikeWalletSynchronization.MediumXpubSynchronization)
add_test (NAME ledger-core-integration-BitcoinLikeWalletSynchronization.MediumDGBXpubSynchronization COMMAND ledger-core-integration-tests --gtest_filter=BitcoinLikeWalletSynchronization.MediumDGBXpubSynchronization)
add_test (NAME ledger-core-integration-BitcoinLikeWalletSynchronization.MediumLTCXpubSynchronization COMMAND ledger-core-integration-tests --gtest_filter=BitcoinLikeWalletSynchronization.MediumLTCXpubSynchronization)
add_test (NAME ledger-core-integration-BitcoinLikeWalletSynchronization.SynchronizeOnceAtATime COMMAND ledger-core-integration-tests --gtest_filter=BitcoinLikeWalletSynchronization.SynchronizeOnceAtATime)
add_test (NAME ledger-core-integration-BitcoinLikeWalletSynchronization.SynchronizeAndFreshResetAll COMMAND ledger-core-integration-tests --gtest_filter=BitcoinLikeWalletSynchronization.SynchronizeAndFreshResetAll)
add_test (NAME ledger-core-integration-BitcoinLikeWalletSynchronization.SynchronizeFromLastBlock COMMAND ledger-core-integration-tests --gtest_filter=BitcoinLikeWalletSynchronization.SynchronizeFromLastBlock)
add_test (NAME ledger-core-integration-BitcoinLikeWalletSynchronization.TestNetSynchronization COMMAND ledger-core-integration-tests --gtest_filter=BitcoinLikeWalletSynchronization.TestNetSynchronization)
add_test (NAME ledger-core-integration-BitcoinLikeWalletSynchronization.BTCParsingAndSerialization COMMAND ledger-core-integration-tests --gtest_filter=BitcoinLikeWalletSynchronization.BTCParsingAndSerialization)
add_test (NAME ledger-core-integration-BitcoinLikeWalletSynchronization.XSTParsingAndSerialization COMMAND ledger-core-integration-tests --gtest_filter=BitcoinLikeWalletSynchronization.XSTParsingAndSerialization)
add_test (NAME ledger-core-integration-BitcoinMakeP2PKHTransaction.CreateStandardP2PKHWithOneOutput COMMAND ledger-core-integration-tests --gtest_filter=BitcoinMakeP2PKHTransaction.CreateStandardP2PKHWithOneOutput)
add_test (NAME ledger-core-integration-BitcoinMakeP2PKHTransaction.CreateStandardP2PKHWithOneOutputAndFakeSignature COMMAND ledger-core-integration-tests --gtest_filter=BitcoinMakeP2PKHTransaction.CreateStandardP2PKHWithOneOutputAndFakeSignature)
add_test (NAME ledger-core-integration-BitcoinMakeP2PKHTransaction.CreateStandardP2PKHWithMultipleInputs COMMAND ledger-core-integration-tests --gtest_filter=BitcoinMakeP2PKHTransaction.CreateStandardP2PKHWithMultipleInputs)
add_test (NAME ledger-core-integration-BitcoinMakeP2PKHTransaction.Toto COMMAND ledger-core-integration-tests --gtest_filter=BitcoinMakeP2PKHTransaction.Toto)
add_test (NAME ledger-core-integration-BitcoinStardustTransaction.FilterDustUtxo COMMAND ledger-core-integration-tests --gtest_filter=BitcoinStardustTransaction.FilterDustUtxo)
add_test (NAME ledger-core-integration-BCHMakeP2SHTransaction.CreateStandardP2SHWithOneOutput COMMAND ledger-core-integration-tests --gtest_filter=BCHMakeP2SHTransaction.CreateStandardP2SHWithOneOutput)
add_test (NAME ledger-core-integration-ZCASHMakeP2SHTransaction.CreateStandardP2SHWithOneOutput COMMAND ledger-core-integration-tests --gtest_filter=ZCASHMakeP2SHTransaction.CreateStandardP2SHWithOneOutput)
add_test (NAME ledger-core-integration-ZCASHMakeP2SHTransaction.ParseSignedRawTransaction COMMAND ledger-core-integration-tests --gtest_filter=ZCASHMakeP2SHTransaction.ParseSignedRawTransaction)
add_test (NAME ledger-core-integration-BitcoinMakeP2SHTransaction.CreateStandardP2SHWithOneOutput COMMAND ledger-core-integration-tests --gtest_filter=BitcoinMakeP2SHTransaction.CreateStandardP2SHWithOneOutput)
add_test (NAME ledger-core-integration-BitcoinMakeP2SHTransaction.CreateStandardP2SHWithWipeToAddress COMMAND ledger-core-integration-tests --gtest_filter=BitcoinMakeP2SHTransaction.CreateStandardP2SHWithWipeToAddress)
add_test (NAME ledger-core-integration-BitcoinMakeP2SHTransaction.ParseSignedRawTransaction COMMAND ledger-core-integration-tests --gtest_filter=BitcoinMakeP2SHTransaction.ParseSignedRawTransaction)
add_test (NAME ledger-core-integration-BTGMakeP2SHTransaction.CreateStandardP2SHWithOneOutput COMMAND ledger-core-integration-tests --gtest_filter=BTGMakeP2SHTransaction.CreateStandardP2SHWithOneOutput)
add_test (NAME ledger-core-integration-BitcoinMakeP2WPKHTransaction.CreateStandardP2WPKHWithOneOutput COMMAND ledger-core-integration-tests --gtest_filter=BitcoinMakeP2WPKHTransaction.CreateStandardP2WPKHWithOneOutput)
add_test (NAME ledger-core-integration-BitcoinMakeP2WPKHTransaction.ParseSignedTx COMMAND ledger-core-integration-tests --gtest_filter=BitcoinMakeP2WPKHTransaction.ParseSignedTx)
add_test (NAME ledger-core-integration-BitcoinMakeP2WSHTransaction.CreateStandardP2WSHWithOneOutput COMMAND ledger-core-integration-tests --gtest_filter=BitcoinMakeP2WSHTransaction.CreateStandardP2WSHWithOneOutput)
add_test (NAME ledger-core-integration-BitcoinMakeP2WSHTransaction.ParseSignedTx COMMAND ledger-core-integration-tests --gtest_filter=BitcoinMakeP2WSHTransaction.ParseSignedTx)
add_test (NAME ledger-core-integration-CoinSelectionP2PKH.PickOneUTXOWithoutChange COMMAND ledger-core-integration-tests --gtest_filter=CoinSelectionP2PKH.PickOneUTXOWithoutChange)
add_test (NAME ledger-core-integration-CoinSelectionP2PKH.PickOneUTXOWithChange COMMAND ledger-core-integration-tests --gtest_filter=CoinSelectionP2PKH.PickOneUTXOWithChange)
add_test (NAME ledger-core-integration-CoinSelectionP2PKH.PickMultipleUTXO COMMAND ledger-core-integration-tests --gtest_filter=CoinSelectionP2PKH.PickMultipleUTXO)
add_test (NAME ledger-core-integration-CoinSelectionP2PKH.PickAllUTXO COMMAND ledger-core-integration-tests --gtest_filter=CoinSelectionP2PKH.PickAllUTXO)
add_test (NAME ledger-core-integration-CoinSelectionP2PKH.PickUTXOWithMergeOutputs COMMAND ledger-core-integration-tests --gtest_filter=CoinSelectionP2PKH.PickUTXOWithMergeOutputs)
#add_test (NAME ledger-core-integration-CoinSelectionP2PKH.CompareUTXOPickingStrategies COMMAND ledger-core-integration-tests --gtest_filter=CoinSelectionP2PKH.CompareUTXOPickingStrategies)
add_test (NAME ledger-core-integration-BitcoinWalletDatabaseTests.EmptyWallet COMMAND ledger-core-integration-tests --gtest_filter=BitcoinWalletDatabaseTests.EmptyWallet)
add_test (NAME ledger-core-integration-BitcoinWalletDatabaseTests.CreateWalletWithOneAccount COMMAND ledger-core-integration-tests --gtest_filter=BitcoinWalletDatabaseTests.CreateWalletWithOneAccount)
add_test (NAME ledger-core-integration-BitcoinWalletDatabaseTests.CreateWalletWithMultipleAccountAndDelete COMMAND ledger-core-integration-tests --gtest_filter=BitcoinWalletDatabaseTests.CreateWalletWithMultipleAccountAndDelete)
add_test (NAME ledger-core-integration-BitcoinWalletDatabaseTests.PutTransaction COMMAND ledger-core-integration-tests --gtest_filter=BitcoinWalletDatabaseTests.PutTransaction)
add_test (NAME ledger-core-integration-BitcoinWalletDatabaseTests.PutTransactionWithMultipleOutputs COMMAND ledger-core-integration-tests --gtest_filter=BitcoinWalletDatabaseTests.PutTransactionWithMultipleOutputs)
add_test (NAME ledger-core-integration-BitcoinWalletDatabaseTests.PutOperations COMMAND ledger-core-integration-tests --gtest_filter=BitcoinWalletDatabaseTests.PutOperations)
add_test (NAME ledger-core-integration-WalletTests.CreateNewWallet COMMAND ledger-core-integration-tests --gtest_filter=WalletTests.CreateNewWallet)
add_test (NAME ledger-core-integration-WalletTests.GetAccountWithSameInstance COMMAND ledger-core-integration-tests --gtest_filter=WalletTests.GetAccountWithSameInstance)
add_test (NAME ledger-core-integration-WalletTests.GetAccountOnEmptyWallet COMMAND ledger-core-integration-tests --gtest_filter=WalletTests.GetAccountOnEmptyWallet)
add_test (NAME ledger-core-integration-WalletTests.GetMultipleAccounts COMMAND ledger-core-integration-tests --gtest_filter=WalletTests.GetMultipleAccounts)
add_test (NAME ledger-core-integration-WalletTests.GetTooManyMultipleAccounts COMMAND ledger-core-integration-tests --gtest_filter=WalletTests.GetTooManyMultipleAccounts)
add_test (NAME ledger-core-integration-WalletTests.GetAccountAfterPoolReopen COMMAND ledger-core-integration-tests --gtest_filter=WalletTests.GetAccountAfterPoolReopen)
add_test (NAME ledger-core-integration-WalletTests.CreateNonContiguousAccount COMMAND ledger-core-integration-tests --gtest_filter=WalletTests.CreateNonContiguousAccount)
add_test (NAME ledger-core-integration-WalletTests.CreateNonContiguousAccountBis COMMAND ledger-core-integration-tests --gtest_filter=WalletTests.CreateNonContiguousAccountBis)
add_test (NAME ledger-core-integration-WalletTests.CreateAccountBug COMMAND ledger-core-integration-tests --gtest_filter=WalletTests.CreateAccountBug)
add_test (NAME ledger-core-integration-WalletTests.ChangeWalletConfig COMMAND ledger-core-integration-tests --gtest_filter=WalletTests.ChangeWalletConfig)
add_test (NAME ledger-core-integration-EthereumLikeWalletSynchronization.MediumXpubSynchronization COMMAND ledger-core-integration-tests --gtest_filter=EthereumLikeWalletSynchronization.MediumXpubSynchronization)
add_test (NAME ledger-core-integration-EthereumLikeWalletSynchronization.XpubSynchronization COMMAND ledger-core-integration-tests --gtest_filter=EthereumLikeWalletSynchronization.XpubSynchronization)
add_test (NAME ledger-core-integration-EthereumLikeWalletSynchronization.ReorgLastBlock COMMAND ledger-core-integration-tests --gtest_filter=EthereumLikeWalletSynchronization.ReorgLastBlock)
add_test (NAME ledger-core-integration-EthereumMakeTransaction.CreateTx COMMAND ledger-core-integration-tests --gtest_filter=EthereumMakeTransaction.CreateTx)
add_test (NAME ledger-core-integration-EthereumMakeTransaction.ParseUnsignedRawTransaction COMMAND ledger-core-integration-tests --gtest_filter=EthereumMakeTransaction.ParseUnsignedRawTransaction)
add_test (NAME ledger-core-integration-EthereumKeychains.KeychainDerivation COMMAND ledger-core-integration-tests --gtest_filter=EthereumKeychains.KeychainDerivation)
add_test (NAME ledger-core-integration-EthereumKeychains.EthereumAddressValidation COMMAND ledger-core-integration-tests --gtest_filter=EthereumKeychains.EthereumAddressValidation)
add_test (NAME ledger-core-integration-EthereumKeychains.EthereumEmptyAddressValidation COMMAND ledger-core-integration-tests --gtest_filter=EthereumKeychains.EthereumEmptyAddressValidation)
add_test (NAME ledger-core-integration-EthereumKeychains.EthereumAddressValidationFromXpub COMMAND ledger-core-integration-tests --gtest_filter=EthereumKeychains.EthereumAddressValidationFromXpub)
add_test (NAME ledger-core-integration-EthereumKeychains.EthereumChildAddressValidationFromPubKeyAndChainCode COMMAND ledger-core-integration-tests --gtest_filter=EthereumKeychains.EthereumChildAddressValidationFromPubKeyAndChainCode)
add_test (NAME ledger-core-integration-EthereumKeychains.EthereumExoticDerivationPaths COMMAND ledger-core-integration-tests --gtest_filter=EthereumKeychains.EthereumExoticDerivationPaths)
add_test (NAME ledger-core-integration-EthereumKeychains.EthereumAddressValidationFromPubKeyAndChainCode COMMAND ledger-core-integration-tests --gtest_filter=EthereumKeychains.EthereumAddressValidationFromPubKeyAndChainCode)
add_test (NAME ledger-core-integration-EthereumKeychains.EthereumDerivationSchemes COMMAND ledger-core-integration-tests --gtest_filter=EthereumKeychains.EthereumDerivationSchemes)
# add_test (NAME ledger-core-integration-RippleLikeWalletSynchronization.MediumXpubSynchronization COMMAND ledger-core-integration-tests --gtest_filter=RippleLikeWalletSynchronization.MediumXpubSynchronization)
add_test (NAME ledger-core-integration-RippleLikeWalletSynchronization.EmitNewTransactionAndReceiveOnPool COMMAND ledger-core-integration-tests --gtest_filter=RippleLikeWalletSynchronization.EmitNewTransactionAndReceiveOnPool)
add_test (NAME ledger-core-integration-RippleLikeWalletSynchronization.EmitNewBlock COMMAND ledger-core-integration-tests --gtest_filter=RippleLikeWalletSynchronization.EmitNewBlock)
add_test (NAME ledger-core-integration-RippleMakeTransaction.CreateTx COMMAND ledger-core-integration-tests --gtest_filter=RippleMakeTransaction.CreateTx)
add_test (NAME ledger-core-integration-RippleMakeTransaction.ParseSignedRawTransaction COMMAND ledger-core-integration-tests --gtest_filter=RippleMakeTransaction.ParseSignedRawTransaction)
add_test (NAME ledger-core-integration-RippleMakeTransaction.ParseSignedRawTransactionWithMemo COMMAND ledger-core-integration-tests --gtest_filter=RippleMakeTransaction.ParseSignedRawTransactionWithMemo)
add_test (NAME ledger-core-integration-RippleMakeTransaction.ParseSignedRawTransactionWithDestinationTag COMMAND ledger-core-integration-tests --gtest_filter=RippleMakeTransaction.ParseSignedRawTransactionWithDestinationTag)
#add_test (NAME ledger-core-integration-TezosMakeTransaction.CreateTx COMMAND ledger-core-integration-tests --gtest_filter=TezosMakeTransaction.CreateTx)
add_test (NAME ledger-core-integration-TezosMakeTransaction.ParseSignedRawTransaction COMMAND ledger-core-integration-tests --gtest_filter=TezosMakeTransaction.ParseSignedRawTransaction)
add_test (NAME ledger-core-integration-TezosMakeTransaction.ParseSignedRawRevealTransaction COMMAND ledger-core-integration-tests --gtest_filter=TezosMakeTransaction.ParseSignedRawRevealTransaction)
add_test (NAME ledger-core-integration-TezosMakeTransaction.ParseSignedRawOriginationTransaction COMMAND ledger-core-integration-tests --gtest_filter=TezosMakeTransaction.ParseSignedRawOriginationTransaction)
add_test (NAME ledger-core-integration-TezosLikeWalletSynchronization.MediumXpubSynchronization COMMAND ledger-core-integration-tests --gtest_filter=TezosLikeWalletSynchronization.MediumXpubSynchronization)
add_test (NAME ledger-core-integration-CosmosLikeWalletSynchronization.MediumXpubSynchronization COMMAND ledger-core-integration-tests --gtest_filter=CosmosLikeWalletSynchronization.MediumXpubSynchronization)
add_test (NAME ledger-core-integration-CosmosLikeWalletSynchronization.SuccessiveSynchronizations COMMAND ledger-core-integration-tests --gtest_filter=CosmosLikeWalletSynchronization.SuccessiveSynchronizations)
add_test (NAME ledger-core-integration-CosmosLikeWalletSynchronization.Balances COMMAND ledger-core-integration-tests --gtest_filter=CosmosLikeWalletSynchronization.Balances)
add_test (NAME ledger-core-integration-CosmosLikeWalletSynchronization.ValidatorSet COMMAND ledger-core-integration-tests --gtest_filter=CosmosLikeWalletSynchronization.ValidatorSet)
add_test (NAME ledger-core-integration-CosmosLikeWalletSynchronization.ValidatorInfo COMMAND ledger-core-integration-tests --gtest_filter=CosmosLikeWalletSynchronization.ValidatorInfo)
add_test (NAME ledger-core-integration-CosmosLikeWalletSynchronization.GetAccountWithExplorer COMMAND ledger-core-integration-tests --gtest_filter=CosmosLikeWalletSynchronization.GetAccountWithExplorer)
add_test (NAME ledger-core-integration-CosmosLikeWalletSynchronization.GetWithdrawDelegationRewardWithExplorer COMMAND ledger-core-integration-tests --gtest_filter=CosmosLikeWalletSynchronization.GetWithdrawDelegationRewardWithExplorer)
add_test (NAME ledger-core-integration-CosmosLikeWalletSynchronization.GetErrorTransaction COMMAND ledger-core-integration-tests --gtest_filter=CosmosLikeWalletSynchronization.GetErrorTransaction)
add_test (NAME ledger-core-integration-CosmosLikeWalletSynchronization.GetSendWithExplorer COMMAND ledger-core-integration-tests --gtest_filter=CosmosLikeWalletSynchronization.GetSendWithExplorer)
add_test (NAME ledger-core-integration-CosmosLikeWalletSynchronization.GetDelegateWithExplorer COMMAND ledger-core-integration-tests --gtest_filter=CosmosLikeWalletSynchronization.GetDelegateWithExplorer)
add_test (NAME ledger-core-integration-CosmosLikeWalletSynchronization.GetCurrentBlockWithExplorer COMMAND ledger-core-integration-tests --gtest_filter=CosmosLikeWalletSynchronization.GetCurrentBlockWithExplorer)
add_test (NAME ledger-core-integration-CosmosLikeWalletSynchronization.AllTransactionsSynchronization COMMAND ledger-core-integration-tests --gtest_filter=CosmosLikeWalletSynchronization.AllTransactionsSynchronization)
add_test (NAME ledger-core-integration-CosmosLikeWalletSynchronization.BalanceHistoryOperationQuery COMMAND ledger-core-integration-tests --gtest_filter=CosmosLikeWalletSynchronization.BalanceHistoryOperationQuery)
add_test (NAME ledger-core-integration-CosmosLikeWalletSynchronization.GasLimitEstimationForTransfer COMMAND ledger-core-integration-tests --gtest_filter=CosmosLikeWalletSynchronization.GasLimitEstimationForTransfer)
add_test (NAME ledger-core-integration-CosmosLikeWalletSynchronization.GasLimitEstimationForWithdrawingRewards COMMAND ledger-core-integration-tests --gtest_filter=CosmosLikeWalletSynchronization.GasLimitEstimationForWithdrawingRewards)
add_test (NAME ledger-core-integration-CosmosLikeWalletSynchronization.GasLimitEstimationForDelegation COMMAND ledger-core-integration-tests --gtest_filter=CosmosLikeWalletSynchronization.GasLimitEstimationForDelegation)
add_test (NAME ledger-core-integration-CosmosLikeWalletSynchronization.GasLimitEstimationForUnDelegation COMMAND ledger-core-integration-tests --gtest_filter=CosmosLikeWalletSynchronization.GasLimitEstimationForUnDelegation)
add_test (NAME ledger-core-integration-CosmosLikeWalletSynchronization.GasLimitEstimationForRedelegation COMMAND ledger-core-integration-tests --gtest_filter=CosmosLikeWalletSynchronization.GasLimitEstimationForRedelegation)
add_test (NAME ledger-core-integration-CosmosLikeWalletSynchronization.PendingUnbondings COMMAND ledger-core-integration-tests --gtest_filter=CosmosLikeWalletSynchronization.PendingUnbondings)
add_test (NAME ledger-core-integration-CosmosLikeWalletSynchronization.PendingRedelegations COMMAND ledger-core-integration-tests --gtest_filter=CosmosLikeWalletSynchronization.PendingRedelegations)
add_test (NAME ledger-core-integration-CosmosLikeWalletSynchronization.InternalFeesMessageInTransaction COMMAND ledger-core-integration-tests --gtest_filter=CosmosLikeWalletSynchronization.InternalFeesMessageInTransaction)
add_test (NAME ledger-core-integration-CosmosStargateWalletSynchronization.MediumXpubSynchronization COMMAND ledger-core-integration-tests --gtest_filter=CosmosStargateWalletSynchronization.MediumXpubSynchronization)
add_test (NAME ledger-core-integration-CosmosStargateWalletSynchronization.SuccessiveSynchronizations COMMAND ledger-core-integration-tests --gtest_filter=CosmosStargateWalletSynchronization.SuccessiveSynchronizations)
add_test (NAME ledger-core-integration-CosmosStargateWalletSynchronization.Balances COMMAND ledger-core-integration-tests --gtest_filter=CosmosStargateWalletSynchronization.Balances)
add_test (NAME ledger-core-integration-CosmosStargateWalletSynchronization.ValidatorSet COMMAND ledger-core-integration-tests --gtest_filter=CosmosStargateWalletSynchronization.ValidatorSet)
add_test (NAME ledger-core-integration-CosmosStargateWalletSynchronization.ValidatorInfo COMMAND ledger-core-integration-tests --gtest_filter=CosmosStargateWalletSynchronization.ValidatorInfo)
add_test (NAME ledger-core-integration-CosmosStargateWalletSynchronization.GetAccountWithExplorer COMMAND ledger-core-integration-tests --gtest_filter=CosmosStargateWalletSynchronization.GetAccountWithExplorer)
# add_test (NAME ledger-core-integration-CosmosStargateWalletSynchronization.GetErrorTransaction COMMAND ledger-core-integration-tests --gtest_filter=CosmosStargateWalletSynchronization.GetErrorTransaction)
add_test (NAME ledger-core-integration-CosmosStargateWalletSynchronization.GetSendWithExplorer COMMAND ledger-core-integration-tests --gtest_filter=CosmosStargateWalletSynchronization.GetSendWithExplorer)
add_test (NAME ledger-core-integration-CosmosStargateWalletSynchronization.GetDelegateWithExplorer COMMAND ledger-core-integration-tests --gtest_filter=CosmosStargateWalletSynchronization.GetDelegateWithExplorer)
add_test (NAME ledger-core-integration-CosmosStargateWalletSynchronization.GetCurrentBlockWithExplorer COMMAND ledger-core-integration-tests --gtest_filter=CosmosStargateWalletSynchronization.GetCurrentBlockWithExplorer)
add_test (NAME ledger-core-integration-CosmosStargateWalletSynchronization.AllTransactionsSynchronization COMMAND ledger-core-integration-tests --gtest_filter=CosmosStargateWalletSynchronization.AllTransactionsSynchronization)
add_test (NAME ledger-core-integration-CosmosStargateWalletSynchronization.BalanceHistoryOperationQuery COMMAND ledger-core-integration-tests --gtest_filter=CosmosStargateWalletSynchronization.BalanceHistoryOperationQuery)
add_test (NAME ledger-core-integration-CosmosStargateWalletSynchronization.GasLimitEstimationForTransfer COMMAND ledger-core-integration-tests --gtest_filter=CosmosStargateWalletSynchronization.GasLimitEstimationForTransfer)
add_test (NAME ledger-core-integration-CosmosStargateWalletSynchronization.GasLimitEstimationForDelegation COMMAND ledger-core-integration-tests --gtest_filter=CosmosStargateWalletSynchronization.GasLimitEstimationForDelegation)
add_test (NAME ledger-core-integration-CosmosStargateWalletSynchronization.InternalFeesMessageInTransaction COMMAND ledger-core-integration-tests --gtest_filter=CosmosStargateWalletSynchronization.InternalFeesMessageInTransaction)
# These 2 tests demand that an account maintains unbondings and redelegations on chain
#
# add_test (NAME ledger-core-integration-CosmosStargateWalletSynchronization.PendingUnbondings COMMAND ledger-core-integration-tests --gtest_filter=CosmosStargateWalletSynchronization.PendingUnbondings)
# add_test (NAME ledger-core-integration-CosmosStargateWalletSynchronization.PendingRedelegations COMMAND ledger-core-integration-tests --gtest_filter=CosmosStargateWalletSynchronization.PendingRedelegations)
# These 3 tests demand that the account is maintained in a state where the transaction
# would be legal, otherwise the gas estimation fails (node returns 5xx),
# and the cpp function returns 0 for the estimation
#
# add_test (NAME ledger-core-integration-CosmosStargateWalletSynchronization.GasLimitEstimationForWithdrawingRewards COMMAND ledger-core-integration-tests --gtest_filter=CosmosStargateWalletSynchronization.GasLimitEstimationForWithdrawingRewards)
# add_test (NAME ledger-core-integration-CosmosStargateWalletSynchronization.GasLimitEstimationForUnDelegation COMMAND ledger-core-integration-tests --gtest_filter=CosmosStargateWalletSynchronization.GasLimitEstimationForUnDelegation)
# add_test (NAME ledger-core-integration-CosmosStargateWalletSynchronization.GasLimitEstimationForRedelegation COMMAND ledger-core-integration-tests --gtest_filter=CosmosStargateWalletSynchronization.GasLimitEstimationForRedelegation)