Commenting the main "testing" header file.

This commit is contained in:
Marcello Stanisci 2018-05-29 12:18:18 +02:00
parent 11b3616355
commit 3cb0454dc0
No known key found for this signature in database
GPG Key ID: 8D526861953F4C0F
7 changed files with 600 additions and 316 deletions

View File

@ -355,6 +355,8 @@ TALER_TESTING_cmd_check_bank_empty (const char *label)
* @param deposit_reference reference to a CMD that is * @param deposit_reference reference to a CMD that is
* able to provide the "check bank transfer" operation * able to provide the "check bank transfer" operation
* input data. * input data.
*
* @return the command.
*/ */
struct TALER_TESTING_Command struct TALER_TESTING_Command
TALER_TESTING_cmd_check_bank_transfer_with_ref TALER_TESTING_cmd_check_bank_transfer_with_ref

View File

@ -2,18 +2,21 @@
This file is part of TALER This file is part of TALER
Copyright (C) 2018 Taler Systems SA Copyright (C) 2018 Taler Systems SA
TALER is free software; you can redistribute it and/or modify it under the TALER is free software; you can redistribute it and/or modify
terms of the GNU General Public License as published by the Free Software it under the terms of the GNU General Public License as
Foundation; either version 3, or (at your option) any later version. 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 TALER is distributed in the hope that it will be useful,
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR but WITHOUT ANY WARRANTY; without even the implied warranty of
A PARTICULAR PURPOSE. See the GNU General Public License for more details. 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 You should have received a copy of the GNU General Public
TALER; see the file COPYING. If not, see License along with TALER; see the file COPYING. If not, see
<http://www.gnu.org/licenses/> <http://www.gnu.org/licenses/>
*/ */
/** /**
* @file exchange-lib/testing_api_cmd_exec_wirewatch.c * @file exchange-lib/testing_api_cmd_exec_wirewatch.c
* @brief run the taler-exchange-wirewatch command * @brief run the taler-exchange-wirewatch command

View File

@ -568,10 +568,11 @@ TALER_TESTING_prepare_fakebank (const char *config_filename,
"payto://x-taler-bank/", "payto://x-taler-bank/",
strlen ("payto://x-taler-bank/"))) strlen ("payto://x-taler-bank/")))
{ {
GNUNET_log_config_invalid (GNUNET_ERROR_TYPE_WARNING, GNUNET_log_config_invalid
config_section, (GNUNET_ERROR_TYPE_WARNING,
"URL", config_section,
"expected `x-taler-bank' payto://-URL"); "URL",
"expected `x-taler-bank' payto://-URL");
GNUNET_CONFIGURATION_destroy (cfg); GNUNET_CONFIGURATION_destroy (cfg);
GNUNET_free (payto_url); GNUNET_free (payto_url);
return NULL; return NULL;

View File

@ -43,10 +43,10 @@
* @return #GNUNET_OK on success * @return #GNUNET_OK on success
*/ */
int int
TALER_TESTING_get_trait_amount_obj ( TALER_TESTING_get_trait_amount_obj
const struct TALER_TESTING_Command *cmd, (const struct TALER_TESTING_Command *cmd,
unsigned int index, unsigned int index,
const struct TALER_Amount **amount) const struct TALER_Amount **amount)
{ {
return cmd->traits (cmd->cls, return cmd->traits (cmd->cls,
(void **) amount, (void **) amount,
@ -65,9 +65,9 @@ TALER_TESTING_get_trait_amount_obj (
* @return the trait. * @return the trait.
*/ */
struct TALER_TESTING_Trait struct TALER_TESTING_Trait
TALER_TESTING_make_trait_amount_obj ( TALER_TESTING_make_trait_amount_obj
unsigned int index, (unsigned int index,
const struct TALER_Amount *amount) const struct TALER_Amount *amount)
{ {
struct TALER_TESTING_Trait ret = { struct TALER_TESTING_Trait ret = {
.index = index, .index = index,

View File

@ -54,7 +54,6 @@ TALER_TESTING_get_trait_reserve_priv
} }
/** /**
* Offer a reserve private key. * Offer a reserve private key.
* *

View File

@ -53,10 +53,12 @@ TALER_TESTING_get_trait_wtid
} }
/** /**
* Offer a WTID.
*
* @param index associate the object with this index * @param index associate the object with this index
* @param wtid which object should be returned * @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 struct TALER_TESTING_Trait
TALER_TESTING_make_trait_wtid TALER_TESTING_make_trait_wtid

File diff suppressed because it is too large Load Diff