XMLParserSpec

25

tests

0

failures

0

ignored

3.882s

duration

100%

successful

Tests

Test Duration Result
Verify that getSchema() returns a Schema 0.036s passed
Verify that invalid XML throws JAXBException 0.052s passed
Verify that invalid mashalling data throws JAXBException 0.049s passed
Verify that it is possible to marshall and unmarshall a chainkit message 0.107s passed
Verify that it is possible to marshall and unmarshall a chainnotifier message 0.102s passed
Verify that it is possible to marshall and unmarshall a router message 0.136s passed
Verify that it is possible to marshall and unmarshall a signer message 0.084s passed
Verify that it is possible to marshall and unmarshall a verrpc message 0.087s passed
Verify that it is possible to marshall and unmarshall a walletkit message 0.087s passed
Verify that it is possible to marshall and unmarshall a walletunlocker message 0.107s passed
Verify that it is possible to marshall and unmarshall a watchtower message 0.121s passed
Verify that it is possible to marshall and unmarshall a wtclient message 0.089s passed
Verify that it is possible to marshall and unmarshall an autoenroll message 0.128s passed
Verify that it is possible to marshall and unmarshall an invoices message 0.138s passed
Verify that it possible to marshall and unmarshall a dev message 0.146s passed
Verify that it possible to marshall and unmarshall a neutrino message 0.072s passed
Verify that it possible to marshall and unmarshall a peers message 0.093s passed
Verify that it possible to marshall and unmarshall a stateservice message 0.080s passed
Verify that marshall of enum is done correctly 0.051s passed
Verify that marshall returns a valid XML variant containing List 1.739s passed
Verify that marshall returns a valid XML variant containing Map 0.088s passed
Verify that schema is checked when unmarshalling 0.058s passed
Verify that unmarshall returns a valid Message Object for XML containing List 0.111s passed
Verify that unmarshall returns a valid Message Object for XML containing Map 0.051s passed
Verify unmarshall returns a valid Message Object for XML containing enum 0.070s passed

Standard output

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<chainkit:GetBlockRequest xmlns:chainnotifier="http://lightningj.org/xsd/chainnotifier_1_0" xmlns:chainkit="http://lightningj.org/xsd/chainkit_1_0" xmlns:dev="http://lightningj.org/xsd/dev_1_0" xmlns:neutrino="http://lightningj.org/xsd/neutrino_1_0" xmlns:stateservice="http://lightningj.org/xsd/stateservice_1_0" xmlns:invoices="http://lightningj.org/xsd/invoices_1_0" xmlns:autopilot="http://lightningj.org/xsd/autopilot_1_0" xmlns:wtclient="http://lightningj.org/xsd/wtclient_1_0" xmlns:router="http://lightningj.org/xsd/router_1_0" xmlns:watchtower="http://lightningj.org/xsd/watchtower_1_0" xmlns="http://lightningj.org/xsd/lndjapi_1_0" xmlns:verrpc="http://lightningj.org/xsd/verrpc_1_0" xmlns:walletunlocker="http://lightningj.org/xsd/walletunlocker_1_0" xmlns:peers="http://lightningj.org/xsd/peers_1_0" xmlns:signer="http://lightningj.org/xsd/signer_1_0" xmlns:walletkit="http://lightningj.org/xsd/walletkit_1_0">
    <chainkit:blockHash>MTIzNA==</chainkit:blockHash>
