libeufin

Integration and sandbox testing for FinTech APIs and data formats
Log | Files | Refs | Submodules | README | LICENSE

commit e5cadfc7f1a985ef7cb989fe38846485d4eb8df5
parent 0f90e125c61f1794ae75b2a41ff5b3d4fadc5d5e
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date:   Tue, 12 Nov 2019 13:57:31 +0100

test passes

Diffstat:
Msandbox/src/test/kotlin/XmlUtilTest.kt | 57+++++++++++++++++++++++++++++++--------------------------
1 file changed, 31 insertions(+), 26 deletions(-)

diff --git a/sandbox/src/test/kotlin/XmlUtilTest.kt b/sandbox/src/test/kotlin/XmlUtilTest.kt @@ -25,32 +25,37 @@ class XmlUtilTest { <BankInfo> <HostID>host01</HostID> </BankInfo> - <AccountInfo Currency="EUR" Description="ACCT" ID="acctid1"> - <AccountNumber international="true">DE21500105174751659277</AccountNumber> - <BankCode international="true">INGDDEFFXXX</BankCode> - <AccountHolder>Mina Musterfrau</AccountHolder> - </AccountInfo> - <AccountInfo Currency="EUR" Description="glsdemoacct" ID="glsdemo"> - <AccountNumber international="true">DE91430609670123123123</AccountNumber> - <BankCode international="true">GENODEM1GLS</BankCode> - <AccountHolder>Mina Musterfrau</AccountHolder> - </AccountInfo> - <OrderInfo> - <OrderType>C53</OrderType> - <TransferType>Download</TransferType> - <Description>foo</Description> - </OrderInfo> - <OrderInfo> - <OrderType>C52</OrderType> - <TransferType>Download</TransferType> - <Description>foo</Description> - </OrderInfo> - <OrderInfo> - <OrderType>CCC</OrderType> - <TransferType>Upload</TransferType> - <Description>foo</Description> - </OrderInfo> - </PartnerInfo> + <dogs> + <AccountInfo Currency="EUR" Description="ACCT" ID="acctid1"> + <AccountNumber international="true">DE21500105174751659277</AccountNumber> + <BankCode international="true">INGDDEFFXXX</BankCode> + <AccountHolder>Mina Musterfrau</AccountHolder> + </AccountInfo> + <AccountInfo Currency="EUR" Description="glsdemoacct" ID="glsdemo"> + <AccountNumber international="true">DE91430609670123123123</AccountNumber> + <BankCode international="true">GENODEM1GLS</BankCode> + <AccountHolder>Mina Musterfrau</AccountHolder> + </AccountInfo> + </dogs> + <cats> + <OrderInfo> + <OrderType>C53</OrderType> + <TransferType>Download</TransferType> + <Description>foo</Description> + </OrderInfo> + <OrderInfo> + <OrderType>C52</OrderType> + <TransferType>Download</TransferType> + <Description>foo</Description> + </OrderInfo> + <OrderInfo> + <OrderType>CCC</OrderType> + <TransferType>Upload</TransferType> + <Description>foo</Description> + </OrderInfo> + </cats> + </PartnerInfo> + <UserInfo> <UserID Status="5">USER1</UserID> <Name>Some User</Name>