diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-09-15 19:17:06 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-09-15 19:17:06 +0200 |
commit | 46e4ea696cdba772ad5d6f8d79cf2e6586ef9979 (patch) | |
tree | 110893292e76c7f05ec5b04fce0845e29fe9bcff /src/include/taler_testing_lib.h | |
parent | 2cbe471d5e836092089d5108730de5f14a2adf37 (diff) | |
download | exchange-46e4ea696cdba772ad5d6f8d79cf2e6586ef9979.tar.xz |
add sleep command
Diffstat (limited to 'src/include/taler_testing_lib.h')
-rw-r--r-- | src/include/taler_testing_lib.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h index 83523dfc4..97189a55e 100644 --- a/src/include/taler_testing_lib.h +++ b/src/include/taler_testing_lib.h @@ -1094,6 +1094,7 @@ TALER_TESTING_cmd_check_bank_transfer_with_ref (const char *label, const char *deposit_reference); + /** * Checks wheter all the wire transfers got "checked" * by the "bank check" CMD. @@ -1105,6 +1106,7 @@ TALER_TESTING_cmd_check_bank_transfer_with_ref struct TALER_TESTING_Command TALER_TESTING_cmd_check_bank_empty (const char *label); + /** * Create a "refund" command, allow to specify refund transaction * id. Mainly used to create conflicting requests. @@ -1129,6 +1131,7 @@ TALER_TESTING_cmd_refund_with_id const char *deposit_reference, uint64_t refund_transaction_id); + /** * Create a "refund" command. * @@ -1184,6 +1187,7 @@ TALER_TESTING_cmd_revoke (const char *label, const char *coin_reference, const char *config_filename); + /** * Create a "signal" CMD. * @@ -1198,6 +1202,19 @@ TALER_TESTING_cmd_signal (const char *label, struct GNUNET_OS_Process *process, int signal); + +/** + * Sleep for @a duration_s seconds. + * + * @param label command label. + * @param duration_s number of seconds to sleep + * @return the command. + */ +struct TALER_TESTING_Command +TALER_TESTING_cmd_sleep (const char *label, + unsigned int duration_s); + + /** * Make a "check keys" command. This type of command * checks whether the number of denomination keys from @@ -1218,6 +1235,7 @@ TALER_TESTING_cmd_check_keys unsigned int num_denom_keys, struct TALER_EXCHANGE_Handle *exchange); + /** * Create a "batch" command. Such command takes a * end_CMD-terminated array of CMDs and executed them. @@ -1235,6 +1253,7 @@ TALER_TESTING_cmd_batch (const char *label, struct TALER_TESTING_Command *batch); + /* *** Generic trait logic for implementing traits ********* */ /** |