</chainkit:GetBlockRequest>

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<walletkit:SendOutputsRequest xmlns:chainnotifier="http://lightningj.org/xsd/chainnotifier_1_0" xmlns:chainkit="http://lightningj.org/xsd/chainkit_1_0" xmlns:dev="http://lightningj.org/xsd/dev_1_0" xmlns:neutrino="http://lightningj.org/xsd/neutrino_1_0" xmlns:stateservice="http://lightningj.org/xsd/stateservice_1_0" xmlns:invoices="http://lightningj.org/xsd/invoices_1_0" xmlns:autopilot="http://lightningj.org/xsd/autopilot_1_0" xmlns:wtclient="http://lightningj.org/xsd/wtclient_1_0" xmlns:router="http://lightningj.org/xsd/router_1_0" xmlns:watchtower="http://lightningj.org/xsd/watchtower_1_0" xmlns="http://lightningj.org/xsd/lndjapi_1_0" xmlns:verrpc="http://lightningj.org/xsd/verrpc_1_0" xmlns:walletunlocker="http://lightningj.org/xsd/walletunlocker_1_0" xmlns:peers="http://lightningj.org/xsd/peers_1_0" xmlns:signer="http://lightningj.org/xsd/signer_1_0" xmlns:walletkit="http://lightningj.org/xsd/walletkit_1_0">
    <walletkit:satPerKw>10</walletkit:satPerKw>
    <walletkit:outputs>
        <walletkit:TxOut>
            <signer:value>100</signer:value>
            <signer:pkScript></signer:pkScript>
        </walletkit:TxOut>
        <walletkit:TxOut>
            <signer:value>200</signer:value>
            <signer:pkScript></signer:pkScript>
        </walletkit:TxOut>
    </walletkit:outputs>
    <walletkit:label></walletkit:label>
    <walletkit:minConfs>0</walletkit:minConfs>
    <walletkit:spendUnconfirmed>false</walletkit:spendUnconfirmed>
</walletkit:SendOutputsRequest>

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<watchtower:GetInfoRequest xmlns:chainnotifier="http://lightningj.org/xsd/chainnotifier_1_0" xmlns:chainkit="http://lightningj.org/xsd/chainkit_1_0" xmlns:dev="http://lightningj.org/xsd/dev_1_0" xmlns:neutrino="http://lightningj.org/xsd/neutrino_1_0" xmlns:stateservice="http://lightningj.org/xsd/stateservice_1_0" xmlns:invoices="http://lightningj.org/xsd/invoices_1_0" xmlns:autopilot="http://lightningj.org/xsd/autopilot_1_0" xmlns:wtclient="http://lightningj.org/xsd/wtclient_1_0" xmlns:router="http://lightningj.org/xsd/router_1_0" xmlns:watchtower="http://lightningj.org/xsd/watchtower_1_0" xmlns="http://lightningj.org/xsd/lndjapi_1_0" xmlns:verrpc="http://lightningj.org/xsd/verrpc_1_0" xmlns:walletunlocker="http://lightningj.org/xsd/walletunlocker_1_0" xmlns:peers="http://lightningj.org/xsd/peers_1_0" xmlns:signer="http://lightningj.org/xsd/signer_1_0" xmlns:walletkit="http://lightningj.org/xsd/walletkit_1_0"/>

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<wtclient:ListTowersRequest xmlns:chainnotifier="http://lightningj.org/xsd/chainnotifier_1_0" xmlns:chainkit="http://lightningj.org/xsd/chainkit_1_0" xmlns:dev="http://lightningj.org/xsd/dev_1_0" xmlns:neutrino="http://lightningj.org/xsd/neutrino_1_0" xmlns:stateservice="http://lightningj.org/xsd/stateservice_1_0" xmlns:invoices="http://lightningj.org/xsd/invoices_1_0" xmlns:autopilot="http://lightningj.org/xsd/autopilot_1_0" xmlns:wtclient="http://lightningj.org/xsd/wtclient_1_0" xmlns:router="http://lightningj.org/xsd/router_1_0" xmlns:watchtower="http://lightningj.org/xsd/watchtower_1_0" xmlns="http://lightningj.org/xsd/lndjapi_1_0" xmlns:verrpc="http://lightningj.org/xsd/verrpc_1_0" xmlns:walletunlocker="http://lightningj.org/xsd/walletunlocker_1_0" xmlns:peers="http://lightningj.org/xsd/peers_1_0" xmlns:signer="http://lightningj.org/xsd/signer_1_0" xmlns:walletkit="http://lightningj.org/xsd/walletkit_1_0">
    <wtclient:includeSessions>true</wtclient:includeSessions>
    <wtclient:excludeExhaustedSessions>false</wtclient:excludeExhaustedSessions>
