diff options
author | Marcello Stanisci <marcello.stanisci@inria.fr> | 2016-05-09 17:13:08 +0200 |
---|---|---|
committer | Marcello Stanisci <marcello.stanisci@inria.fr> | 2016-05-09 17:13:08 +0200 |
commit | f9186945a7232dddac61953fbfeacce26c90ac15 (patch) | |
tree | b75973e52e7eac1f0899ff0862f3755434358852 | |
parent | d5bc8a4f4f99dd5cbba0a66607f8ff3ffaca315e (diff) |
renaming testcase according to the tested unit
-rw-r--r-- | src/backend/Makefile.am | 10 | ||||
-rw-r--r-- | src/backend/taler-merchant-httpd_pay.h | 9 |
2 files changed, 5 insertions, 14 deletions
diff --git a/src/backend/Makefile.am b/src/backend/Makefile.am index 4c6c0b0d..b423c659 100644 --- a/src/backend/Makefile.am +++ b/src/backend/Makefile.am @@ -15,11 +15,12 @@ bin_PROGRAMS = \ check_PROGRAMS = \ test-merchant +# each test-merchant-{part} should test taler-merchant-httpd_{part}.c TESTS = \ - test-merchant + test-merchant-pay -test_merchant_SOURCES = \ - test_merchant.c taler-merchant-httpd.h \ +test_merchant_pay_SOURCES = \ + test_merchant_pay.c taler-merchant-httpd.h \ taler-merchant-httpd_parsing.c taler-merchant-httpd_parsing.h \ taler-merchant-httpd_responses.c taler-merchant-httpd_responses.h \ taler-merchant-httpd_mhd.c taler-merchant-httpd_mhd.h \ @@ -29,7 +30,7 @@ test_merchant_SOURCES = \ taler-merchant-httpd_pay.c taler-merchant-httpd_pay.h \ taler-merchant-httpd_util.c taler-merchant-httpd_util.h -test_merchant_LDFLAGS = \ +test_merchant_pay_LDFLAGS = \ $(top_srcdir)/src/backenddb/libtalermerchantdb.la \ -ltalerexchange \ -ltalerjson \ @@ -63,4 +64,3 @@ taler_merchant_httpd_LDADD = \ -lgnunetcurl \ -lgnunetjson \ -lgnunetutil - diff --git a/src/backend/taler-merchant-httpd_pay.h b/src/backend/taler-merchant-httpd_pay.h index c72865a5..9c3e567b 100644 --- a/src/backend/taler-merchant-httpd_pay.h +++ b/src/backend/taler-merchant-httpd_pay.h @@ -24,15 +24,6 @@ #include "taler-merchant-httpd.h" /** - * Convert denomination key to its base32 representation - * - * @param dk denomination key to convert - * @return 0-terminated base32 encoding of @a dk, to be deallocated - */ -char * -denomination_to_string_alloc (struct TALER_DenominationPublicKey *dk); - -/** * Manage a payment * * @param rh context of the handler |