comments, indentation
This commit is contained in:
parent
cb853d6513
commit
bb2a56a91a
@ -575,7 +575,7 @@ run (void *cls,
|
|||||||
"EUR:5",
|
"EUR:5",
|
||||||
MHD_HTTP_OK),
|
MHD_HTTP_OK),
|
||||||
/* Make coin invalid */
|
/* Make coin invalid */
|
||||||
TALER_TESTING_cmd_revoke ("revoke-1",
|
TALER_TESTING_cmd_revoke ("revoke-0-EUR:5",
|
||||||
MHD_HTTP_OK,
|
MHD_HTTP_OK,
|
||||||
"payback-withdraw-coin-1",
|
"payback-withdraw-coin-1",
|
||||||
CONFIG_FILE),
|
CONFIG_FILE),
|
||||||
@ -644,32 +644,32 @@ run (void *cls,
|
|||||||
* revoked and we did not bother to create a new one... *///
|
* revoked and we did not bother to create a new one... *///
|
||||||
CMD_TRANSFER_TO_EXCHANGE ("payback-create-reserve-2",
|
CMD_TRANSFER_TO_EXCHANGE ("payback-create-reserve-2",
|
||||||
"EUR:2.02"),
|
"EUR:2.02"),
|
||||||
TALER_TESTING_cmd_check_bank_admin_transfer
|
TALER_TESTING_cmd_check_bank_admin_transfer ("ck-payback-create-reserve-2",
|
||||||
("check-payback-create-reserve-2",
|
"EUR:2.02",
|
||||||
"EUR:2.02", bc.user42_payto, bc.exchange_payto,
|
bc.user42_payto,
|
||||||
"payback-create-reserve-2"),
|
bc.exchange_payto,
|
||||||
|
"payback-create-reserve-2"),
|
||||||
/* Make previous command effective. */
|
/* Make previous command effective. */
|
||||||
CMD_EXEC_WIREWATCH ("wirewatch-5"),
|
CMD_EXEC_WIREWATCH ("wirewatch-5"),
|
||||||
|
|
||||||
/* Withdraw a 1 EUR coin, at fee of 1 ct */
|
/* Withdraw a 1 EUR coin, at fee of 1 ct */
|
||||||
TALER_TESTING_cmd_withdraw_amount ("payback-withdraw-coin-2a",
|
TALER_TESTING_cmd_withdraw_amount ("payback-withdraw-coin-2a",
|
||||||
"payback-create-reserve-2",
|
"payback-create-reserve-2",
|
||||||
"EUR:1",
|
"EUR:1",
|
||||||
MHD_HTTP_OK),
|
MHD_HTTP_OK),
|
||||||
|
|
||||||
/* Withdraw a 1 EUR coin, at fee of 1 ct */
|
/* Withdraw a 1 EUR coin, at fee of 1 ct */
|
||||||
TALER_TESTING_cmd_withdraw_amount ("payback-withdraw-coin-2b",
|
TALER_TESTING_cmd_withdraw_amount ("payback-withdraw-coin-2b",
|
||||||
"payback-create-reserve-2",
|
"payback-create-reserve-2",
|
||||||
"EUR:1",
|
"EUR:1",
|
||||||
MHD_HTTP_OK),
|
MHD_HTTP_OK),
|
||||||
TALER_TESTING_cmd_deposit
|
TALER_TESTING_cmd_deposit ("payback-deposit-partial",
|
||||||
("payback-deposit-partial",
|
"payback-withdraw-coin-2a",
|
||||||
"payback-withdraw-coin-2a", 0,
|
0,
|
||||||
bc.user42_payto,
|
bc.user42_payto,
|
||||||
"{\"items\":[{\"name\":\"more ice cream\",\"value\":1}]}",
|
"{\"items\":[{\"name\":\"more ice cream\",\"value\":1}]}",
|
||||||
GNUNET_TIME_UNIT_ZERO, "EUR:0.5", MHD_HTTP_OK),
|
GNUNET_TIME_UNIT_ZERO,
|
||||||
TALER_TESTING_cmd_revoke ("revoke-2",
|
"EUR:0.5",
|
||||||
|
MHD_HTTP_OK),
|
||||||
|
TALER_TESTING_cmd_revoke ("revoke-1-EUR:1",
|
||||||
MHD_HTTP_OK,
|
MHD_HTTP_OK,
|
||||||
"payback-withdraw-coin-2a",
|
"payback-withdraw-coin-2a",
|
||||||
CONFIG_FILE),
|
CONFIG_FILE),
|
||||||
@ -769,7 +769,7 @@ run (void *cls,
|
|||||||
"refresh-melt-1",
|
"refresh-melt-1",
|
||||||
MHD_HTTP_OK),
|
MHD_HTTP_OK),
|
||||||
/* Make refreshed coin invalid */
|
/* Make refreshed coin invalid */
|
||||||
TALER_TESTING_cmd_revoke ("revoke-1",
|
TALER_TESTING_cmd_revoke ("revoke-2-EUR:5",
|
||||||
MHD_HTTP_OK,
|
MHD_HTTP_OK,
|
||||||
"refresh-melt-1",
|
"refresh-melt-1",
|
||||||
CONFIG_FILE),
|
CONFIG_FILE),
|
||||||
@ -805,12 +805,12 @@ run (void *cls,
|
|||||||
"refresh-melt-2",
|
"refresh-melt-2",
|
||||||
MHD_HTTP_OK),
|
MHD_HTTP_OK),
|
||||||
/* Revokes refreshed EUR:0.1 coin */
|
/* Revokes refreshed EUR:0.1 coin */
|
||||||
TALER_TESTING_cmd_revoke ("revoke-2",
|
TALER_TESTING_cmd_revoke ("revoke-3-EUR:0.1",
|
||||||
MHD_HTTP_OK,
|
MHD_HTTP_OK,
|
||||||
"refresh-reveal-2",
|
"refresh-reveal-2",
|
||||||
CONFIG_FILE),
|
CONFIG_FILE),
|
||||||
/* Revoke also original coin denomination */
|
/* Revoke also original coin denomination */
|
||||||
TALER_TESTING_cmd_revoke ("revoke-3",
|
TALER_TESTING_cmd_revoke ("revoke-4-EUR:5",
|
||||||
MHD_HTTP_OK,
|
MHD_HTTP_OK,
|
||||||
"withdraw-revocation-coin-1",
|
"withdraw-revocation-coin-1",
|
||||||
CONFIG_FILE),
|
CONFIG_FILE),
|
||||||
|
Loading…
Reference in New Issue
Block a user