</wtclient:ListTowersRequest>

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<verrpc:VersionRequest xmlns:chainnotifier="http://lightningj.org/xsd/chainnotifier_1_0" xmlns:chainkit="http://lightningj.org/xsd/chainkit_1_0" xmlns:dev="http://lightningj.org/xsd/dev_1_0" xmlns:neutrino="http://lightningj.org/xsd/neutrino_1_0" xmlns:stateservice="http://lightningj.org/xsd/stateservice_1_0" xmlns:invoices="http://lightningj.org/xsd/invoices_1_0" xmlns:autopilot="http://lightningj.org/xsd/autopilot_1_0" xmlns:wtclient="http://lightningj.org/xsd/wtclient_1_0" xmlns:router="http://lightningj.org/xsd/router_1_0" xmlns:watchtower="http://lightningj.org/xsd/watchtower_1_0" xmlns="http://lightningj.org/xsd/lndjapi_1_0" xmlns:verrpc="http://lightningj.org/xsd/verrpc_1_0" xmlns:walletunlocker="http://lightningj.org/xsd/walletunlocker_1_0" xmlns:peers="http://lightningj.org/xsd/peers_1_0" xmlns:signer="http://lightningj.org/xsd/signer_1_0" xmlns:walletkit="http://lightningj.org/xsd/walletkit_1_0"/>

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<walletunlocker:GenSeedRequest xmlns:chainnotifier="http://lightningj.org/xsd/chainnotifier_1_0" xmlns:chainkit="http://lightningj.org/xsd/chainkit_1_0" xmlns:dev="http://lightningj.org/xsd/dev_1_0" xmlns:neutrino="http://lightningj.org/xsd/neutrino_1_0" xmlns:stateservice="http://lightningj.org/xsd/stateservice_1_0" xmlns:invoices="http://lightningj.org/xsd/invoices_1_0" xmlns:autopilot="http://lightningj.org/xsd/autopilot_1_0" xmlns:wtclient="http://lightningj.org/xsd/wtclient_1_0" xmlns:router="http://lightningj.org/xsd/router_1_0" xmlns:watchtower="http://lightningj.org/xsd/watchtower_1_0" xmlns="http://lightningj.org/xsd/lndjapi_1_0" xmlns:verrpc="http://lightningj.org/xsd/verrpc_1_0" xmlns:walletunlocker="http://lightningj.org/xsd/walletunlocker_1_0" xmlns:peers="http://lightningj.org/xsd/peers_1_0" xmlns:signer="http://lightningj.org/xsd/signer_1_0" xmlns:walletkit="http://lightningj.org/xsd/walletkit_1_0">
    <walletunlocker:aezeedPassphrase>Zm9vMTIz</walletunlocker:aezeedPassphrase>
    <walletunlocker:seedEntropy>YWJj</walletunlocker:seedEntropy>
