Added unit tests for binaries (in progress). Added BINARY, LLBIN and LLLBIN to the DTD. Added a message template and a parsing template to the test config.
Fixed some problems with the stored values in IsoValues. git-svn-id: https://j8583.svn.sourceforge.net/svnroot/j8583/j8583@64 db60a039-f72e-0410-b1d2-baa000846441
This commit is contained in:
@@ -37,6 +37,15 @@
|
||||
<field num="126" type="LLLVAR">...and yet another fixed field.</field>
|
||||
</template>
|
||||
|
||||
<template type="0600">
|
||||
<field num="4" type="AMOUNT">000000123400</field>
|
||||
<field num="11" type="NUMERIC" length="6">123</field>
|
||||
<field num="41" type="BINARY" length="8">abcdef</field>
|
||||
<field num="43" type="ALPHA" length="40">Field of length 40</field>
|
||||
<field num="62" type="LLBIN">0123456789abcdef</field>
|
||||
<field num="102" type="LLLVAR">Field of type LLLVAR</field>
|
||||
</template>
|
||||
|
||||
<!-- The server example uses this to read the requests -->
|
||||
<parse type="0200">
|
||||
<field num="3" type="NUMERIC" length="6" />
|
||||
@@ -88,4 +97,15 @@
|
||||
<field num="126" type="LLLVAR" />
|
||||
</parse>
|
||||
|
||||
<!-- this is for binary tests (message encoding AND fields) -->
|
||||
<parse type="0600">
|
||||
<field num="4" type="AMOUNT" />
|
||||
<field num="7" type="DATE10" />
|
||||
<field num="11" type="NUMERIC" length="6" />
|
||||
<field num="41" type="BINARY" length="8" />
|
||||
<field num="43" type="ALPHA" length="40" />
|
||||
<field num="62" type="LLBIN" />
|
||||
<field num="102" type="LLLVAR" />
|
||||
</parse>
|
||||
|
||||
</j8583-config>
|
||||
|
||||
Reference in New Issue
Block a user