add separate transfer and admin/add/incoming commands, force

This commit is contained in:
Christian Grothoff 2020-01-12 00:43:24 +01:00
commit 85c4aa733c
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC
3 changed files with 24 additions and 24 deletions

View File

@ -78,12 +78,12 @@ run (void *cls,
account_url,
NULL,
1),
TALER_TESTING_cmd_admin_add_incoming ("debit-1",
"KUDOS:5.01",
account_url,
payto_url,
NULL,
NULL),
TALER_TESTING_cmd_fakebank_transfer ("debit-1",
"KUDOS:5.01",
account_url,
payto_url,
NULL,
NULL),
TALER_TESTING_cmd_bank_credits ("history-1c",
account_url,
NULL,
@ -92,12 +92,12 @@ run (void *cls,
account_url,
NULL,
5),
TALER_TESTING_cmd_admin_add_incoming ("debit-2",
"KUDOS:3.21",
account_url,
payto_url,
NULL,
NULL),
TALER_TESTING_cmd_fakebank_transfer ("debit-2",
"KUDOS:3.21",
account_url,
payto_url,
NULL,
NULL),
TRANSFER ("credit-2",
"KUDOS:3.22",
TALER_TESTING_USER_ACCOUNT_NUMBER,

View File

@ -120,7 +120,7 @@ struct AdminAddIncomingState
/**
* Was this command modified via
* #TALER_TESTING_cmd_admin_add_incoming_with_retry to
* #TALER_TESTING_cmd_fakebank_transfer_with_retry to
* enable retries?
*/
int do_retry;
@ -435,7 +435,7 @@ fakebank_transfer_traits (void *cls,
* @return the command.
*/
struct TALER_TESTING_Command
TALER_TESTING_cmd_admin_add_incoming
TALER_TESTING_cmd_fakebank_transfer
(const char *label,
const char *amount,
const char *account_base_url,
@ -494,7 +494,7 @@ TALER_TESTING_cmd_admin_add_incoming
* @return the command.
*/
struct TALER_TESTING_Command
TALER_TESTING_cmd_admin_add_incoming_with_ref
TALER_TESTING_cmd_fakebank_transfer_with_ref
(const char *label,
const char *amount,
const char *account_base_url,
@ -561,7 +561,7 @@ TALER_TESTING_cmd_admin_add_incoming_with_ref
* @return the command.
*/
struct TALER_TESTING_Command
TALER_TESTING_cmd_admin_add_incoming_with_instance
TALER_TESTING_cmd_fakebank_transfer_with_instance
(const char *label,
const char *amount,
const char *account_base_url,
@ -611,7 +611,7 @@ TALER_TESTING_cmd_admin_add_incoming_with_instance
* @return the command with retries enabled
*/
struct TALER_TESTING_Command
TALER_TESTING_cmd_admin_add_incoming_retry (struct TALER_TESTING_Command cmd)
TALER_TESTING_cmd_fakebank_transfer_retry (struct TALER_TESTING_Command cmd)
{
struct AdminAddIncomingState *fts;

View File

@ -59,13 +59,13 @@ enum BenchmarkError
#define FIRST_INSTRUCTION -1
#define CMD_TRANSFER_TO_EXCHANGE(label, amount) \
TALER_TESTING_cmd_admin_add_incoming_retry \
(TALER_TESTING_cmd_admin_add_incoming (label, amount, \
user_bank_account.details. \
x_taler_bank.account_base_url, \
exchange_payto_url, \
"dummy_user", \
"dummy_password"))
TALER_TESTING_cmd_fakebank_transfer_retry \
(TALER_TESTING_cmd_fakebank_transfer (label, amount, \
user_bank_account.details. \
x_taler_bank.account_base_url, \
exchange_payto_url, \
"dummy_user", \
"dummy_password"))
/**