move testing logic and integration tests into separate directory
This commit is contained in:
parent
dbf85bbc0d
commit
72a629a8be
18
.gitignore
vendored
18
.gitignore
vendored
@ -47,16 +47,16 @@ src/lib/test_taler_exchange_httpd_home/.local/share/taler/exchange/wirefees/
|
||||
src/lib/test_taler_exchange_httpd_home/.local/share/taler/auditor/
|
||||
src/lib/test_taler_exchange_httpd_home/.local/share/taler/auditors/
|
||||
|
||||
src/lib/test_exchange_api_keys_cherry_picking_home/.local/share/taler/exchange/live-keys/
|
||||
src/lib/test_exchange_api_keys_cherry_picking_home/.local/share/taler/exchange/wirefees/
|
||||
src/lib/test_exchange_api_keys_cherry_picking_home/.local/share/taler/auditor/
|
||||
src/lib/test_exchange_api_keys_cherry_picking_home/.local/share/taler/auditors/
|
||||
src/lib/test_exchange_api_home/.local/share/taler/exchange/live-keys/
|
||||
src/lib/test_exchange_api_home/.local/share/taler/exchange/wirefees/
|
||||
src/lib/test_exchange_api_home/.local/share/taler/auditor/
|
||||
src/lib/test_exchange_api_home/.local/share/taler/auditors/
|
||||
src/testing/test_exchange_api_keys_cherry_picking_home/.local/share/taler/exchange/live-keys/
|
||||
src/testing/test_exchange_api_keys_cherry_picking_home/.local/share/taler/exchange/wirefees/
|
||||
src/testing/test_exchange_api_keys_cherry_picking_home/.local/share/taler/auditor/
|
||||
src/testing/test_exchange_api_keys_cherry_picking_home/.local/share/taler/auditors/
|
||||
src/testing/test_exchange_api_home/.local/share/taler/exchange/live-keys/
|
||||
src/testing/test_exchange_api_home/.local/share/taler/exchange/wirefees/
|
||||
src/testing/test_exchange_api_home/.local/share/taler/auditor/
|
||||
src/testing/test_exchange_api_home/.local/share/taler/auditors/
|
||||
src/lib/auditor.in
|
||||
src/lib/test_exchange_api_twisted
|
||||
src/testing/test_exchange_api_twisted
|
||||
src/exchange/taler-exchange-aggregator
|
||||
src/exchange/test_taler_exchange_aggregator-postgres
|
||||
src/exchange/test_taler_exchange_httpd_home/.local/share/taler/exchange/live-keys/
|
||||
|
@ -487,6 +487,7 @@ AC_CONFIG_FILES([Makefile
|
||||
src/exchangedb/Makefile
|
||||
src/exchange-tools/Makefile
|
||||
src/lib/Makefile
|
||||
src/testing/Makefile
|
||||
src/benchmark/Makefile
|
||||
src/include/Makefile
|
||||
src/json/Makefile
|
||||
|
@ -25,4 +25,5 @@ SUBDIRS = \
|
||||
auditordb \
|
||||
auditor \
|
||||
lib \
|
||||
testing \
|
||||
benchmark
|
||||
|
@ -20,7 +20,7 @@ taler_exchange_benchmark_LDADD = \
|
||||
$(top_builddir)/src/json/libtalerjson.la \
|
||||
$(top_builddir)/src/util/libtalerutil.la \
|
||||
$(top_builddir)/src/lib/libtalerexchange.la \
|
||||
$(top_builddir)/src/lib/libtalertesting.la \
|
||||
$(top_builddir)/src/testing/libtalertesting.la \
|
||||
$(top_builddir)/src/bank-lib/libtalerfakebank.la \
|
||||
$(top_builddir)/src/bank-lib/libtalerbank.la \
|
||||
-lgnunetjson \
|
||||
|
@ -1,4 +1,5 @@
|
||||
# This Makefile.am is in the public domain
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir)/src/include \
|
||||
$(LIBGCRYPT_CFLAGS) \
|
||||
@ -9,12 +10,12 @@ if USE_COVERAGE
|
||||
XLIB = -lgcov
|
||||
endif
|
||||
|
||||
|
||||
# Libraries
|
||||
|
||||
lib_LTLIBRARIES = \
|
||||
libtalerauditor.la \
|
||||
libtalerexchange.la \
|
||||
libtalertesting.la
|
||||
libtalerexchange.la
|
||||
|
||||
libtalerexchange_la_LDFLAGS = \
|
||||
-version-info 4:0:0 \
|
||||
@ -62,294 +63,3 @@ libtalerauditor_la_LIBADD = \
|
||||
-ljansson \
|
||||
$(LIBGNURLCURL_LIBS) \
|
||||
$(XLIB)
|
||||
|
||||
libtalertesting_la_LDFLAGS = \
|
||||
-version-info 0:0:0 \
|
||||
-no-undefined
|
||||
libtalertesting_la_SOURCES = \
|
||||
exchange_api_curl_defaults.c \
|
||||
testing_api_cmd_auditor_deposit_confirmation.c \
|
||||
testing_api_cmd_auditor_exchanges.c \
|
||||
testing_api_cmd_auditor_exec_auditor.c \
|
||||
testing_api_cmd_auditor_exec_auditor_dbinit.c \
|
||||
testing_api_cmd_auditor_exec_wire_auditor.c \
|
||||
testing_api_cmd_bank_admin_add_incoming.c \
|
||||
testing_api_cmd_bank_check.c \
|
||||
testing_api_cmd_bank_admin_check.c \
|
||||
testing_api_cmd_bank_check_empty.c \
|
||||
testing_api_cmd_bank_history_credit.c \
|
||||
testing_api_cmd_bank_history_debit.c \
|
||||
testing_api_cmd_bank_transfer.c \
|
||||
testing_api_cmd_batch.c \
|
||||
testing_api_cmd_check_keys.c \
|
||||
testing_api_cmd_deposit.c \
|
||||
testing_api_cmd_exec_aggregator.c \
|
||||
testing_api_cmd_exec_wirewatch.c \
|
||||
testing_api_cmd_exec_keyup.c \
|
||||
testing_api_cmd_exec_auditor-sign.c \
|
||||
testing_api_cmd_recoup.c \
|
||||
testing_api_cmd_refund.c \
|
||||
testing_api_cmd_refresh.c \
|
||||
testing_api_cmd_serialize_keys.c \
|
||||
testing_api_cmd_signal.c \
|
||||
testing_api_cmd_sleep.c \
|
||||
testing_api_cmd_status.c \
|
||||
testing_api_cmd_track.c \
|
||||
testing_api_cmd_wait.c \
|
||||
testing_api_cmd_wire.c \
|
||||
testing_api_cmd_withdraw.c \
|
||||
testing_api_cmd_insert_deposit.c \
|
||||
testing_api_helpers_auditor.c \
|
||||
testing_api_helpers_bank.c \
|
||||
testing_api_helpers_exchange.c \
|
||||
testing_api_loop.c \
|
||||
testing_api_traits.c \
|
||||
testing_api_trait_amount.c \
|
||||
testing_api_trait_blinding_key.c \
|
||||
testing_api_trait_cmd.c \
|
||||
testing_api_trait_coin_priv.c \
|
||||
testing_api_trait_contract.c \
|
||||
testing_api_trait_denom_pub.c \
|
||||
testing_api_trait_denom_sig.c \
|
||||
testing_api_trait_exchange_pub.c \
|
||||
testing_api_trait_exchange_sig.c \
|
||||
testing_api_trait_fresh_coin.c \
|
||||
testing_api_trait_json.c \
|
||||
testing_api_trait_merchant_key.c \
|
||||
testing_api_trait_number.c \
|
||||
testing_api_trait_process.c \
|
||||
testing_api_trait_reserve_pub.c \
|
||||
testing_api_trait_reserve_priv.c \
|
||||
testing_api_trait_string.c \
|
||||
testing_api_trait_time.c \
|
||||
testing_api_trait_wtid.c
|
||||
libtalertesting_la_LIBADD = \
|
||||
libtalerexchange.la \
|
||||
$(top_builddir)/src/json/libtalerjson.la \
|
||||
$(top_builddir)/src/util/libtalerutil.la \
|
||||
$(top_builddir)/src/bank-lib/libtalerbank.la \
|
||||
$(top_builddir)/src/bank-lib/libtalerfakebank.la \
|
||||
-lgnunetcurl \
|
||||
-lgnunetjson \
|
||||
-lgnunetutil \
|
||||
-ljansson \
|
||||
$(XLIB)
|
||||
|
||||
# Testcases
|
||||
|
||||
AM_TESTS_ENVIRONMENT=export TALER_PREFIX=$${TALER_PREFIX:-@libdir@};export PATH=$${TALER_PREFIX:-@prefix@}/bin:$$PATH;
|
||||
|
||||
check_PROGRAMS = \
|
||||
test_auditor_api \
|
||||
test_auditor_api_version \
|
||||
test_bank_api_with_fakebank \
|
||||
test_bank_api_with_pybank \
|
||||
test_exchange_api \
|
||||
test_exchange_api_keys_cherry_picking \
|
||||
test_exchange_api_revocation \
|
||||
test_exchange_api_overlapping_keys_bug \
|
||||
test_taler_exchange_aggregator-postgres \
|
||||
test_taler_exchange_wirewatch-postgres
|
||||
if HAVE_TWISTER
|
||||
check_PROGRAMS += \
|
||||
test_exchange_api_twisted \
|
||||
test_bank_api_with_fakebank_twisted \
|
||||
test_bank_api_with_pybank_twisted
|
||||
endif
|
||||
|
||||
TESTS = \
|
||||
$(check_PROGRAMS)
|
||||
|
||||
test_auditor_api_SOURCES = \
|
||||
test_auditor_api.c
|
||||
test_auditor_api_LDADD = \
|
||||
libtalerauditor.la \
|
||||
libtalertesting.la \
|
||||
libtalerexchange.la \
|
||||
$(LIBGCRYPT_LIBS) \
|
||||
$(top_builddir)/src/bank-lib/libtalerfakebank.la \
|
||||
$(top_builddir)/src/bank-lib/libtalerbank.la \
|
||||
$(top_builddir)/src/json/libtalerjson.la \
|
||||
$(top_builddir)/src/util/libtalerutil.la \
|
||||
-lgnunetcurl \
|
||||
-lgnunetutil \
|
||||
-ljansson
|
||||
|
||||
test_auditor_api_version_SOURCES = \
|
||||
test_auditor_api_version.c
|
||||
test_auditor_api_version_LDADD = \
|
||||
libtalerauditor.la \
|
||||
$(LIBGCRYPT_LIBS) \
|
||||
$(top_builddir)/src/util/libtalerutil.la \
|
||||
-lgnunetcurl \
|
||||
-lgnunetutil \
|
||||
-ljansson
|
||||
|
||||
test_bank_api_with_fakebank_SOURCES = \
|
||||
test_bank_api.c
|
||||
test_bank_api_with_fakebank_LDADD = \
|
||||
$(top_builddir)/src/lib/libtalertesting.la \
|
||||
-ltalerexchange \
|
||||
-lgnunetutil \
|
||||
$(top_builddir)/src/bank-lib/libtalerbank.la
|
||||
|
||||
test_bank_api_with_pybank_SOURCES = \
|
||||
test_bank_api.c
|
||||
test_bank_api_with_pybank_LDADD = \
|
||||
libtalertesting.la \
|
||||
libtalerexchange.la \
|
||||
-lgnunetutil \
|
||||
$(top_builddir)/src/bank-lib/libtalerbank.la
|
||||
|
||||
test_exchange_api_SOURCES = \
|
||||
test_exchange_api.c
|
||||
test_exchange_api_LDADD = \
|
||||
libtalertesting.la \
|
||||
libtalerexchange.la \
|
||||
$(LIBGCRYPT_LIBS) \
|
||||
$(top_builddir)/src/bank-lib/libtalerfakebank.la \
|
||||
$(top_builddir)/src/bank-lib/libtalerbank.la \
|
||||
$(top_builddir)/src/json/libtalerjson.la \
|
||||
$(top_builddir)/src/util/libtalerutil.la \
|
||||
-lgnunetcurl \
|
||||
-lgnunetutil \
|
||||
-ljansson
|
||||
|
||||
test_exchange_api_revocation_SOURCES = \
|
||||
test_exchange_api_revocation.c
|
||||
test_exchange_api_revocation_LDADD = \
|
||||
libtalertesting.la \
|
||||
libtalerexchange.la \
|
||||
$(LIBGCRYPT_LIBS) \
|
||||
$(top_builddir)/src/bank-lib/libtalerfakebank.la \
|
||||
$(top_builddir)/src/bank-lib/libtalerbank.la \
|
||||
$(top_builddir)/src/json/libtalerjson.la \
|
||||
$(top_builddir)/src/util/libtalerutil.la \
|
||||
-lgnunetcurl \
|
||||
-lgnunetutil \
|
||||
-ljansson
|
||||
|
||||
test_exchange_api_keys_cherry_picking_SOURCES = \
|
||||
test_exchange_api_keys_cherry_picking.c
|
||||
test_exchange_api_keys_cherry_picking_LDADD = \
|
||||
libtalertesting.la \
|
||||
libtalerexchange.la \
|
||||
$(LIBGCRYPT_LIBS) \
|
||||
$(top_builddir)/src/json/libtalerjson.la \
|
||||
$(top_builddir)/src/util/libtalerutil.la \
|
||||
$(top_builddir)/src/bank-lib/libtalerbank.la \
|
||||
-lgnunetcurl \
|
||||
-lgnunetutil \
|
||||
-ljansson
|
||||
|
||||
test_exchange_api_overlapping_keys_bug_SOURCES = \
|
||||
test_exchange_api_overlapping_keys_bug.c
|
||||
test_exchange_api_overlapping_keys_bug_LDADD = \
|
||||
libtalertesting.la \
|
||||
libtalerexchange.la \
|
||||
$(LIBGCRYPT_LIBS) \
|
||||
$(top_builddir)/src/json/libtalerjson.la \
|
||||
$(top_builddir)/src/util/libtalerutil.la \
|
||||
$(top_builddir)/src/bank-lib/libtalerbank.la \
|
||||
-lgnunetcurl \
|
||||
-lgnunetutil \
|
||||
-ljansson
|
||||
|
||||
test_taler_exchange_aggregator_postgres_SOURCES = \
|
||||
test_taler_exchange_aggregator.c
|
||||
test_taler_exchange_aggregator_postgres_LDADD = \
|
||||
$(LIBGCRYPT_LIBS) \
|
||||
$(top_builddir)/src/exchangedb/libtalerexchangedb.la \
|
||||
$(top_builddir)/src/bank-lib/libtalerfakebank.la \
|
||||
$(top_builddir)/src/json/libtalerjson.la \
|
||||
$(top_builddir)/src/util/libtalerutil.la \
|
||||
$(top_builddir)/src/lib/libtalertesting.la \
|
||||
-lmicrohttpd \
|
||||
-lgnunetutil \
|
||||
-lgnunetjson \
|
||||
-ljansson \
|
||||
-lpthread
|
||||
|
||||
test_taler_exchange_wirewatch_postgres_SOURCES = \
|
||||
test_taler_exchange_wirewatch.c
|
||||
test_taler_exchange_wirewatch_postgres_LDADD = \
|
||||
$(LIBGCRYPT_LIBS) \
|
||||
$(top_builddir)/src/exchangedb/libtalerexchangedb.la \
|
||||
$(top_builddir)/src/bank-lib/libtalerfakebank.la \
|
||||
$(top_builddir)/src/json/libtalerjson.la \
|
||||
$(top_builddir)/src/util/libtalerutil.la \
|
||||
$(top_builddir)/src/lib/libtalertesting.la \
|
||||
-lmicrohttpd \
|
||||
-lgnunetutil \
|
||||
-lgnunetjson \
|
||||
-lgnunetpq \
|
||||
-ljansson \
|
||||
-lpthread
|
||||
|
||||
test_exchange_api_twisted_SOURCES = \
|
||||
test_exchange_api_twisted.c
|
||||
test_exchange_api_twisted_LDADD = \
|
||||
$(LIBGCRYPT_LIBS) \
|
||||
libtalertesting.la \
|
||||
libtalerexchange.la \
|
||||
$(top_builddir)/src/bank-lib/libtalerfakebank.la \
|
||||
$(top_builddir)/src/bank-lib/libtalerbank.la \
|
||||
$(top_builddir)/src/json/libtalerjson.la \
|
||||
$(top_builddir)/src/util/libtalerutil.la \
|
||||
-ltalertwistertesting \
|
||||
-lgnunetjson \
|
||||
-lgnunetcurl \
|
||||
-lgnunetutil \
|
||||
-ljansson
|
||||
|
||||
test_bank_api_with_fakebank_twisted_SOURCES = \
|
||||
test_bank_api_twisted.c
|
||||
test_bank_api_with_fakebank_twisted_LDADD = \
|
||||
$(top_builddir)/src/lib/libtalertesting.la \
|
||||
$(top_builddir)/src/bank-lib/libtalerbank.la \
|
||||
$(top_builddir)/src/bank-lib/libtalerfakebank.la \
|
||||
$(top_builddir)/src/lib/libtalerexchange.la \
|
||||
$(top_builddir)/src/json/libtalerjson.la \
|
||||
-ltalertwistertesting \
|
||||
-lgnunetjson \
|
||||
-lgnunetcurl \
|
||||
-lgnunetutil \
|
||||
-ljansson
|
||||
|
||||
test_bank_api_with_pybank_twisted_SOURCES = \
|
||||
test_bank_api_twisted.c
|
||||
test_bank_api_with_pybank_twisted_LDADD = \
|
||||
$(top_builddir)/src/lib/libtalertesting.la \
|
||||
$(top_builddir)/src/bank-lib/libtalerbank.la \
|
||||
$(top_builddir)/src/bank-lib/libtalerfakebank.la \
|
||||
$(top_builddir)/src/lib/libtalerexchange.la \
|
||||
$(top_builddir)/src/json/libtalerjson.la \
|
||||
-ltalertwistertesting \
|
||||
-lgnunetjson \
|
||||
-lgnunetcurl \
|
||||
-lgnunetutil \
|
||||
-ljansson
|
||||
|
||||
|
||||
# Distribution
|
||||
|
||||
EXTRA_DIST = \
|
||||
test_bank_api.conf \
|
||||
test_bank_api_bank_twisted.conf \
|
||||
test_auditor_api.conf \
|
||||
test_auditor_api_expire_reserve_now.conf \
|
||||
test_exchange_api_home/.local/share/taler/exchange/offline-keys/master.priv \
|
||||
test_exchange_api_home/.config/taler/account-2.json \
|
||||
test_exchange_api_keys_cherry_picking_home/.config/taler/x-taler-bank.json \
|
||||
test_exchange_api_keys_cherry_picking_home/.local/share/taler/exchange/wirefees/x-taler-bank.fee \
|
||||
test_exchange_api_keys_cherry_picking_home/.local/share/taler/exchange/offline-keys/master.priv \
|
||||
test_exchange_api_home/.config/taler/test.json \
|
||||
test_exchange_api_home/.config/taler/sepa.json \
|
||||
test_exchange_api.conf \
|
||||
test_exchange_api_twisted.conf \
|
||||
test_exchange_api_keys_cherry_picking.conf \
|
||||
test_exchange_api_keys_cherry_picking_extended.conf \
|
||||
test_exchange_api_keys_cherry_picking_extended_2.conf \
|
||||
test_exchange_api_expire_reserve_now.conf \
|
||||
test-taler-exchange-aggregator-postgres.conf \
|
||||
test-taler-exchange-wirewatch-postgres.conf
|
||||
|
308
src/testing/Makefile.am
Normal file
308
src/testing/Makefile.am
Normal file
@ -0,0 +1,308 @@
|
||||
# This Makefile.am is in the public domain
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir)/src/include \
|
||||
$(LIBGCRYPT_CFLAGS) \
|
||||
$(POSTGRESQL_CPPFLAGS)
|
||||
|
||||
if USE_COVERAGE
|
||||
AM_CFLAGS = --coverage -O0
|
||||
XLIB = -lgcov
|
||||
endif
|
||||
|
||||
|
||||
# Libraries
|
||||
|
||||
lib_LTLIBRARIES = \
|
||||
libtalertesting.la
|
||||
|
||||
libtalertesting_la_LDFLAGS = \
|
||||
-version-info 0:0:0 \
|
||||
-no-undefined
|
||||
libtalertesting_la_SOURCES = \
|
||||
testing_api_cmd_auditor_deposit_confirmation.c \
|
||||
testing_api_cmd_auditor_exchanges.c \
|
||||
testing_api_cmd_auditor_exec_auditor.c \
|
||||
testing_api_cmd_auditor_exec_auditor_dbinit.c \
|
||||
testing_api_cmd_auditor_exec_wire_auditor.c \
|
||||
testing_api_cmd_bank_admin_add_incoming.c \
|
||||
testing_api_cmd_bank_check.c \
|
||||
testing_api_cmd_bank_admin_check.c \
|
||||
testing_api_cmd_bank_check_empty.c \
|
||||
testing_api_cmd_bank_history_credit.c \
|
||||
testing_api_cmd_bank_history_debit.c \
|
||||
testing_api_cmd_bank_transfer.c \
|
||||
testing_api_cmd_batch.c \
|
||||
testing_api_cmd_check_keys.c \
|
||||
testing_api_cmd_deposit.c \
|
||||
testing_api_cmd_exec_aggregator.c \
|
||||
testing_api_cmd_exec_wirewatch.c \
|
||||
testing_api_cmd_exec_keyup.c \
|
||||
testing_api_cmd_exec_auditor-sign.c \
|
||||
testing_api_cmd_recoup.c \
|
||||
testing_api_cmd_refund.c \
|
||||
testing_api_cmd_refresh.c \
|
||||
testing_api_cmd_serialize_keys.c \
|
||||
testing_api_cmd_signal.c \
|
||||
testing_api_cmd_sleep.c \
|
||||
testing_api_cmd_status.c \
|
||||
testing_api_cmd_track.c \
|
||||
testing_api_cmd_wait.c \
|
||||
testing_api_cmd_wire.c \
|
||||
testing_api_cmd_withdraw.c \
|
||||
testing_api_cmd_insert_deposit.c \
|
||||
testing_api_helpers_auditor.c \
|
||||
testing_api_helpers_bank.c \
|
||||
testing_api_helpers_exchange.c \
|
||||
testing_api_loop.c \
|
||||
testing_api_traits.c \
|
||||
testing_api_trait_amount.c \
|
||||
testing_api_trait_blinding_key.c \
|
||||
testing_api_trait_cmd.c \
|
||||
testing_api_trait_coin_priv.c \
|
||||
testing_api_trait_contract.c \
|
||||
testing_api_trait_denom_pub.c \
|
||||
testing_api_trait_denom_sig.c \
|
||||
testing_api_trait_exchange_pub.c \
|
||||
testing_api_trait_exchange_sig.c \
|
||||
testing_api_trait_fresh_coin.c \
|
||||
testing_api_trait_json.c \
|
||||
testing_api_trait_merchant_key.c \
|
||||
testing_api_trait_number.c \
|
||||
testing_api_trait_process.c \
|
||||
testing_api_trait_reserve_pub.c \
|
||||
testing_api_trait_reserve_priv.c \
|
||||
testing_api_trait_string.c \
|
||||
testing_api_trait_time.c \
|
||||
testing_api_trait_wtid.c
|
||||
libtalertesting_la_LIBADD = \
|
||||
$(top_builddir)/src/lib/libtalerexchange.la \
|
||||
$(top_builddir)/src/json/libtalerjson.la \
|
||||
$(top_builddir)/src/util/libtalerutil.la \
|
||||
$(top_builddir)/src/bank-lib/libtalerbank.la \
|
||||
$(top_builddir)/src/bank-lib/libtalerfakebank.la \
|
||||
-lgnunetcurl \
|
||||
-lgnunetjson \
|
||||
-lgnunetutil \
|
||||
-ljansson \
|
||||
$(XLIB)
|
||||
|
||||
|
||||
# Test cases
|
||||
|
||||
AM_TESTS_ENVIRONMENT=export TALER_PREFIX=$${TALER_PREFIX:-@libdir@};export PATH=$${TALER_PREFIX:-@prefix@}/bin:$$PATH;
|
||||
|
||||
check_PROGRAMS = \
|
||||
test_auditor_api \
|
||||
test_auditor_api_version \
|
||||
test_bank_api_with_fakebank \
|
||||
test_bank_api_with_pybank \
|
||||
test_exchange_api \
|
||||
test_exchange_api_keys_cherry_picking \
|
||||
test_exchange_api_revocation \
|
||||
test_exchange_api_overlapping_keys_bug \
|
||||
test_taler_exchange_aggregator-postgres \
|
||||
test_taler_exchange_wirewatch-postgres
|
||||
if HAVE_TWISTER
|
||||
check_PROGRAMS += \
|
||||
test_exchange_api_twisted \
|
||||
test_bank_api_with_fakebank_twisted \
|
||||
test_bank_api_with_pybank_twisted
|
||||
endif
|
||||
|
||||
TESTS = \
|
||||
$(check_PROGRAMS)
|
||||
|
||||
test_auditor_api_SOURCES = \
|
||||
test_auditor_api.c
|
||||
test_auditor_api_LDADD = \
|
||||
libtalerauditor.la \
|
||||
libtalertesting.la \
|
||||
libtalerexchange.la \
|
||||
$(LIBGCRYPT_LIBS) \
|
||||
$(top_builddir)/src/bank-lib/libtalerfakebank.la \
|
||||
$(top_builddir)/src/bank-lib/libtalerbank.la \
|
||||
$(top_builddir)/src/json/libtalerjson.la \
|
||||
$(top_builddir)/src/util/libtalerutil.la \
|
||||
-lgnunetcurl \
|
||||
-lgnunetutil \
|
||||
-ljansson
|
||||
|
||||
test_auditor_api_version_SOURCES = \
|
||||
test_auditor_api_version.c
|
||||
test_auditor_api_version_LDADD = \
|
||||
libtalerauditor.la \
|
||||
$(LIBGCRYPT_LIBS) \
|
||||
$(top_builddir)/src/util/libtalerutil.la \
|
||||
-lgnunetcurl \
|
||||
-lgnunetutil \
|
||||
-ljansson
|
||||
|
||||
test_bank_api_with_fakebank_SOURCES = \
|
||||
test_bank_api.c
|
||||
test_bank_api_with_fakebank_LDADD = \
|
||||
$(top_builddir)/src/lib/libtalertesting.la \
|
||||
-ltalerexchange \
|
||||
-lgnunetutil \
|
||||
$(top_builddir)/src/bank-lib/libtalerbank.la
|
||||
|
||||
test_bank_api_with_pybank_SOURCES = \
|
||||
test_bank_api.c
|
||||
test_bank_api_with_pybank_LDADD = \
|
||||
libtalertesting.la \
|
||||
libtalerexchange.la \
|
||||
-lgnunetutil \
|
||||
$(top_builddir)/src/bank-lib/libtalerbank.la
|
||||
|
||||
test_exchange_api_SOURCES = \
|
||||
test_exchange_api.c
|
||||
test_exchange_api_LDADD = \
|
||||
libtalertesting.la \
|
||||
libtalerexchange.la \
|
||||
$(LIBGCRYPT_LIBS) \
|
||||
$(top_builddir)/src/bank-lib/libtalerfakebank.la \
|
||||
$(top_builddir)/src/bank-lib/libtalerbank.la \
|
||||
$(top_builddir)/src/json/libtalerjson.la \
|
||||
$(top_builddir)/src/util/libtalerutil.la \
|
||||
-lgnunetcurl \
|
||||
-lgnunetutil \
|
||||
-ljansson
|
||||
|
||||
test_exchange_api_revocation_SOURCES = \
|
||||
test_exchange_api_revocation.c
|
||||
test_exchange_api_revocation_LDADD = \
|
||||
libtalertesting.la \
|
||||
libtalerexchange.la \
|
||||
$(LIBGCRYPT_LIBS) \
|
||||
$(top_builddir)/src/bank-lib/libtalerfakebank.la \
|
||||
$(top_builddir)/src/bank-lib/libtalerbank.la \
|
||||
$(top_builddir)/src/json/libtalerjson.la \
|
||||
$(top_builddir)/src/util/libtalerutil.la \
|
||||
-lgnunetcurl \
|
||||
-lgnunetutil \
|
||||
-ljansson
|
||||
|
||||
test_exchange_api_keys_cherry_picking_SOURCES = \
|
||||
test_exchange_api_keys_cherry_picking.c
|
||||
test_exchange_api_keys_cherry_picking_LDADD = \
|
||||
libtalertesting.la \
|
||||
libtalerexchange.la \
|
||||
$(LIBGCRYPT_LIBS) \
|
||||
$(top_builddir)/src/json/libtalerjson.la \
|
||||
$(top_builddir)/src/util/libtalerutil.la \
|
||||
$(top_builddir)/src/bank-lib/libtalerbank.la \
|
||||
-lgnunetcurl \
|
||||
-lgnunetutil \
|
||||
-ljansson
|
||||
|
||||
test_exchange_api_overlapping_keys_bug_SOURCES = \
|
||||
test_exchange_api_overlapping_keys_bug.c
|
||||
test_exchange_api_overlapping_keys_bug_LDADD = \
|
||||
libtalertesting.la \
|
||||
libtalerexchange.la \
|
||||
$(LIBGCRYPT_LIBS) \
|
||||
$(top_builddir)/src/json/libtalerjson.la \
|
||||
$(top_builddir)/src/util/libtalerutil.la \
|
||||
$(top_builddir)/src/bank-lib/libtalerbank.la \
|
||||
-lgnunetcurl \
|
||||
-lgnunetutil \
|
||||
-ljansson
|
||||
|
||||
test_taler_exchange_aggregator_postgres_SOURCES = \
|
||||
test_taler_exchange_aggregator.c
|
||||
test_taler_exchange_aggregator_postgres_LDADD = \
|
||||
$(LIBGCRYPT_LIBS) \
|
||||
$(top_builddir)/src/exchangedb/libtalerexchangedb.la \
|
||||
$(top_builddir)/src/bank-lib/libtalerfakebank.la \
|
||||
$(top_builddir)/src/json/libtalerjson.la \
|
||||
$(top_builddir)/src/util/libtalerutil.la \
|
||||
$(top_builddir)/src/lib/libtalertesting.la \
|
||||
-lmicrohttpd \
|
||||
-lgnunetutil \
|
||||
-lgnunetjson \
|
||||
-ljansson \
|
||||
-lpthread
|
||||
|
||||
test_taler_exchange_wirewatch_postgres_SOURCES = \
|
||||
test_taler_exchange_wirewatch.c
|
||||
test_taler_exchange_wirewatch_postgres_LDADD = \
|
||||
$(LIBGCRYPT_LIBS) \
|
||||
$(top_builddir)/src/exchangedb/libtalerexchangedb.la \
|
||||
$(top_builddir)/src/bank-lib/libtalerfakebank.la \
|
||||
$(top_builddir)/src/json/libtalerjson.la \
|
||||
$(top_builddir)/src/util/libtalerutil.la \
|
||||
$(top_builddir)/src/lib/libtalertesting.la \
|
||||
-lmicrohttpd \
|
||||
-lgnunetutil \
|
||||
-lgnunetjson \
|
||||
-lgnunetpq \
|
||||
-ljansson \
|
||||
-lpthread
|
||||
|
||||
test_exchange_api_twisted_SOURCES = \
|
||||
test_exchange_api_twisted.c
|
||||
test_exchange_api_twisted_LDADD = \
|
||||
$(LIBGCRYPT_LIBS) \
|
||||
libtalertesting.la \
|
||||
libtalerexchange.la \
|
||||
$(top_builddir)/src/bank-lib/libtalerfakebank.la \
|
||||
$(top_builddir)/src/bank-lib/libtalerbank.la \
|
||||
$(top_builddir)/src/json/libtalerjson.la \
|
||||
$(top_builddir)/src/util/libtalerutil.la \
|
||||
-ltalertwistertesting \
|
||||
-lgnunetjson \
|
||||
-lgnunetcurl \
|
||||
-lgnunetutil \
|
||||
-ljansson
|
||||
|
||||
test_bank_api_with_fakebank_twisted_SOURCES = \
|
||||
test_bank_api_twisted.c
|
||||
test_bank_api_with_fakebank_twisted_LDADD = \
|
||||
$(top_builddir)/src/lib/libtalertesting.la \
|
||||
$(top_builddir)/src/bank-lib/libtalerbank.la \
|
||||
$(top_builddir)/src/bank-lib/libtalerfakebank.la \
|
||||
$(top_builddir)/src/lib/libtalerexchange.la \
|
||||
$(top_builddir)/src/json/libtalerjson.la \
|
||||
-ltalertwistertesting \
|
||||
-lgnunetjson \
|
||||
-lgnunetcurl \
|
||||
-lgnunetutil \
|
||||
-ljansson
|
||||
|
||||
test_bank_api_with_pybank_twisted_SOURCES = \
|
||||
test_bank_api_twisted.c
|
||||
test_bank_api_with_pybank_twisted_LDADD = \
|
||||
$(top_builddir)/src/lib/libtalertesting.la \
|
||||
$(top_builddir)/src/bank-lib/libtalerbank.la \
|
||||
$(top_builddir)/src/bank-lib/libtalerfakebank.la \
|
||||
$(top_builddir)/src/lib/libtalerexchange.la \
|
||||
$(top_builddir)/src/json/libtalerjson.la \
|
||||
-ltalertwistertesting \
|
||||
-lgnunetjson \
|
||||
-lgnunetcurl \
|
||||
-lgnunetutil \
|
||||
-ljansson
|
||||
|
||||
|
||||
# Distribution
|
||||
|
||||
EXTRA_DIST = \
|
||||
test_bank_api.conf \
|
||||
test_bank_api_bank_twisted.conf \
|
||||
test_auditor_api.conf \
|
||||
test_auditor_api_expire_reserve_now.conf \
|
||||
test_exchange_api_home/.local/share/taler/exchange/offline-keys/master.priv \
|
||||
test_exchange_api_home/.config/taler/account-2.json \
|
||||
test_exchange_api_keys_cherry_picking_home/.config/taler/x-taler-bank.json \
|
||||
test_exchange_api_keys_cherry_picking_home/.local/share/taler/exchange/wirefees/x-taler-bank.fee \
|
||||
test_exchange_api_keys_cherry_picking_home/.local/share/taler/exchange/offline-keys/master.priv \
|
||||
test_exchange_api_home/.config/taler/test.json \
|
||||
test_exchange_api_home/.config/taler/sepa.json \
|
||||
test_exchange_api.conf \
|
||||
test_exchange_api_twisted.conf \
|
||||
test_exchange_api_keys_cherry_picking.conf \
|
||||
test_exchange_api_keys_cherry_picking_extended.conf \
|
||||
test_exchange_api_keys_cherry_picking_extended_2.conf \
|
||||
test_exchange_api_expire_reserve_now.conf \
|
||||
test-taler-exchange-aggregator-postgres.conf \
|
||||
test-taler-exchange-wirewatch-postgres.conf
|
@ -17,7 +17,7 @@
|
||||
<http://www.gnu.org/licenses/>
|
||||
*/
|
||||
/**
|
||||
* @file lib/test_auditor_api.c
|
||||
* @file testing/test_auditor_api.c
|
||||
* @brief testcase to test auditor's HTTP API interface
|
||||
* @author Christian Grothoff
|
||||
* @author Marcello Stanisci
|
@ -17,7 +17,7 @@
|
||||
<http://www.gnu.org/licenses/>
|
||||
*/
|
||||
/**
|
||||
* @file lib/test_auditor_api_version.c
|
||||
* @file testing/test_auditor_api_version.c
|
||||
* @brief testcase to test auditor's HTTP API interface to fetch /version
|
||||
* @author Christian Grothoff
|
||||
* @author Marcello Stanisci
|
@ -17,7 +17,7 @@
|
||||
see <http://www.gnu.org/licenses/>
|
||||
*/
|
||||
/**
|
||||
* @file bank/test_bank_api.c
|
||||
* @file testing/test_bank_api.c
|
||||
* @brief testcase to test bank's HTTP API
|
||||
* interface against the fakebank
|
||||
* @author Marcello Stanisci
|
@ -17,7 +17,7 @@
|
||||
<http://www.gnu.org/licenses/>
|
||||
*/
|
||||
/**
|
||||
* @file lib/test_bank_api_with_fakebank_twisted.c
|
||||
* @file testing/test_bank_api_with_fakebank_twisted.c
|
||||
* @author Marcello Stanisci
|
||||
* @author Sree Harsha Totakura <sreeharsha@totakura.in>
|
||||
* @author Christian Grothoff
|
@ -17,7 +17,7 @@
|
||||
<http://www.gnu.org/licenses/>
|
||||
*/
|
||||
/**
|
||||
* @file lib/test_exchange_api.c
|
||||
* @file testing/test_exchange_api.c
|
||||
* @brief testcase to test exchange's HTTP API interface
|
||||
* @author Sree Harsha Totakura <sreeharsha@totakura.in>
|
||||
* @author Christian Grothoff
|
@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* @file lib/test_exchange_api_keys_cherry_picking_new.c
|
||||
* @file testing/test_exchange_api_keys_cherry_picking_new.c
|
||||
* @brief testcase to test exchange's /keys cherry picking ability
|
||||
* @author Marcello Stanisci
|
||||
* @author Christian Grothoff
|
@ -17,7 +17,7 @@
|
||||
<http://www.gnu.org/licenses/>
|
||||
*/
|
||||
/**
|
||||
* @file lib/test_exchange_api_keys_cherry_picking.c
|
||||
* @file testing/test_exchange_api_keys_cherry_picking.c
|
||||
* @brief testcase to test exchange's /keys cherry picking ability
|
||||
* @author Marcello Stanisci
|
||||
* @author Christian Grothoff
|
@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* @file lib/test_exchange_api_overlapping_keys_bug.c
|
||||
* @file testing/test_exchange_api_overlapping_keys_bug.c
|
||||
* @brief testcase to test exchange's /keys cherry picking ability and
|
||||
* other /keys related operations
|
||||
* @author Marcello Stanisci
|
@ -17,7 +17,7 @@
|
||||
<http://www.gnu.org/licenses/>
|
||||
*/
|
||||
/**
|
||||
* @file lib/test_exchange_api_revocation.c
|
||||
* @file testing/test_exchange_api_revocation.c
|
||||
* @brief testcase to test key revocation handling via the exchange's HTTP API interface
|
||||
* @author Sree Harsha Totakura <sreeharsha@totakura.in>
|
||||
* @author Christian Grothoff
|
@ -17,7 +17,7 @@
|
||||
<http://www.gnu.org/licenses/>
|
||||
*/
|
||||
/**
|
||||
* @file lib/test_exchange_api_twisted.c
|
||||
* @file testing/test_exchange_api_twisted.c
|
||||
* @brief testcase to test exchange's HTTP API interface
|
||||
* @author Marcello Stanisci
|
||||
* @author Sree Harsha Totakura <sreeharsha@totakura.in>
|
@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* @file lib/test_taler_exchange_aggregator.c
|
||||
* @file testing/test_taler_exchange_aggregator.c
|
||||
* @brief Tests for taler-exchange-aggregator logic
|
||||
* @author Christian Grothoff <christian@grothoff.org>
|
||||
* @author Marcello Stanisci
|
@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* @file lib/test_taler_exchange_wirewatch.c
|
||||
* @file testing/test_taler_exchange_wirewatch.c
|
||||
* @brief Tests for taler-exchange-wirewatch and taler-exchange-aggregator logic;
|
||||
* Performs an invalid wire transfer to the exchange, and then checks that
|
||||
* wirewatch immediately sends the money back.
|
@ -17,7 +17,7 @@
|
||||
<http://www.gnu.org/licenses/>
|
||||
*/
|
||||
/**
|
||||
* @file lib/testing_api_cmd_auditor_deposit_confirmation.c
|
||||
* @file testing/testing_api_cmd_auditor_deposit_confirmation.c
|
||||
* @brief command for testing /deposit_confirmation.
|
||||
* @author Christian Grothoff
|
||||
*/
|
@ -17,7 +17,7 @@
|
||||
<http://www.gnu.org/licenses/>
|
||||
*/
|
||||
/**
|
||||
* @file lib/testing_api_cmd_auditor_exchanges.c
|
||||
* @file testing/testing_api_cmd_auditor_exchanges.c
|
||||
* @brief command for testing /exchanges of the auditor
|
||||
* @author Christian Grothoff
|
||||
*/
|
@ -17,7 +17,7 @@
|
||||
see <http://www.gnu.org/licenses/>
|
||||
*/
|
||||
/**
|
||||
* @file lib/testing_api_cmd_auditor_exec_auditor.c
|
||||
* @file testing/testing_api_cmd_auditor_exec_auditor.c
|
||||
* @brief run the taler-auditor command
|
||||
* @author Marcello Stanisci
|
||||
* @author Christian Grothoff
|
||||
@ -25,7 +25,6 @@
|
||||
#include "platform.h"
|
||||
#include "taler_json_lib.h"
|
||||
#include <gnunet/gnunet_curl_lib.h>
|
||||
#include "auditor_api_handle.h"
|
||||
#include "taler_signatures.h"
|
||||
#include "taler_testing_lib.h"
|
||||
|
@ -17,7 +17,7 @@
|
||||
see <http://www.gnu.org/licenses/>
|
||||
*/
|
||||
/**
|
||||
* @file lib/testing_api_cmd_auditor_exec_auditor_dbinit.c
|
||||
* @file testing/testing_api_cmd_auditor_exec_auditor_dbinit.c
|
||||
* @brief run the taler-auditor-dbinit "-r" command
|
||||
* @author Marcello Stanisci
|
||||
* @author Christian Grothoff
|
||||
@ -25,7 +25,6 @@
|
||||
#include "platform.h"
|
||||
#include "taler_json_lib.h"
|
||||
#include <gnunet/gnunet_curl_lib.h>
|
||||
#include "auditor_api_handle.h"
|
||||
#include "taler_signatures.h"
|
||||
#include "taler_testing_lib.h"
|
||||
|
@ -17,7 +17,7 @@
|
||||
see <http://www.gnu.org/licenses/>
|
||||
*/
|
||||
/**
|
||||
* @file lib/testing_api_cmd_auditor_exec_wire_auditor.c
|
||||
* @file testing/testing_api_cmd_auditor_exec_wire_auditor.c
|
||||
* @brief run the taler-wire-auditor command
|
||||
* @author Marcello Stanisci
|
||||
* @author Christian Grothoff
|
||||
@ -25,7 +25,6 @@
|
||||
#include "platform.h"
|
||||
#include "taler_json_lib.h"
|
||||
#include <gnunet/gnunet_curl_lib.h>
|
||||
#include "auditor_api_handle.h"
|
||||
#include "taler_signatures.h"
|
||||
#include "taler_testing_lib.h"
|
||||
|
@ -17,7 +17,7 @@
|
||||
<http://www.gnu.org/licenses/>
|
||||
*/
|
||||
/**
|
||||
* @file lib/testing_api_cmd_bank_admin_add_incoming.c
|
||||
* @file testing/testing_api_cmd_bank_admin_add_incoming.c
|
||||
* @brief implementation of a bank /admin/add-incoming command
|
||||
* @author Christian Grothoff
|
||||
* @author Marcello Stanisci
|
@ -17,7 +17,7 @@
|
||||
<http://www.gnu.org/licenses/>
|
||||
*/
|
||||
/**
|
||||
* @file lib/testing_api_cmd_bank_admin_check.c
|
||||
* @file testing/testing_api_cmd_bank_admin_check.c
|
||||
* @brief command to check if a particular admin/add-incoming transfer took
|
||||
* place.
|
||||
* @author Christian Grothoff
|
||||
@ -25,7 +25,6 @@
|
||||
#include "platform.h"
|
||||
#include "taler_json_lib.h"
|
||||
#include <gnunet/gnunet_curl_lib.h>
|
||||
#include "exchange_api_handle.h"
|
||||
#include "taler_testing_lib.h"
|
||||
#include "taler_fakebank_lib.h"
|
||||
|
@ -17,7 +17,7 @@
|
||||
<http://www.gnu.org/licenses/>
|
||||
*/
|
||||
/**
|
||||
* @file lib/testing_api_cmd_bank_check.c
|
||||
* @file testing/testing_api_cmd_bank_check.c
|
||||
* @brief command to check if a particular wire transfer took
|
||||
* place.
|
||||
* @author Marcello Stanisci
|
||||
@ -25,7 +25,6 @@
|
||||
#include "platform.h"
|
||||
#include "taler_json_lib.h"
|
||||
#include <gnunet/gnunet_curl_lib.h>
|
||||
#include "exchange_api_handle.h"
|
||||
#include "taler_testing_lib.h"
|
||||
#include "taler_fakebank_lib.h"
|
||||
|
@ -17,7 +17,7 @@
|
||||
<http://www.gnu.org/licenses/>
|
||||
*/
|
||||
/**
|
||||
* @file lib/testing_api_cmd_bank_check_empty.c
|
||||
* @file testing/testing_api_cmd_bank_check_empty.c
|
||||
* @brief command to check if a particular wire transfer took
|
||||
* place.
|
||||
* @author Marcello Stanisci
|
||||
@ -25,7 +25,6 @@
|
||||
#include "platform.h"
|
||||
#include "taler_json_lib.h"
|
||||
#include <gnunet/gnunet_curl_lib.h>
|
||||
#include "exchange_api_handle.h"
|
||||
#include "taler_testing_lib.h"
|
||||
#include "taler_fakebank_lib.h"
|
||||
|
@ -17,7 +17,7 @@
|
||||
<http://www.gnu.org/licenses/>
|
||||
*/
|
||||
/**
|
||||
* @file lib/testing_api_cmd_bank_history_credit.c
|
||||
* @file testing/testing_api_cmd_bank_history_credit.c
|
||||
* @brief command to check the /history/incoming API from the bank.
|
||||
* @author Marcello Stanisci
|
||||
*/
|
@ -17,7 +17,7 @@
|
||||
<http://www.gnu.org/licenses/>
|
||||
*/
|
||||
/**
|
||||
* @file lib/testing_api_cmd_bank_history_debit.c
|
||||
* @file testing/testing_api_cmd_bank_history_debit.c
|
||||
* @brief command to check the /history/outgoing API from the bank.
|
||||
* @author Marcello Stanisci
|
||||
*/
|
@ -17,7 +17,7 @@
|
||||
<http://www.gnu.org/licenses/>
|
||||
*/
|
||||
/**
|
||||
* @file lib/testing_api_cmd_bank_transfer.c
|
||||
* @file testing/testing_api_cmd_bank_transfer.c
|
||||
* @brief implementation of a bank /transfer command
|
||||
* @author Christian Grothoff
|
||||
* @author Marcello Stanisci
|
@ -17,14 +17,13 @@
|
||||
<http://www.gnu.org/licenses/>
|
||||
*/
|
||||
/**
|
||||
* @file lib/testing_api_cmd_batch.c
|
||||
* @file testing/testing_api_cmd_batch.c
|
||||
* @brief Implement batch-execution of CMDs.
|
||||
* @author Marcello Stanisci
|
||||
*/
|
||||
#include "platform.h"
|
||||
#include "taler_json_lib.h"
|
||||
#include <gnunet/gnunet_curl_lib.h>
|
||||
#include "exchange_api_handle.h"
|
||||
#include "taler_testing_lib.h"
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
<http://www.gnu.org/licenses/>
|
||||
*/
|
||||
/**
|
||||
* @file lib/testing_api_cmd_check_keys.c
|
||||
* @file testing/testing_api_cmd_check_keys.c
|
||||
* @brief Implementation of "check keys" test command. XXX-NOTE:
|
||||
* the number of 'expected keys' is NOT the number of the
|
||||
* downloaded keys, but rather the number of keys that the
|
||||
@ -31,7 +31,6 @@
|
||||
#include "platform.h"
|
||||
#include "taler_json_lib.h"
|
||||
#include <gnunet/gnunet_curl_lib.h>
|
||||
#include "exchange_api_handle.h"
|
||||
#include "taler_testing_lib.h"
|
||||
|
||||
|
@ -17,14 +17,13 @@
|
||||
<http://www.gnu.org/licenses/>
|
||||
*/
|
||||
/**
|
||||
* @file lib/testing_api_cmd_deposit.c
|
||||
* @file testing/testing_api_cmd_deposit.c
|
||||
* @brief command for testing /deposit.
|
||||
* @author Marcello Stanisci
|
||||
*/
|
||||
#include "platform.h"
|
||||
#include "taler_json_lib.h"
|
||||
#include <gnunet/gnunet_curl_lib.h>
|
||||
#include "exchange_api_handle.h"
|
||||
#include "taler_testing_lib.h"
|
||||
#include "taler_signatures.h"
|
||||
#include "backoff.h"
|
@ -17,14 +17,13 @@
|
||||
see <http://www.gnu.org/licenses/>
|
||||
*/
|
||||
/**
|
||||
* @file lib/testing_api_cmd_exec_aggregator.c
|
||||
* @file testing/testing_api_cmd_exec_aggregator.c
|
||||
* @brief run the taler-exchange-aggregator command
|
||||
* @author Marcello Stanisci
|
||||
*/
|
||||
#include "platform.h"
|
||||
#include "taler_json_lib.h"
|
||||
#include <gnunet/gnunet_curl_lib.h>
|
||||
#include "exchange_api_handle.h"
|
||||
#include "taler_signatures.h"
|
||||
#include "taler_testing_lib.h"
|
||||
|
@ -18,14 +18,13 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* @file lib/testing_api_cmd_exec_auditor-sign.c
|
||||
* @file testing/testing_api_cmd_exec_auditor-sign.c
|
||||
* @brief run the taler-exchange-aggregator command
|
||||
* @author Marcello Stanisci
|
||||
*/
|
||||
#include "platform.h"
|
||||
#include "taler_json_lib.h"
|
||||
#include <gnunet/gnunet_curl_lib.h>
|
||||
#include "exchange_api_handle.h"
|
||||
#include "taler_signatures.h"
|
||||
#include "taler_testing_lib.h"
|
||||
|
@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* @file lib/testing_api_cmd_exec_keyup.c
|
||||
* @file testing/testing_api_cmd_exec_keyup.c
|
||||
* @brief run the taler-exchange-keyup command
|
||||
* @author Marcello Stanisci
|
||||
* @author Christian Grothoff
|
||||
@ -26,7 +26,6 @@
|
||||
#include "platform.h"
|
||||
#include "taler_json_lib.h"
|
||||
#include <gnunet/gnunet_curl_lib.h>
|
||||
#include "exchange_api_handle.h"
|
||||
#include "taler_signatures.h"
|
||||
#include "taler_testing_lib.h"
|
||||
|
@ -17,7 +17,7 @@
|
||||
<http://www.gnu.org/licenses/>
|
||||
*/
|
||||
/**
|
||||
* @file lib/testing_api_cmd_exec_wirewatch.c
|
||||
* @file testing/testing_api_cmd_exec_wirewatch.c
|
||||
* @brief run the taler-exchange-wirewatch command
|
||||
* @author Christian Grothoff
|
||||
* @author Marcello Stanisci
|
||||
@ -25,7 +25,6 @@
|
||||
#include "platform.h"
|
||||
#include "taler_json_lib.h"
|
||||
#include <gnunet/gnunet_curl_lib.h>
|
||||
#include "exchange_api_handle.h"
|
||||
#include "taler_signatures.h"
|
||||
#include "taler_testing_lib.h"
|
||||
|
@ -17,7 +17,7 @@
|
||||
see <http://www.gnu.org/licenses/>
|
||||
*/
|
||||
/**
|
||||
* @file lib/testing_api_cmd_insert_deposit.c
|
||||
* @file testing/testing_api_cmd_insert_deposit.c
|
||||
* @brief deposit a coin directly into the database.
|
||||
* @author Marcello Stanisci
|
||||
* @author Christian Grothoff
|
||||
@ -26,7 +26,6 @@
|
||||
#include "taler_util.h"
|
||||
#include "taler_json_lib.h"
|
||||
#include <gnunet/gnunet_curl_lib.h>
|
||||
#include "auditor_api_handle.h"
|
||||
#include "taler_signatures.h"
|
||||
#include "taler_testing_lib.h"
|
||||
#include "taler_exchangedb_plugin.h"
|
@ -17,14 +17,13 @@
|
||||
<http://www.gnu.org/licenses/>
|
||||
*/
|
||||
/**
|
||||
* @file lib/testing_api_cmd_recoup.c
|
||||
* @file testing/testing_api_cmd_recoup.c
|
||||
* @brief Implement the /revoke and /recoup test commands.
|
||||
* @author Marcello Stanisci
|
||||
*/
|
||||
#include "platform.h"
|
||||
#include "taler_json_lib.h"
|
||||
#include <gnunet/gnunet_curl_lib.h>
|
||||
#include "exchange_api_handle.h"
|
||||
#include "taler_testing_lib.h"
|
||||
|
||||
|
@ -17,14 +17,13 @@
|
||||
<http://www.gnu.org/licenses/>
|
||||
*/
|
||||
/**
|
||||
* @file lib/testing_api_cmd_refresh.c
|
||||
* @file testing/testing_api_cmd_refresh.c
|
||||
* @brief commands for testing all "refresh" features.
|
||||
* @author Marcello Stanisci
|
||||
*/
|
||||
#include "platform.h"
|
||||
#include "taler_json_lib.h"
|
||||
#include <gnunet/gnunet_curl_lib.h>
|
||||
#include "exchange_api_handle.h"
|
||||
#include "taler_testing_lib.h"
|
||||
#include "taler_signatures.h"
|
||||
#include "backoff.h"
|
@ -17,7 +17,7 @@
|
||||
<http://www.gnu.org/licenses/>
|
||||
*/
|
||||
/**
|
||||
* @file lib/testing_api_cmd_refund.c
|
||||
* @file testing/testing_api_cmd_refund.c
|
||||
* @brief Implement the /refund test command, plus other
|
||||
* corollary commands (?).
|
||||
* @author Marcello Stanisci
|
||||
@ -25,7 +25,6 @@
|
||||
#include "platform.h"
|
||||
#include "taler_json_lib.h"
|
||||
#include <gnunet/gnunet_curl_lib.h>
|
||||
#include "exchange_api_handle.h"
|
||||
#include "taler_testing_lib.h"
|
||||
|
||||
|
@ -17,13 +17,12 @@
|
||||
<http://www.gnu.org/licenses/>
|
||||
*/
|
||||
/**
|
||||
* @file lib/testing_api_cmd_serialize_keys.c
|
||||
* @file testing/testing_api_cmd_serialize_keys.c
|
||||
* @brief Lets tests use the keys serialization API.
|
||||
* @author Marcello Stanisci
|
||||
*/
|
||||
#include "platform.h"
|
||||
#include <jansson.h>
|
||||
#include "exchange_api_handle.h"
|
||||
#include "taler_testing_lib.h"
|
||||
|
||||
|
@ -17,14 +17,13 @@
|
||||
<http://www.gnu.org/licenses/>
|
||||
*/
|
||||
/**
|
||||
* @file lib/testing_api_cmd_signal.c
|
||||
* @file testing/testing_api_cmd_signal.c
|
||||
* @brief command(s) to send signals to processes.
|
||||
* @author Marcello Stanisci
|
||||
*/
|
||||
#include "platform.h"
|
||||
#include "taler_json_lib.h"
|
||||
#include <gnunet/gnunet_curl_lib.h>
|
||||
#include "exchange_api_handle.h"
|
||||
#include "taler_testing_lib.h"
|
||||
|
||||
|
@ -17,14 +17,13 @@
|
||||
<http://www.gnu.org/licenses/>
|
||||
*/
|
||||
/**
|
||||
* @file lib/testing_api_cmd_sleep.c
|
||||
* @file testing/testing_api_cmd_sleep.c
|
||||
* @brief command(s) to sleep for a bit
|
||||
* @author Christian Grothoff
|
||||
*/
|
||||
#include "platform.h"
|
||||
#include "taler_json_lib.h"
|
||||
#include <gnunet/gnunet_curl_lib.h>
|
||||
#include "exchange_api_handle.h"
|
||||
#include "taler_testing_lib.h"
|
||||
|
||||
|
@ -17,14 +17,13 @@
|
||||
<http://www.gnu.org/licenses/>
|
||||
*/
|
||||
/**
|
||||
* @file lib/testing_api_cmd_status.c
|
||||
* @file testing/testing_api_cmd_status.c
|
||||
* @brief Implement the /reserve/status test command.
|
||||
* @author Marcello Stanisci
|
||||
*/
|
||||
#include "platform.h"
|
||||
#include "taler_json_lib.h"
|
||||
#include <gnunet/gnunet_curl_lib.h>
|
||||
#include "exchange_api_handle.h"
|
||||
#include "taler_testing_lib.h"
|
||||
|
||||
|
@ -18,14 +18,13 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* @file lib/testing_api_cmd_track.c
|
||||
* @file testing/testing_api_cmd_track.c
|
||||
* @brief Implement the testing CMDs for the /track operations.
|
||||
* @author Marcello Stanisci
|
||||
*/
|
||||
#include "platform.h"
|
||||
#include "taler_json_lib.h"
|
||||
#include <gnunet/gnunet_curl_lib.h>
|
||||
#include "exchange_api_handle.h"
|
||||
#include "taler_testing_lib.h"
|
||||
|
||||
/**
|
@ -17,14 +17,13 @@
|
||||
<http://www.gnu.org/licenses/>
|
||||
*/
|
||||
/**
|
||||
* @file lib/testing_api_cmd_wait.c
|
||||
* @file testing/testing_api_cmd_wait.c
|
||||
* @brief command(s) to wait on some process
|
||||
* @author Christian Grothoff
|
||||
*/
|
||||
#include "platform.h"
|
||||
#include "taler_json_lib.h"
|
||||
#include <gnunet/gnunet_curl_lib.h>
|
||||
#include "exchange_api_handle.h"
|
||||
#include "taler_testing_lib.h"
|
||||
|
||||
|
@ -17,14 +17,13 @@
|
||||
<http://www.gnu.org/licenses/>
|
||||
*/
|
||||
/**
|
||||
* @file lib/testing_api_cmd_wire.c
|
||||
* @file testing/testing_api_cmd_wire.c
|
||||
* @brief command for testing /wire.
|
||||
* @author Marcello Stanisci
|
||||
*/
|
||||
#include "platform.h"
|
||||
#include "taler_json_lib.h"
|
||||
#include <gnunet/gnunet_curl_lib.h>
|
||||
#include "exchange_api_handle.h"
|
||||
#include "taler_testing_lib.h"
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
<http://www.gnu.org/licenses/>
|
||||
*/
|
||||
/**
|
||||
* @file lib/testing_api_cmd_withdraw.c
|
||||
* @file testing/testing_api_cmd_withdraw.c
|
||||
* @brief main interpreter loop for testcases
|
||||
* @author Christian Grothoff
|
||||
* @author Marcello Stanisci
|
||||
@ -26,7 +26,6 @@
|
||||
#include "taler_json_lib.h"
|
||||
#include <microhttpd.h>
|
||||
#include <gnunet/gnunet_curl_lib.h>
|
||||
#include "exchange_api_handle.h"
|
||||
#include "taler_signatures.h"
|
||||
#include "taler_testing_lib.h"
|
||||
#include "backoff.h"
|
@ -17,7 +17,7 @@
|
||||
<http://www.gnu.org/licenses/>
|
||||
*/
|
||||
/**
|
||||
* @file lib/testing_api_helpers_auditor.c
|
||||
* @file testing/testing_api_helpers_auditor.c
|
||||
* @brief helper functions
|
||||
* @author Christian Grothoff
|
||||
*/
|
@ -17,7 +17,7 @@
|
||||
<http://www.gnu.org/licenses/>
|
||||
*/
|
||||
/**
|
||||
* @file lib/testing_api_helpers_bank.c
|
||||
* @file testing/testing_api_helpers_bank.c
|
||||
* @brief convenience functions for bank tests.
|
||||
* @author Marcello Stanisci
|
||||
* @author Christian Grothoff
|
@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* @file lib/testing_api_helpers_exchange.c
|
||||
* @file testing/testing_api_helpers_exchange.c
|
||||
* @brief helper functions
|
||||
* @author Christian Grothoff
|
||||
* @author Marcello Stanisci
|
||||
@ -26,7 +26,6 @@
|
||||
#include "platform.h"
|
||||
#include "taler_json_lib.h"
|
||||
#include <gnunet/gnunet_curl_lib.h>
|
||||
#include "exchange_api_handle.h"
|
||||
#include "taler_signatures.h"
|
||||
#include "taler_testing_lib.h"
|
||||
|
@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* @file lib/testing_api_loop.c
|
||||
* @file testing/testing_api_loop.c
|
||||
* @brief main interpreter loop for testcases
|
||||
* @author Christian Grothoff
|
||||
* @author Marcello Stanisci
|
||||
@ -26,7 +26,6 @@
|
||||
#include "platform.h"
|
||||
#include "taler_json_lib.h"
|
||||
#include <gnunet/gnunet_curl_lib.h>
|
||||
#include "exchange_api_handle.h"
|
||||
#include "taler_signatures.h"
|
||||
#include "taler_testing_lib.h"
|
||||
#include "taler_fakebank_lib.h"
|
@ -17,7 +17,7 @@
|
||||
<http://www.gnu.org/licenses/>
|
||||
*/
|
||||
/**
|
||||
* @file lib/testing_api_trait_amount.c
|
||||
* @file testing/testing_api_trait_amount.c
|
||||
* @brief offer amounts as traits.
|
||||
* @author Marcello Stanisci
|
||||
*/
|
||||
@ -25,7 +25,6 @@
|
||||
#include "platform.h"
|
||||
#include "taler_json_lib.h"
|
||||
#include <gnunet/gnunet_curl_lib.h>
|
||||
#include "exchange_api_handle.h"
|
||||
#include "taler_signatures.h"
|
||||
#include "taler_testing_lib.h"
|
||||
|
@ -17,7 +17,7 @@
|
||||
<http://www.gnu.org/licenses/>
|
||||
*/
|
||||
/**
|
||||
* @file lib/testing_api_trait_blinding_key.c
|
||||
* @file testing/testing_api_trait_blinding_key.c
|
||||
* @brief offer blinding keys as traits.
|
||||
* @author Christian Grothoff
|
||||
* @author Marcello Stanisci
|
||||
@ -25,7 +25,6 @@
|
||||
#include "platform.h"
|
||||
#include "taler_json_lib.h"
|
||||
#include <gnunet/gnunet_curl_lib.h>
|
||||
#include "exchange_api_handle.h"
|
||||
#include "taler_signatures.h"
|
||||
#include "taler_testing_lib.h"
|
||||
|
@ -18,14 +18,13 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* @file lib/testing_api_trait_cmd.c
|
||||
* @file testing/testing_api_trait_cmd.c
|
||||
* @brief offers CMDs as traits.
|
||||
* @author Marcello Stanisci
|
||||
*/
|
||||
#include "platform.h"
|
||||
#include "taler_json_lib.h"
|
||||
#include <gnunet/gnunet_curl_lib.h>
|
||||
#include "exchange_api_handle.h"
|
||||
#include "taler_signatures.h"
|
||||
#include "taler_testing_lib.h"
|
||||
|
@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* @file lib/testing_api_trait_coin_priv.c
|
||||
* @file testing/testing_api_trait_coin_priv.c
|
||||
* @brief coin priv traits.
|
||||
* @author Christian Grothoff
|
||||
* @author Marcello Stanisci
|
||||
@ -26,7 +26,6 @@
|
||||
#include "platform.h"
|
||||
#include "taler_json_lib.h"
|
||||
#include <gnunet/gnunet_curl_lib.h>
|
||||
#include "exchange_api_handle.h"
|
||||
#include "taler_signatures.h"
|
||||
#include "taler_testing_lib.h"
|
||||
|
@ -17,7 +17,7 @@
|
||||
<http://www.gnu.org/licenses/>
|
||||
*/
|
||||
/**
|
||||
* @file lib/testing_api_trait_contract.c
|
||||
* @file testing/testing_api_trait_contract.c
|
||||
* @brief offers contract term trait.
|
||||
* @author Marcello Stanisci
|
||||
* @author Christian Grothoff
|
@ -17,7 +17,7 @@
|
||||
<http://www.gnu.org/licenses/>
|
||||
*/
|
||||
/**
|
||||
* @file lib/testing_api_trait_denom_pub.c
|
||||
* @file testing/testing_api_trait_denom_pub.c
|
||||
* @brief denom pub traits.
|
||||
* @author Christian Grothoff
|
||||
* @author Marcello Stanisci
|
||||
@ -25,7 +25,6 @@
|
||||
#include "platform.h"
|
||||
#include "taler_json_lib.h"
|
||||
#include <gnunet/gnunet_curl_lib.h>
|
||||
#include "exchange_api_handle.h"
|
||||
#include "taler_signatures.h"
|
||||
#include "taler_testing_lib.h"
|
||||
|
@ -18,7 +18,7 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* @file lib/testing_api_trait_denom_sig.c
|
||||
* @file testing/testing_api_trait_denom_sig.c
|
||||
* @brief offer denomination signatures as traits
|
||||
* @author Christian Grothoff
|
||||
* @author Marcello Stanisci
|
||||
@ -26,7 +26,6 @@
|
||||
#include "platform.h"
|
||||
#include "taler_json_lib.h"
|
||||
#include <gnunet/gnunet_curl_lib.h>
|
||||
#include "exchange_api_handle.h"
|
||||
#include "taler_signatures.h"
|
||||
#include "taler_testing_lib.h"
|
||||
|
@ -17,14 +17,13 @@
|
||||
<http://www.gnu.org/licenses/>
|
||||
*/
|
||||
/**
|
||||
* @file lib/testing_api_trait_exchange_pub.c
|
||||
* @file testing/testing_api_trait_exchange_pub.c
|
||||
* @brief exchange pub traits.
|
||||
* @author Christian Grothoff
|
||||
*/
|
||||
#include "platform.h"
|
||||
#include "taler_json_lib.h"
|
||||
#include <gnunet/gnunet_curl_lib.h>
|
||||
#include "exchange_api_handle.h"
|
||||
#include "taler_signatures.h"
|
||||
#include "taler_testing_lib.h"
|
||||
|
@ -17,14 +17,13 @@
|
||||
<http://www.gnu.org/licenses/>
|
||||
*/
|
||||
/**
|
||||
* @file lib/testing_api_trait_exchange_sig.c
|
||||
* @file testing/testing_api_trait_exchange_sig.c
|
||||
* @brief exchange pub traits.
|
||||
* @author Christian Grothoff
|
||||
*/
|
||||
#include "platform.h"
|
||||
#include "taler_json_lib.h"
|
||||
#include <gnunet/gnunet_curl_lib.h>
|
||||
#include "exchange_api_handle.h"
|
||||
#include "taler_signatures.h"
|
||||
#include "taler_testing_lib.h"
|
||||
|
@ -17,14 +17,13 @@
|
||||
<http://www.gnu.org/licenses/>
|
||||
*/
|
||||
/**
|
||||
* @file lib/testing_api_trait_fresh_coin.c
|
||||
* @file testing/testing_api_trait_fresh_coin.c
|
||||
* @brief traits to offer fresh conins (after "melt" operations)
|
||||
* @author Marcello Stanisci
|
||||
*/
|
||||
#include "platform.h"
|
||||
#include "taler_json_lib.h"
|
||||
#include <gnunet/gnunet_curl_lib.h>
|
||||
#include "exchange_api_handle.h"
|
||||
#include "taler_signatures.h"
|
||||
#include "taler_testing_lib.h"
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user