From fe6960cce854cd4c665a27c4368e4397c8e7bcfb Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Tue, 23 Jan 2018 10:28:24 +0100 Subject: Implement new traits-based tests. --- src/exchange-lib/testing_api_trait_process.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/exchange-lib/testing_api_trait_process.c') diff --git a/src/exchange-lib/testing_api_trait_process.c b/src/exchange-lib/testing_api_trait_process.c index 877eca97..e3c1bdf4 100644 --- a/src/exchange-lib/testing_api_trait_process.c +++ b/src/exchange-lib/testing_api_trait_process.c @@ -40,22 +40,22 @@ */ int TALER_TESTING_get_trait_process (const struct TALER_TESTING_Command *cmd, - const char *selector, + unsigned int index, struct GNUNET_OS_Process ***processp) { return cmd->traits (cmd->cls, (void **) processp, TALER_TESTING_TRAIT_PROCESS, - selector); + index); } struct TALER_TESTING_Trait -TALER_TESTING_make_trait_process (const char *selector, +TALER_TESTING_make_trait_process (unsigned int index, struct GNUNET_OS_Process **processp) { struct TALER_TESTING_Trait ret = { - .selector = selector, + .index = index, .trait_name = TALER_TESTING_TRAIT_PROCESS, .ptr = (const void *) processp }; -- cgit v1.2.3