diff options
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 ********* */ /** |