[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-donau] branch master updated: [testing] traits
From: |
gnunet |
Subject: |
[taler-donau] branch master updated: [testing] traits |
Date: |
Fri, 12 Jan 2024 17:11:41 +0100 |
This is an automated email from the git hooks/post-receive script.
lukas-matyja pushed a commit to branch master
in repository donau.
The following commit(s) were added to refs/heads/master by this push:
new 2d39996 [testing] traits
2d39996 is described below
commit 2d39996e24f220d2376580db98e3f0f91a6363c4
Author: Matyja Lukas Adam <lukas.matyja@students.bfh.ch>
AuthorDate: Fri Jan 12 17:12:35 2024 +0100
[testing] traits
---
src/Makefile.am | 2 +-
src/include/donau_testing_lib.h | 12 +++---------
src/testing/test_api_cmd_get_donau.c | 2 +-
3 files changed, 5 insertions(+), 11 deletions(-)
diff --git a/src/Makefile.am b/src/Makefile.am
index 39eeb5f..021ed99 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -20,4 +20,4 @@ SUBDIRS = \
donau \
lib \
donau-tools \
- # testing
+ testing
diff --git a/src/include/donau_testing_lib.h b/src/include/donau_testing_lib.h
index 7f43ebd..22c991c 100644
--- a/src/include/donau_testing_lib.h
+++ b/src/include/donau_testing_lib.h
@@ -22,17 +22,14 @@
* @brief API for writing an interpreter to test Taler components
* @author Christian Grothoff <christian@grothoff.org>
* @author Marcello Stanisci
+ * @author Lukas Matyja
*
*/
#ifndef DONAU_TESTING_LIB_H
#define DONAU_TESTING_LIB_H
-#include "taler/taler_util.h"
-#include <microhttpd.h>
-#include <gnunet/gnunet_json_lib.h>
-#include "taler/taler_json_lib.h"
+#include <taler/taler_testing_lib.h>
#include "donau_service.h"
-#include "taler/taler_testing_lib.h"
@@ -82,8 +79,7 @@ DONAU_TESTING_main (char *const *argv,
*/
#define DONAU_TESTING_SIMPLE_TRAITS(op) \
op (donau_url, const char)
\
- op (keys, struct TALER_EXCHANGE_Keys)
\
- op (process, struct GNUNET_OS_Process *)
+ op (donau_keys, struct DONAU_Keys)
/**
@@ -91,11 +87,9 @@ DONAU_TESTING_main (char *const *argv,
*/
#define DONAU_TESTING_INDEXED_TRAITS(op)
\
op (donation_unit_pub, const struct DONAU_DonationUnitInformation)
\
- op (amounts, const struct TALER_Amount)
\
op (donau_pub, const struct TALER_ExchangePublicKeyP)
DONAU_TESTING_SIMPLE_TRAITS (TALER_TESTING_MAKE_DECL_SIMPLE_TRAIT)
-
DONAU_TESTING_INDEXED_TRAITS (TALER_TESTING_MAKE_DECL_INDEXED_TRAIT)
#endif
\ No newline at end of file
diff --git a/src/testing/test_api_cmd_get_donau.c
b/src/testing/test_api_cmd_get_donau.c
index 9975e17..5e29900 100644
--- a/src/testing/test_api_cmd_get_donau.c
+++ b/src/testing/test_api_cmd_get_donau.c
@@ -25,7 +25,7 @@
#include "taler/platform.h"
#include "taler/taler_json_lib.h"
#include <gnunet/gnunet_curl_lib.h>
-#include "taler/taler_testing_lib.h"
+#include <taler/taler_testing_lib.h>
#include "donau_testing_lib.h"
#include "donau_service.h"
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.