</walletunlocker:GenSeedRequest>

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<stateservice:GetStateRequest xmlns:chainnotifier="http://lightningj.org/xsd/chainnotifier_1_0" xmlns:chainkit="http://lightningj.org/xsd/chainkit_1_0" xmlns:dev="http://lightningj.org/xsd/dev_1_0" xmlns:neutrino="http://lightningj.org/xsd/neutrino_1_0" xmlns:stateservice="http://lightningj.org/xsd/stateservice_1_0" xmlns:invoices="http://lightningj.org/xsd/invoices_1_0" xmlns:autopilot="http://lightningj.org/xsd/autopilot_1_0" xmlns:wtclient="http://lightningj.org/xsd/wtclient_1_0" xmlns:router="http://lightningj.org/xsd/router_1_0" xmlns:watchtower="http://lightningj.org/xsd/watchtower_1_0" xmlns="http://lightningj.org/xsd/lndjapi_1_0" xmlns:verrpc="http://lightningj.org/xsd/verrpc_1_0" xmlns:walletunlocker="http://lightningj.org/xsd/walletunlocker_1_0" xmlns:peers="http://lightningj.org/xsd/peers_1_0" xmlns:signer="http://lightningj.org/xsd/signer_1_0" xmlns:walletkit="http://lightningj.org/xsd/walletkit_1_0"/>

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<dev:ImportGraphResponse xmlns:chainnotifier="http://lightningj.org/xsd/chainnotifier_1_0" xmlns:chainkit="http://lightningj.org/xsd/chainkit_1_0" xmlns:dev="http://lightningj.org/xsd/dev_1_0" xmlns:neutrino="http://lightningj.org/xsd/neutrino_1_0" xmlns:stateservice="http://lightningj.org/xsd/stateservice_1_0" xmlns:invoices="http://lightningj.org/xsd/invoices_1_0" xmlns:autopilot="http://lightningj.org/xsd/autopilot_1_0" xmlns:wtclient="http://lightningj.org/xsd/wtclient_1_0" xmlns:router="http://lightningj.org/xsd/router_1_0" xmlns:watchtower="http://lightningj.org/xsd/watchtower_1_0" xmlns="http://lightningj.org/xsd/lndjapi_1_0" xmlns:verrpc="http://lightningj.org/xsd/verrpc_1_0" xmlns:walletunlocker="http://lightningj.org/xsd/walletunlocker_1_0" xmlns:peers="http://lightningj.org/xsd/peers_1_0" xmlns:signer="http://lightningj.org/xsd/signer_1_0" xmlns:walletkit="http://lightningj.org/xsd/walletkit_1_0"/>

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<peers:UpdateAddressAction xmlns:chainnotifier="http://lightningj.org/xsd/chainnotifier_1_0" xmlns:chainkit="http://lightningj.org/xsd/chainkit_1_0" xmlns:dev="http://lightningj.org/xsd/dev_1_0" xmlns:neutrino="http://lightningj.org/xsd/neutrino_1_0" xmlns:stateservice="http://lightningj.org/xsd/stateservice_1_0" xmlns:invoices="http://lightningj.org/xsd/invoices_1_0" xmlns:autopilot="http://lightningj.org/xsd/autopilot_1_0" xmlns:wtclient="http://lightningj.org/xsd/wtclient_1_0" xmlns:router="http://lightningj.org/xsd/router_1_0" xmlns:watchtower="http://lightningj.org/xsd/watchtower_1_0" xmlns="http://lightningj.org/xsd/lndjapi_1_0" xmlns:verrpc="http://lightningj.org/xsd/verrpc_1_0" xmlns:walletunlocker="http://lightningj.org/xsd/walletunlocker_1_0" xmlns:peers="http://lightningj.org/xsd/peers_1_0" xmlns:signer="http://lightningj.org/xsd/signer_1_0" xmlns:walletkit="http://lightningj.org/xsd/walletkit_1_0">
    <peers:action>ADD</peers:action>
    <peers:address>someAddress</peers:address>
</peers:UpdateAddressAction>

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<neutrino:AddPeerRequest xmlns:chainnotifier="http://lightningj.org/xsd/chainnotifier_1_0" xmlns:chainkit="http://lightningj.org/xsd/chainkit_1_0" xmlns:dev="http://lightningj.org/xsd/dev_1_0" xmlns:neutrino="http://lightningj.org/xsd/neutrino_1_0" xmlns:stateservice="http://lightningj.org/xsd/stateservice_1_0" xmlns:invoices="http://lightningj.org/xsd/invoices_1_0" xmlns:autopilot="http://lightningj.org/xsd/autopilot_1_0" xmlns:wtclient="http://lightningj.org/xsd/wtclient_1_0" xmlns:router="http://lightningj.org/xsd/router_1_0" xmlns:watchtower="http://lightningj.org/xsd/watchtower_1_0" xmlns="http://lightningj.org/xsd/lndjapi_1_0" xmlns:verrpc="http://lightningj.org/xsd/verrpc_1_0" xmlns:walletunlocker="http://lightningj.org/xsd/walletunlocker_1_0" xmlns:peers="http://lightningj.org/xsd/peers_1_0" xmlns:signer="http://lightningj.org/xsd/signer_1_0" xmlns:walletkit="http://lightningj.org/xsd/walletkit_1_0">
    <neutrino:peerAddrs>someAddress</neutrino:peerAddrs>
</neutrino:AddPeerRequest>