gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libeufin] branch master updated: test previous change


From: gnunet
Subject: [libeufin] branch master updated: test previous change
Date: Thu, 23 Jul 2020 11:18:38 +0200

This is an automated email from the git hooks/post-receive script.

ms pushed a commit to branch master
in repository libeufin.

The following commit(s) were added to refs/heads/master by this push:
     new 865f258  test previous change
865f258 is described below

commit 865f2588377b7bba0200792e78179f49de8e7192
Author: MS <ms@taler.net>
AuthorDate: Thu Jul 23 11:18:34 2020 +0200

    test previous change
---
 sandbox/src/test/kotlin/EbicsErrorTest.kt | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/sandbox/src/test/kotlin/EbicsErrorTest.kt 
b/sandbox/src/test/kotlin/EbicsErrorTest.kt
new file mode 100644
index 0000000..6c34c08
--- /dev/null
+++ b/sandbox/src/test/kotlin/EbicsErrorTest.kt
@@ -0,0 +1,18 @@
+import org.apache.xml.security.binding.xmldsig.SignatureType
+import org.junit.Test
+import tech.libeufin.util.XMLUtil
+import tech.libeufin.util.ebics_h004.EbicsResponse
+import tech.libeufin.util.ebics_h004.EbicsTypes
+
+class EbicsErrorTest {
+
+    @Test
+    fun makeEbicsErrorResponse() {
+        val resp = EbicsResponse.createForUploadWithError(
+            "[EBICS_ERROR] abc",
+            "012345",
+            EbicsTypes.TransactionPhaseType.INITIALISATION
+        )
+        println(XMLUtil.convertJaxbToString(resp))
+    }
+}
\ No newline at end of file

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]