[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [libebics] branch master updated: Add HIA generation in the
From: |
gnunet |
Subject: |
[GNUnet-SVN] [libebics] branch master updated: Add HIA generation in the tests. |
Date: |
Thu, 25 Oct 2018 17:27:27 +0200 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository libebics.
The following commit(s) were added to refs/heads/master by this push:
new 727a715 Add HIA generation in the tests.
727a715 is described below
commit 727a715137657e30a2a53015d5f1752d528787fd
Author: Marcello Stanisci <address@hidden>
AuthorDate: Thu Oct 25 17:27:09 2018 +0200
Add HIA generation in the tests.
---
src/sandbox_tests.c | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/src/sandbox_tests.c b/src/sandbox_tests.c
index f5b8ded..5b14ded 100644
--- a/src/sandbox_tests.c
+++ b/src/sandbox_tests.c
@@ -183,6 +183,35 @@ run ()
/* legal, as it gets copied by libcurl */
GNUNET_free (msg);
+
+ /**
+ * HIA
+ */
+ if (NULL == (msg = EBICS_generate_message_hia
+ (&header_args,
+ &hia_args)))
+ {
+ LOG (EBICS_LOGLEVEL_ERROR,
+ "Failed to instantiate HIA message\n");
+ return;
+ }
+
+ #ifdef ONLINE_SANDBOX
+ if (EBICS_SUCCESS != EBICS_send_message (msg,
+ BANK_URL,
+ cb))
+ {
+ LOG (EBICS_LOGLEVEL_ERROR,
+ "Could not POST the HIA message\n");
+ return;
+ }
+ #else
+ write_xml_file ("HIA.xml",
+ msg);
+ #endif
+ GNUNET_free (msg);
+
+
result = EBICS_SUCCESS;
}
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [libebics] branch master updated: Add HIA generation in the tests.,
gnunet <=