diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_testing_auditor_lib.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/include/taler_testing_auditor_lib.h b/src/include/taler_testing_auditor_lib.h index 65f50b776..090a1210c 100644 --- a/src/include/taler_testing_auditor_lib.h +++ b/src/include/taler_testing_auditor_lib.h @@ -123,6 +123,23 @@ TALER_TESTING_cmd_exchanges /** + * Create a "list exchanges" command and check whether + * a particular exchange belongs to the returned bundle. + * + * @param label command label. + * @param auditor auditor connection. + * @param expected_response_code expected HTTP response code. + * @param exchange_url URL of the exchange supposed to + * be included in the response. + * @return the command. + */ +struct TALER_TESTING_Command +TALER_TESTING_cmd_exchanges_with_url + (const char *label, + unsigned int expected_response_code, + const char *exchange_url); + +/** * Modify an exchanges command to enable retries when we get * transient errors from the auditor. * |