diff options
author | Jonathan Buchanan <jonathan.russ.buchanan@gmail.com> | 2020-06-26 23:58:55 -0400 |
---|---|---|
committer | Jonathan Buchanan <jonathan.russ.buchanan@gmail.com> | 2020-06-26 23:58:55 -0400 |
commit | cde317f8e848c61e399c6c3e93264b1736f33e74 (patch) | |
tree | e5efe98d771cf14174ccc31ef5bc6a044ac8e414 /src/include | |
parent | ab27991b9a8cf9618891ce74e2d86f8b1a916365 (diff) | |
download | merchant-cde317f8e848c61e399c6c3e93264b1736f33e74.tar.gz merchant-cde317f8e848c61e399c6c3e93264b1736f33e74.tar.bz2 merchant-cde317f8e848c61e399c6c3e93264b1736f33e74.zip |
more docs/thorough checks for backend db & long polling for merchant get order
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_merchant_testing_lib.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/include/taler_merchant_testing_lib.h b/src/include/taler_merchant_testing_lib.h index 980eb6ea..4c7039b1 100644 --- a/src/include/taler_merchant_testing_lib.h +++ b/src/include/taler_merchant_testing_lib.h @@ -505,6 +505,24 @@ TALER_TESTING_cmd_merchant_get_order (const char *label, /** + * Start a long poll for GET /private/orders/$ORDER_ID. + */ +struct TALER_TESTING_Command +TALER_TESTING_cmd_poll_order_start (const char *label, + const char *merchant_url, + const char *order_id, + struct GNUNET_TIME_Relative timeout); + + +/** + * Complete a long poll for GET /private/orders/$ORDER_ID. + */ +struct TALER_TESTING_Command +TALER_TESTING_cmd_poll_order_conclude (const char *label, + unsigned int http_status, + const char *poll_start_reference); + +/** * Make a "claim order" command. * * @param label command label. |