Commenting the main "testing" header file.
This commit is contained in:
parent
11b3616355
commit
3cb0454dc0
@ -355,6 +355,8 @@ TALER_TESTING_cmd_check_bank_empty (const char *label)
|
||||
* @param deposit_reference reference to a CMD that is
|
||||
* able to provide the "check bank transfer" operation
|
||||
* input data.
|
||||
*
|
||||
* @return the command.
|
||||
*/
|
||||
struct TALER_TESTING_Command
|
||||
TALER_TESTING_cmd_check_bank_transfer_with_ref
|
||||
|
@ -2,18 +2,21 @@
|
||||
This file is part of TALER
|
||||
Copyright (C) 2018 Taler Systems SA
|
||||
|
||||
TALER is free software; you can redistribute it and/or modify it under the
|
||||
terms of the GNU General Public License as published by the Free Software
|
||||
Foundation; either version 3, or (at your option) any later version.
|
||||
TALER is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as
|
||||
published by the Free Software Foundation; either version 3,
|
||||
or (at your option) any later version.
|
||||
|
||||
TALER is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
||||
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||
TALER is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along with
|
||||
TALER; see the file COPYING. If not, see
|
||||
You should have received a copy of the GNU General Public
|
||||
License along with TALER; see the file COPYING. If not, see
|
||||
<http://www.gnu.org/licenses/>
|
||||
*/
|
||||
|
||||
/**
|
||||
* @file exchange-lib/testing_api_cmd_exec_wirewatch.c
|
||||
* @brief run the taler-exchange-wirewatch command
|
||||
|
@ -568,10 +568,11 @@ TALER_TESTING_prepare_fakebank (const char *config_filename,
|
||||
"payto://x-taler-bank/",
|
||||
strlen ("payto://x-taler-bank/")))
|
||||
{
|
||||
GNUNET_log_config_invalid (GNUNET_ERROR_TYPE_WARNING,
|
||||
config_section,
|
||||
"URL",
|
||||
"expected `x-taler-bank' payto://-URL");
|
||||
GNUNET_log_config_invalid
|
||||
(GNUNET_ERROR_TYPE_WARNING,
|
||||
config_section,
|
||||
"URL",
|
||||
"expected `x-taler-bank' payto://-URL");
|
||||
GNUNET_CONFIGURATION_destroy (cfg);
|
||||
GNUNET_free (payto_url);
|
||||
return NULL;
|
||||
|
@ -43,10 +43,10 @@
|
||||
* @return #GNUNET_OK on success
|
||||
*/
|
||||
int
|
||||
TALER_TESTING_get_trait_amount_obj (
|
||||
const struct TALER_TESTING_Command *cmd,
|
||||
unsigned int index,
|
||||
const struct TALER_Amount **amount)
|
||||
TALER_TESTING_get_trait_amount_obj
|
||||
(const struct TALER_TESTING_Command *cmd,
|
||||
unsigned int index,
|
||||
const struct TALER_Amount **amount)
|
||||
{
|
||||
return cmd->traits (cmd->cls,
|
||||
(void **) amount,
|
||||
@ -65,9 +65,9 @@ TALER_TESTING_get_trait_amount_obj (
|
||||
* @return the trait.
|
||||
*/
|
||||
struct TALER_TESTING_Trait
|
||||
TALER_TESTING_make_trait_amount_obj (
|
||||
unsigned int index,
|
||||
const struct TALER_Amount *amount)
|
||||
TALER_TESTING_make_trait_amount_obj
|
||||
(unsigned int index,
|
||||
const struct TALER_Amount *amount)
|
||||
{
|
||||
struct TALER_TESTING_Trait ret = {
|
||||
.index = index,
|
||||
|
@ -54,7 +54,6 @@ TALER_TESTING_get_trait_reserve_priv
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Offer a reserve private key.
|
||||
*
|
||||
|
@ -53,10 +53,12 @@ TALER_TESTING_get_trait_wtid
|
||||
}
|
||||
|
||||
/**
|
||||
* Offer a WTID.
|
||||
*
|
||||
* @param index associate the object with this index
|
||||
* @param wtid which object should be returned
|
||||
*
|
||||
* @return the trait, to be put in the traits array of the command
|
||||
* @return the trait.
|
||||
*/
|
||||
struct TALER_TESTING_Trait
|
||||
TALER_TESTING_make_trait_wtid
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user