notify-dpml AT lists.ibiblio.org
Subject: DPML Notify
List archive
svn commit: r2290 - in development/planet/users/niclas/iso8583: . api elements elements/src/main/net/dpml/iso8583/data/elements elements/src/main/net/dpml/iso8583/data/representation elements/src/test/net/dpml/iso8583/test/data/elements
- From: niclas AT hedhman.org
- To: notify-dpml AT lists.ibiblio.org
- Subject: svn commit: r2290 - in development/planet/users/niclas/iso8583: . api elements elements/src/main/net/dpml/iso8583/data/elements elements/src/main/net/dpml/iso8583/data/representation elements/src/test/net/dpml/iso8583/test/data/elements
- Date: Fri, 15 Apr 2005 21:37:09 -0400
Author: niclas AT hedhman.org
Date: Fri Apr 15 21:37:00 2005
New Revision: 2290
Added:
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/ReservedForPrivateUse115.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AccountIdentification1TestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AccountIdentification2TestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AcquirerReferenceNumberTestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AcquiringInstitutionIdentificationCodeTestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ActionCodeTestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AdditionalDataNationalTestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AdditionalDataPrivateTestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AdditionalResponseDataTestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AmountNetReconciliationTestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AmountsAdditionalTestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AmountsFeesTestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AmountsOriginalFeesTestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ApprovalCodeTestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AuthorizationLifeCycleCodeTestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AuthorizingAgentInstitutionIdentificationCodeTestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/BatchFileTransferControlDataTestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/BatchFileTransferMessageControlTestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/CardAcceptorIdentificationCodeTestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/CardAcceptorNameLocationTestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/CardAcceptorTerminalIdentificationTestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/CardIssuerReferenceDataTestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/DataRecordTestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/DateActionTestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ElectronicCommerceDataTestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ExtendedPaymentDataTestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/FileNameTestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/FileTransferDescriptionDataTestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ForwardingInstitutionIdentificationCodeTestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/IccSystemRelatedDataTestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/KeyManagementDataTestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/MacField128TestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/MacField64TestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/OriginalDataElementsTestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/PayeeTestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/PinDataTestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReceivingInstitutionIdentificationCodeTestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReconciliationDataPrimaryTestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReconciliationDataSecondaryTestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReconciliationFeeAmountsCreditTestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReconciliationFeeAmountsDebitTestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForIso50TestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForIso51TestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForIso76TestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForIso77TestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForIso78TestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForIso79TestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForIso80TestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForIso81TestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForIso82TestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForIso83TestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForIso84TestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForIso85TestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForIso86TestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForIso87TestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForIso88TestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForIso89TestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForIso90TestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForIso91TestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForIso92TestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForNationalUse116TestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForNationalUse117TestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForNationalUse118TestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForNationalUse119TestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForNationalUse120TestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForNationalUse121TestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForNationalUse122TestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForPrivateUse111TestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForPrivateUse112TestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForPrivateUse113TestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForPrivateUse114TestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForPrivateUse115TestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForPrivateUse123TestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForPrivateUse124TestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForPrivateUse125TestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForPrivateUse126TestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForPrivateUse127TestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/RetrievalReferenceNumberTestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/SecurityRelatedControlInformationTestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ServiceCodeTestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/SettlementInstitutionIdentificationCodeTestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/Track1DataTestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/Track2DataTestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/Track3DataTestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/TransactionDestinationInstitutionIdentificationCodeTestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/TransactionOriginatorInstitutionIdentificationCodeTestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/TransactionSpecificDataTestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/TransportDataTestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/VerificationDataTestCase.java
Modified:
development/planet/users/niclas/iso8583/api/api.iml
development/planet/users/niclas/iso8583/elements/elements.iml
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/FileName.java
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/ReceivingInstitutionIdentificationCode.java
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/TransactionSpecificData.java
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/A.java
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/AN.java
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/ANB.java
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/ANP.java
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/ANS.java
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/ANSB.java
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/AS.java
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/B.java
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/N.java
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/VariableAN.java
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/VariableANS.java
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/VariableANSB.java
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/VariableB.java
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/VariableN.java
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/VariableZ.java
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/XN.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AbstractDataElementTestCase.java
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AmountTransactionTestCase.java
development/planet/users/niclas/iso8583/iso8583.ipr
development/planet/users/niclas/iso8583/iso8583.iws
Log:
added testcases for the new batch of dataelements.
Modified: development/planet/users/niclas/iso8583/api/api.iml
==============================================================================
--- development/planet/users/niclas/iso8583/api/api.iml (original)
+++ development/planet/users/niclas/iso8583/api/api.iml Fri Apr 15 21:37:00
2005
@@ -11,8 +11,8 @@
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="Metro Public" level="application" />
- <orderEntry type="library" name="JPos" level="project" />
<orderEntry type="library" name="Clover" level="application" />
+ <orderEntry type="library" name="JPos" level="project" />
<orderEntryProperties />
</component>
</module>
Modified: development/planet/users/niclas/iso8583/elements/elements.iml
==============================================================================
--- development/planet/users/niclas/iso8583/elements/elements.iml
(original)
+++ development/planet/users/niclas/iso8583/elements/elements.iml Fri
Apr 15 21:37:00 2005
@@ -19,6 +19,7 @@
<orderEntry type="library" name="Clover" level="application" />
<orderEntry type="library" name="Metro Unit" level="application" />
<orderEntry type="library" name="Metro Private" level="application" />
+ <orderEntry type="library" name="Metro Protected" level="application" />
<orderEntryProperties />
</component>
</module>
Modified:
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/FileName.java
==============================================================================
---
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/FileName.java
(original)
+++
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/FileName.java
Fri Apr 15 21:37:00 2005
@@ -45,7 +45,7 @@
/** Sets up the element type in a generic fashion. */
static
{
- m_Representation = new VariableANS( 999 );
+ m_Representation = new VariableANS( 99 );
}
/** Constructor of FileName.
Modified:
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/ReceivingInstitutionIdentificationCode.java
==============================================================================
---
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/ReceivingInstitutionIdentificationCode.java
(original)
+++
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/ReceivingInstitutionIdentificationCode.java
Fri Apr 15 21:37:00 2005
@@ -45,7 +45,7 @@
/** Sets up the element type in a generic fashion. */
static
{
- m_Representation = new VariableN( 0 );
+ m_Representation = new VariableN( 11 );
}
/** Constructor of ReceivingInstitutionIdentificationCode.
Added:
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/ReservedForPrivateUse115.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/ReservedForPrivateUse115.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,73 @@
+/*
+ * Copyright 2004-2005 Niclas Hedhman.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ * implied.
+ *
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package net.dpml.iso8583.data.elements;
+
+
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.representation.VariableANSB;
+import net.dpml.logging.Logger;
+import net.dpml.parameters.Parameters;
+
+
+/** <code>DataElement</code> implementation of ReservedForPrivateUse115.
+ *
+ * @author <a href="mailto:niclas AT hedhman.org";>Niclas Hedhman</a>
+ *
+ * @see net.dpml.iso8583.data.DataElement
+ * @see net.dpml.iso8583.data.DataElementManager
+ *
+ * @metro.component lifestyle="transient" name="ReservedForPrivateUse115"
+ * @metro.service type="net.dpml.iso8583.data.DataElement"
+ */
+public class ReservedForPrivateUse115 extends AbstractDataElement
+{
+ /** The ISO8583 bit number */
+ static private int ISO8583_BIT_NUMBER = 115;
+
+ /** ISO8583 Representation formatter and validator. */
+ static private Representation m_Representation;
+
+ /** Sets up the element type in a generic fashion. */
+ static
+ {
+ m_Representation = new VariableANSB( 9999 );
+ }
+
+ /** Constructor of ReservedForPrivateUse115.
+ *
+ * @param logger supplied <code>Logger</code> instance.
+ * @param params supplied configuration <code>Parameters</code>
+ */
+ public ReservedForPrivateUse115( Logger logger, Parameters params )
+ {
+ super( logger );
+ String value = params.getParameter( "value", null );
+ if( value != null )
+ set( value );
+ }
+
+ public Representation getRepresentation()
+ {
+ return m_Representation;
+ }
+
+ public int getIsoBitNumber()
+ {
+ return ISO8583_BIT_NUMBER;
+ }
+}
Modified:
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/TransactionSpecificData.java
==============================================================================
---
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/TransactionSpecificData.java
(original)
+++
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/elements/TransactionSpecificData.java
Fri Apr 15 21:37:00 2005
@@ -20,6 +20,7 @@
import net.dpml.iso8583.data.Representation;
import net.dpml.iso8583.data.representation.VariableANS;
+import net.dpml.iso8583.data.representation.VariableANSB;
import net.dpml.logging.Logger;
import net.dpml.parameters.Parameters;
@@ -45,7 +46,7 @@
/** Sets up the element type in a generic fashion. */
static
{
- m_Representation = new VariableANS( 999 );
+ m_Representation = new VariableANSB( 9999 );
}
/** Constructor of TransactionSpecificData.
Modified:
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/A.java
==============================================================================
---
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/A.java
(original)
+++
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/A.java
Fri Apr 15 21:37:00 2005
@@ -80,4 +80,9 @@
{
return m_length;
}
+
+ public String toString()
+ {
+ return "A" + m_length;
+ }
}
Modified:
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/AN.java
==============================================================================
---
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/AN.java
(original)
+++
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/AN.java
Fri Apr 15 21:37:00 2005
@@ -75,4 +75,9 @@
{
return m_length;
}
+
+ public String toString()
+ {
+ return "AN" + m_length;
+ }
}
Modified:
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/ANB.java
==============================================================================
---
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/ANB.java
(original)
+++
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/ANB.java
Fri Apr 15 21:37:00 2005
@@ -72,4 +72,9 @@
{
return m_length;
}
+
+ public String toString()
+ {
+ return "ANB" + m_length;
+ }
}
Modified:
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/ANP.java
==============================================================================
---
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/ANP.java
(original)
+++
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/ANP.java
Fri Apr 15 21:37:00 2005
@@ -76,4 +76,9 @@
{
return m_length;
}
+
+ public String toString()
+ {
+ return "ANP" + m_length;
+ }
}
Modified:
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/ANS.java
==============================================================================
---
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/ANS.java
(original)
+++
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/ANS.java
Fri Apr 15 21:37:00 2005
@@ -72,4 +72,9 @@
{
return m_length;
}
+
+ public String toString()
+ {
+ return "ANS" + m_length;
+ }
}
Modified:
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/ANSB.java
==============================================================================
---
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/ANSB.java
(original)
+++
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/ANSB.java
Fri Apr 15 21:37:00 2005
@@ -72,4 +72,9 @@
{
return m_length;
}
+
+ public String toString()
+ {
+ return "ANSB" + m_length;
+ }
}
Modified:
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/AS.java
==============================================================================
---
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/AS.java
(original)
+++
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/AS.java
Fri Apr 15 21:37:00 2005
@@ -72,4 +72,9 @@
{
return m_length;
}
+
+ public String toString()
+ {
+ return "AS" + m_length;
+ }
}
Modified:
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/B.java
==============================================================================
---
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/B.java
(original)
+++
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/B.java
Fri Apr 15 21:37:00 2005
@@ -76,4 +76,9 @@
{
return m_length;
}
+
+ public String toString()
+ {
+ return "B" + m_length;
+ }
}
Modified:
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/N.java
==============================================================================
---
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/N.java
(original)
+++
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/N.java
Fri Apr 15 21:37:00 2005
@@ -76,4 +76,9 @@
{
return m_length;
}
+
+ public String toString()
+ {
+ return "N" + m_length;
+ }
}
Modified:
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/VariableAN.java
==============================================================================
---
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/VariableAN.java
(original)
+++
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/VariableAN.java
Fri Apr 15 21:37:00 2005
@@ -76,4 +76,9 @@
{
return m_length;
}
+
+ public String toString()
+ {
+ return "AN.." + m_length;
+ }
}
Modified:
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/VariableANS.java
==============================================================================
---
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/VariableANS.java
(original)
+++
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/VariableANS.java
Fri Apr 15 21:37:00 2005
@@ -70,4 +70,9 @@
{
return m_length;
}
+
+ public String toString()
+ {
+ return "ANS.." + m_length;
+ }
}
Modified:
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/VariableANSB.java
==============================================================================
---
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/VariableANSB.java
(original)
+++
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/VariableANSB.java
Fri Apr 15 21:37:00 2005
@@ -70,4 +70,9 @@
{
return m_length;
}
+
+ public String toString()
+ {
+ return "ANSB.." + m_length;
+ }
}
Modified:
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/VariableB.java
==============================================================================
---
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/VariableB.java
(original)
+++
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/VariableB.java
Fri Apr 15 21:37:00 2005
@@ -78,4 +78,9 @@
{
return m_length;
}
+
+ public String toString()
+ {
+ return "B.." + m_length;
+ }
}
Modified:
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/VariableN.java
==============================================================================
---
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/VariableN.java
(original)
+++
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/VariableN.java
Fri Apr 15 21:37:00 2005
@@ -76,4 +76,9 @@
{
return m_length;
}
+
+ public String toString()
+ {
+ return "N.." + m_length;
+ }
}
Modified:
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/VariableZ.java
==============================================================================
---
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/VariableZ.java
(original)
+++
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/VariableZ.java
Fri Apr 15 21:37:00 2005
@@ -69,4 +69,9 @@
{
return m_length;
}
+
+ public String toString()
+ {
+ return "Z.." + m_length;
+ }
}
Modified:
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/XN.java
==============================================================================
---
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/XN.java
(original)
+++
development/planet/users/niclas/iso8583/elements/src/main/net/dpml/iso8583/data/representation/XN.java
Fri Apr 15 21:37:00 2005
@@ -84,4 +84,9 @@
{
return m_length;
}
+
+ public String toString()
+ {
+ return "XN" + m_length;
+ }
}
Modified:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AbstractDataElementTestCase.java
==============================================================================
---
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AbstractDataElementTestCase.java
(original)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AbstractDataElementTestCase.java
Fri Apr 15 21:37:00 2005
@@ -7,8 +7,8 @@
import net.dpml.iso8583.data.representation.N;
import net.dpml.logging.Logger;
import net.dpml.metro.unit.TestLogger;
-import org.jpos.iso.ISOMsg;
import org.jpos.iso.ISOException;
+import org.jpos.iso.ISOMsg;
public class AbstractDataElementTestCase
extends TestCase
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AccountIdentification1TestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AccountIdentification1TestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.AccountIdentification1;
+import net.dpml.iso8583.data.representation.VariableANS;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class AccountIdentification1TestCase
+ extends TestCase
+{
+ private AccountIdentification1 m_element1;
+ private AccountIdentification1 m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new AccountIdentification1( logger, params );
+ map.put( "value", "12345678" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new AccountIdentification1( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableANS( 28 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 102, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AccountIdentification2TestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AccountIdentification2TestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.AccountIdentification2;
+import net.dpml.iso8583.data.representation.VariableANS;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class AccountIdentification2TestCase
+ extends TestCase
+{
+ private AccountIdentification2 m_element1;
+ private AccountIdentification2 m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new AccountIdentification2( logger, params );
+ map.put( "value", "81642348" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new AccountIdentification2( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableANS( 28 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 103, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AcquirerReferenceNumberTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AcquirerReferenceNumberTestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.AcquirerReferenceNumber;
+import net.dpml.iso8583.data.representation.N;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class AcquirerReferenceNumberTestCase
+ extends TestCase
+{
+ private AcquirerReferenceNumber m_element1;
+ private AcquirerReferenceNumber m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new AcquirerReferenceNumber( logger, params );
+ map.put( "value", "01234567890123456789123" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new AcquirerReferenceNumber( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new N( 23 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 31, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AcquiringInstitutionIdentificationCodeTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AcquiringInstitutionIdentificationCodeTestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.AcquiringInstitutionIdentificationCode;
+import net.dpml.iso8583.data.representation.VariableN;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class AcquiringInstitutionIdentificationCodeTestCase
+ extends TestCase
+{
+ private AcquiringInstitutionIdentificationCode m_element1;
+ private AcquiringInstitutionIdentificationCode m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new AcquiringInstitutionIdentificationCode( logger,
params );
+ map.put( "value", "01234567891" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new AcquiringInstitutionIdentificationCode( logger,
params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableN( 11 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 32, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ActionCodeTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ActionCodeTestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.ActionCode;
+import net.dpml.iso8583.data.representation.N;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class ActionCodeTestCase
+ extends TestCase
+{
+ private ActionCode m_element1;
+ private ActionCode m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new ActionCode( logger, params );
+ map.put( "value", "0000" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new ActionCode( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new N( 4 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 39, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AdditionalDataNationalTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AdditionalDataNationalTestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.AdditionalDataNational;
+import net.dpml.iso8583.data.representation.VariableANS;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class AdditionalDataNationalTestCase
+ extends TestCase
+{
+ private AdditionalDataNational m_element1;
+ private AdditionalDataNational m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new AdditionalDataNational( logger, params );
+ map.put( "value",
"0000111100001111000011110000111100001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new AdditionalDataNational( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableANS( 999 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 47, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AdditionalDataPrivateTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AdditionalDataPrivateTestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.AdditionalDataPrivate;
+import net.dpml.iso8583.data.representation.VariableANS;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class AdditionalDataPrivateTestCase
+ extends TestCase
+{
+ private AdditionalDataPrivate m_element1;
+ private AdditionalDataPrivate m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new AdditionalDataPrivate( logger, params );
+ map.put( "value",
"0000111100001111000011110000111100001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new AdditionalDataPrivate( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableANS( 999 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 48, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AdditionalResponseDataTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AdditionalResponseDataTestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.AdditionalResponseData;
+import net.dpml.iso8583.data.representation.VariableANSB;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class AdditionalResponseDataTestCase
+ extends TestCase
+{
+ private AdditionalResponseData m_element1;
+ private AdditionalResponseData m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new AdditionalResponseData( logger, params );
+ map.put( "value",
"0000111100001111000011110000111100001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new AdditionalResponseData( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableANSB( 9999 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 44, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AmountNetReconciliationTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AmountNetReconciliationTestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.AmountNetReconciliation;
+import net.dpml.iso8583.data.representation.XN;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class AmountNetReconciliationTestCase
+ extends TestCase
+{
+ private AmountNetReconciliation m_element1;
+ private AmountNetReconciliation m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new AmountNetReconciliation( logger, params );
+ map.put( "value", "d23456789012345678901" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new AmountNetReconciliation( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new XN( 21 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 97, n );
+ }
+}
Modified:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AmountTransactionTestCase.java
==============================================================================
---
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AmountTransactionTestCase.java
(original)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AmountTransactionTestCase.java
Fri Apr 15 21:37:00 2005
@@ -1,8 +1,8 @@
package net.dpml.iso8583.test.data.elements;
import junit.framework.TestCase;
-import net.dpml.iso8583.data.Representation;
import net.dpml.iso8583.data.DataElement;
+import net.dpml.iso8583.data.Representation;
import net.dpml.iso8583.data.elements.AmountTransaction;
import net.dpml.iso8583.data.representation.N;
import net.dpml.logging.Logger;
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AmountsAdditionalTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AmountsAdditionalTestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.AmountsAdditional;
+import net.dpml.iso8583.data.representation.VariableANS;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class AmountsAdditionalTestCase
+ extends TestCase
+{
+ private AmountsAdditional m_element1;
+ private AmountsAdditional m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new AmountsAdditional( logger, params );
+ map.put( "value",
"0000111100001111000011110000111100001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new AmountsAdditional( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableANS( 126 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 54, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AmountsFeesTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AmountsFeesTestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.AmountsFees;
+import net.dpml.iso8583.data.representation.VariableANS;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class AmountsFeesTestCase
+ extends TestCase
+{
+ private AmountsFees m_element1;
+ private AmountsFees m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new AmountsFees( logger, params );
+ map.put( "value", "abcde01293" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new AmountsFees( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableANS( 216 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 46, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AmountsOriginalFeesTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AmountsOriginalFeesTestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.AmountsOriginalFees;
+import net.dpml.iso8583.data.representation.VariableANS;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class AmountsOriginalFeesTestCase
+ extends TestCase
+{
+ private AmountsOriginalFees m_element1;
+ private AmountsOriginalFees m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new AmountsOriginalFees( logger, params );
+ map.put( "value",
"0000111100001111000011110000111100001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new AmountsOriginalFees( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableANS( 216 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 66, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ApprovalCodeTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ApprovalCodeTestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.ApprovalCode;
+import net.dpml.iso8583.data.representation.ANP;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class ApprovalCodeTestCase
+ extends TestCase
+{
+ private ApprovalCode m_element1;
+ private ApprovalCode m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new ApprovalCode( logger, params );
+ map.put( "value", "abcde2" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new ApprovalCode( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new ANP( 6 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 38, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AuthorizationLifeCycleCodeTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AuthorizationLifeCycleCodeTestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.AuthorizationLifeCycleCode;
+import net.dpml.iso8583.data.representation.N;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class AuthorizationLifeCycleCodeTestCase
+ extends TestCase
+{
+ private AuthorizationLifeCycleCode m_element1;
+ private AuthorizationLifeCycleCode m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new AuthorizationLifeCycleCode( logger, params );
+ map.put( "value", "000" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new AuthorizationLifeCycleCode( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new N( 3 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 57, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AuthorizingAgentInstitutionIdentificationCodeTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/AuthorizingAgentInstitutionIdentificationCodeTestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import
net.dpml.iso8583.data.elements.AuthorizingAgentInstitutionIdentificationCode;
+import net.dpml.iso8583.data.representation.VariableN;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class AuthorizingAgentInstitutionIdentificationCodeTestCase
+ extends TestCase
+{
+ private AuthorizingAgentInstitutionIdentificationCode m_element1;
+ private AuthorizingAgentInstitutionIdentificationCode m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new AuthorizingAgentInstitutionIdentificationCode(
logger, params );
+ map.put( "value", "01100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new AuthorizingAgentInstitutionIdentificationCode(
logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableN( 11 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 58, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/BatchFileTransferControlDataTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/BatchFileTransferControlDataTestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.BatchFileTransferControlData;
+import net.dpml.iso8583.data.representation.ANS;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class BatchFileTransferControlDataTestCase
+ extends TestCase
+{
+ private BatchFileTransferControlData m_element1;
+ private BatchFileTransferControlData m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new BatchFileTransferControlData( logger, params );
+ map.put( "value", "0123456789012345678901234567890123456789" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new BatchFileTransferControlData( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new ANS( 40 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 69, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/BatchFileTransferMessageControlTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/BatchFileTransferMessageControlTestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.BatchFileTransferMessageControl;
+import net.dpml.iso8583.data.representation.AN;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class BatchFileTransferMessageControlTestCase
+ extends TestCase
+{
+ private BatchFileTransferMessageControl m_element1;
+ private BatchFileTransferMessageControl m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new BatchFileTransferMessageControl( logger, params );
+ map.put( "value", "123456789" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new BatchFileTransferMessageControl( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new AN( 9 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 68, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/CardAcceptorIdentificationCodeTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/CardAcceptorIdentificationCodeTestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.CardAcceptorIdentificationCode;
+import net.dpml.iso8583.data.representation.VariableANS;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class CardAcceptorIdentificationCodeTestCase
+ extends TestCase
+{
+ private CardAcceptorIdentificationCode m_element1;
+ private CardAcceptorIdentificationCode m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new CardAcceptorIdentificationCode( logger, params );
+ map.put( "value", "0111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new CardAcceptorIdentificationCode( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableANS( 35 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 42, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/CardAcceptorNameLocationTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/CardAcceptorNameLocationTestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.CardAcceptorNameLocation;
+import net.dpml.iso8583.data.representation.VariableANSB;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class CardAcceptorNameLocationTestCase
+ extends TestCase
+{
+ private CardAcceptorNameLocation m_element1;
+ private CardAcceptorNameLocation m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new CardAcceptorNameLocation( logger, params );
+ map.put( "value",
"0000111100001111000011110000111100001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new CardAcceptorNameLocation( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableANSB( 9999 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 43, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/CardAcceptorTerminalIdentificationTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/CardAcceptorTerminalIdentificationTestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.CardAcceptorTerminalIdentification;
+import net.dpml.iso8583.data.representation.ANS;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class CardAcceptorTerminalIdentificationTestCase
+ extends TestCase
+{
+ private CardAcceptorTerminalIdentification m_element1;
+ private CardAcceptorTerminalIdentification m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new CardAcceptorTerminalIdentification( logger, params
);
+ map.put( "value", "12345abcde123456" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new CardAcceptorTerminalIdentification( logger, params
);
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new ANS( 16 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 41, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/CardIssuerReferenceDataTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/CardIssuerReferenceDataTestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.CardIssuerReferenceData;
+import net.dpml.iso8583.data.representation.VariableANS;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class CardIssuerReferenceDataTestCase
+ extends TestCase
+{
+ private CardIssuerReferenceData m_element1;
+ private CardIssuerReferenceData m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new CardIssuerReferenceData( logger, params );
+ map.put( "value",
"0000111100001111000011110000111100001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new CardIssuerReferenceData( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableANS( 99 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 95, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/DataRecordTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/DataRecordTestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.DataRecord;
+import net.dpml.iso8583.data.representation.VariableANSB;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class DataRecordTestCase
+ extends TestCase
+{
+ private DataRecord m_element1;
+ private DataRecord m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new DataRecord( logger, params );
+ map.put( "value",
"0000111100001111000011110000111100001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new DataRecord( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableANSB( 9999 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 72, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/DateActionTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/DateActionTestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.DateAction;
+import net.dpml.iso8583.data.representation.N;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class DateActionTestCase
+ extends TestCase
+{
+ private DateAction m_element1;
+ private DateAction m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new DateAction( logger, params );
+ map.put( "value", "12345678" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new DateAction( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new N( 8 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 73, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ElectronicCommerceDataTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ElectronicCommerceDataTestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.ElectronicCommerceData;
+import net.dpml.iso8583.data.representation.VariableB;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class ElectronicCommerceDataTestCase
+ extends TestCase
+{
+ private ElectronicCommerceData m_element1;
+ private ElectronicCommerceData m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new ElectronicCommerceData( logger, params );
+ map.put( "value",
"0000111100001111000011110000111100001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new ElectronicCommerceData( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableB( 9999 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 34, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ExtendedPaymentDataTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ExtendedPaymentDataTestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.ExtendedPaymentData;
+import net.dpml.iso8583.data.representation.N;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class ExtendedPaymentDataTestCase
+ extends TestCase
+{
+ private ExtendedPaymentData m_element1;
+ private ExtendedPaymentData m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new ExtendedPaymentData( logger, params );
+ map.put( "value", "00" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new ExtendedPaymentData( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new N( 2 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 67, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/FileNameTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/FileNameTestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.FileName;
+import net.dpml.iso8583.data.representation.VariableANS;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class FileNameTestCase
+ extends TestCase
+{
+ private FileName m_element1;
+ private FileName m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new FileName( logger, params );
+ map.put( "value",
"0000111100001111000011110000111100001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new FileName( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableANS( 99 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 101, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/FileTransferDescriptionDataTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/FileTransferDescriptionDataTestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.FileTransferDescriptionData;
+import net.dpml.iso8583.data.representation.N;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class FileTransferDescriptionDataTestCase
+ extends TestCase
+{
+ private FileTransferDescriptionData m_element1;
+ private FileTransferDescriptionData m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new FileTransferDescriptionData( logger, params );
+ map.put( "value", "012345678901234567" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new FileTransferDescriptionData( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new N( 18 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 70, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ForwardingInstitutionIdentificationCodeTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ForwardingInstitutionIdentificationCodeTestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import
net.dpml.iso8583.data.elements.ForwardingInstitutionIdentificationCode;
+import net.dpml.iso8583.data.representation.VariableN;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class ForwardingInstitutionIdentificationCodeTestCase
+ extends TestCase
+{
+ private ForwardingInstitutionIdentificationCode m_element1;
+ private ForwardingInstitutionIdentificationCode m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new ForwardingInstitutionIdentificationCode( logger,
params );
+ map.put( "value", "01111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new ForwardingInstitutionIdentificationCode( logger,
params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableN( 11 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 33, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/IccSystemRelatedDataTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/IccSystemRelatedDataTestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.IccSystemRelatedData;
+import net.dpml.iso8583.data.representation.VariableB;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class IccSystemRelatedDataTestCase
+ extends TestCase
+{
+ private IccSystemRelatedData m_element1;
+ private IccSystemRelatedData m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new IccSystemRelatedData( logger, params );
+ map.put( "value",
"0000111100001111000011110000111100001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new IccSystemRelatedData( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableB( 9999 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 55, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/KeyManagementDataTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/KeyManagementDataTestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.KeyManagementData;
+import net.dpml.iso8583.data.representation.VariableB;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class KeyManagementDataTestCase
+ extends TestCase
+{
+ private KeyManagementData m_element1;
+ private KeyManagementData m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new KeyManagementData( logger, params );
+ map.put( "value",
"0000111100001111000011110000111100001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new KeyManagementData( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableB( 999 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 96, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/MacField128TestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/MacField128TestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.MacField128;
+import net.dpml.iso8583.data.representation.B;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class MacField128TestCase
+ extends TestCase
+{
+ private MacField128 m_element1;
+ private MacField128 m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new MacField128( logger, params );
+ map.put( "value", "00001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new MacField128( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new B( 4 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 128, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/MacField64TestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/MacField64TestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.MacField64;
+import net.dpml.iso8583.data.representation.B;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class MacField64TestCase
+ extends TestCase
+{
+ private MacField64 m_element1;
+ private MacField64 m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new MacField64( logger, params );
+ map.put( "value", "00001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new MacField64( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new B( 4 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 64, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/OriginalDataElementsTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/OriginalDataElementsTestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.OriginalDataElements;
+import net.dpml.iso8583.data.representation.VariableN;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class OriginalDataElementsTestCase
+ extends TestCase
+{
+ private OriginalDataElements m_element1;
+ private OriginalDataElements m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new OriginalDataElements( logger, params );
+ map.put( "value", "000011110000111100001111011" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new OriginalDataElements( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableN( 41 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 56, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/PayeeTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/PayeeTestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.Payee;
+import net.dpml.iso8583.data.representation.ANS;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class PayeeTestCase
+ extends TestCase
+{
+ private Payee m_element1;
+ private Payee m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new Payee( logger, params );
+ map.put( "value", "0123456789012345678912345" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new Payee( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new ANS( 25 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 98, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/PinDataTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/PinDataTestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.PinData;
+import net.dpml.iso8583.data.representation.B;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class PinDataTestCase
+ extends TestCase
+{
+ private PinData m_element1;
+ private PinData m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new PinData( logger, params );
+ map.put( "value",
"0000111100001111000011110000111100001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new PinData( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new B( 8 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 52, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReceivingInstitutionIdentificationCodeTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReceivingInstitutionIdentificationCodeTestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.ReceivingInstitutionIdentificationCode;
+import net.dpml.iso8583.data.representation.VariableN;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class ReceivingInstitutionIdentificationCodeTestCase
+ extends TestCase
+{
+ private ReceivingInstitutionIdentificationCode m_element1;
+ private ReceivingInstitutionIdentificationCode m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new ReceivingInstitutionIdentificationCode( logger,
params );
+ map.put( "value", "0123456789" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new ReceivingInstitutionIdentificationCode( logger,
params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableN( 11 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 100, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReconciliationDataPrimaryTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReconciliationDataPrimaryTestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.ReconciliationDataPrimary;
+import net.dpml.iso8583.data.representation.N;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class ReconciliationDataPrimaryTestCase
+ extends TestCase
+{
+ private ReconciliationDataPrimary m_element1;
+ private ReconciliationDataPrimary m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new ReconciliationDataPrimary( logger, params );
+ map.put( "value",
"012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789123456"
);
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new ReconciliationDataPrimary( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new N( 156 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 74, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReconciliationDataSecondaryTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReconciliationDataSecondaryTestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.ReconciliationDataSecondary;
+import net.dpml.iso8583.data.representation.N;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class ReconciliationDataSecondaryTestCase
+ extends TestCase
+{
+ private ReconciliationDataSecondary m_element1;
+ private ReconciliationDataSecondary m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new ReconciliationDataSecondary( logger, params );
+ map.put( "value",
"012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789"
);
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new ReconciliationDataSecondary( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new N( 90 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 75, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReconciliationFeeAmountsCreditTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReconciliationFeeAmountsCreditTestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.ReconciliationFeeAmountsCredit;
+import net.dpml.iso8583.data.representation.VariableANS;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class ReconciliationFeeAmountsCreditTestCase
+ extends TestCase
+{
+ private ReconciliationFeeAmountsCredit m_element1;
+ private ReconciliationFeeAmountsCredit m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new ReconciliationFeeAmountsCredit( logger, params );
+ map.put( "value",
"0000111100001111000011110000111100001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new ReconciliationFeeAmountsCredit( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableANS( 144 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 109, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReconciliationFeeAmountsDebitTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReconciliationFeeAmountsDebitTestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.ReconciliationFeeAmountsDebit;
+import net.dpml.iso8583.data.representation.VariableANS;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class ReconciliationFeeAmountsDebitTestCase
+ extends TestCase
+{
+ private ReconciliationFeeAmountsDebit m_element1;
+ private ReconciliationFeeAmountsDebit m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new ReconciliationFeeAmountsDebit( logger, params );
+ map.put( "value",
"0000111100001111000011110000111100001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new ReconciliationFeeAmountsDebit( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableANS( 144 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 110, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForIso50TestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForIso50TestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.ReservedForIso50;
+import net.dpml.iso8583.data.representation.VariableANSB;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class ReservedForIso50TestCase
+ extends TestCase
+{
+ private ReservedForIso50 m_element1;
+ private ReservedForIso50 m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new ReservedForIso50( logger, params );
+ map.put( "value",
"0000111100001111000011110000111100001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new ReservedForIso50( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableANSB( 9999 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 50, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForIso51TestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForIso51TestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.ReservedForIso51;
+import net.dpml.iso8583.data.representation.VariableANSB;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class ReservedForIso51TestCase
+ extends TestCase
+{
+ private ReservedForIso51 m_element1;
+ private ReservedForIso51 m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new ReservedForIso51( logger, params );
+ map.put( "value",
"0000111100001111000011110000111100001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new ReservedForIso51( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableANSB( 9999 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 51, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForIso76TestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForIso76TestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.ReservedForIso76;
+import net.dpml.iso8583.data.representation.VariableANSB;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class ReservedForIso76TestCase
+ extends TestCase
+{
+ private ReservedForIso76 m_element1;
+ private ReservedForIso76 m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new ReservedForIso76( logger, params );
+ map.put( "value",
"0000111100001111000011110000111100001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new ReservedForIso76( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableANSB( 9999 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 76, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForIso77TestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForIso77TestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.ReservedForIso77;
+import net.dpml.iso8583.data.representation.VariableANSB;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class ReservedForIso77TestCase
+ extends TestCase
+{
+ private ReservedForIso77 m_element1;
+ private ReservedForIso77 m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new ReservedForIso77( logger, params );
+ map.put( "value",
"0000111100001111000011110000111100001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new ReservedForIso77( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableANSB( 9999 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 77, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForIso78TestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForIso78TestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.ReservedForIso78;
+import net.dpml.iso8583.data.representation.VariableANSB;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class ReservedForIso78TestCase
+ extends TestCase
+{
+ private ReservedForIso78 m_element1;
+ private ReservedForIso78 m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new ReservedForIso78( logger, params );
+ map.put( "value",
"0000111100001111000011110000111100001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new ReservedForIso78( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableANSB( 9999 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 78, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForIso79TestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForIso79TestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.ReservedForIso79;
+import net.dpml.iso8583.data.representation.VariableANSB;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class ReservedForIso79TestCase
+ extends TestCase
+{
+ private ReservedForIso79 m_element1;
+ private ReservedForIso79 m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new ReservedForIso79( logger, params );
+ map.put( "value",
"0000111100001111000011110000111100001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new ReservedForIso79( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableANSB( 9999 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 79, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForIso80TestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForIso80TestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.ReservedForIso80;
+import net.dpml.iso8583.data.representation.VariableANSB;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class ReservedForIso80TestCase
+ extends TestCase
+{
+ private ReservedForIso80 m_element1;
+ private ReservedForIso80 m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new ReservedForIso80( logger, params );
+ map.put( "value",
"0000111100001111000011110000111100001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new ReservedForIso80( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableANSB( 9999 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 80, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForIso81TestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForIso81TestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.ReservedForIso81;
+import net.dpml.iso8583.data.representation.VariableANSB;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class ReservedForIso81TestCase
+ extends TestCase
+{
+ private ReservedForIso81 m_element1;
+ private ReservedForIso81 m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new ReservedForIso81( logger, params );
+ map.put( "value",
"0000111100001111000011110000111100001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new ReservedForIso81( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableANSB( 9999 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 81, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForIso82TestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForIso82TestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.ReservedForIso82;
+import net.dpml.iso8583.data.representation.VariableANSB;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class ReservedForIso82TestCase
+ extends TestCase
+{
+ private ReservedForIso82 m_element1;
+ private ReservedForIso82 m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new ReservedForIso82( logger, params );
+ map.put( "value",
"0000111100001111000011110000111100001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new ReservedForIso82( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableANSB( 9999 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 82, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForIso83TestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForIso83TestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.ReservedForIso83;
+import net.dpml.iso8583.data.representation.VariableANSB;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class ReservedForIso83TestCase
+ extends TestCase
+{
+ private ReservedForIso83 m_element1;
+ private ReservedForIso83 m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new ReservedForIso83( logger, params );
+ map.put( "value",
"0000111100001111000011110000111100001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new ReservedForIso83( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableANSB( 9999 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 83, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForIso84TestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForIso84TestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.ReservedForIso84;
+import net.dpml.iso8583.data.representation.VariableANSB;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class ReservedForIso84TestCase
+ extends TestCase
+{
+ private ReservedForIso84 m_element1;
+ private ReservedForIso84 m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new ReservedForIso84( logger, params );
+ map.put( "value",
"0000111100001111000011110000111100001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new ReservedForIso84( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableANSB( 9999 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 84, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForIso85TestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForIso85TestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.ReservedForIso85;
+import net.dpml.iso8583.data.representation.VariableANSB;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class ReservedForIso85TestCase
+ extends TestCase
+{
+ private ReservedForIso85 m_element1;
+ private ReservedForIso85 m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new ReservedForIso85( logger, params );
+ map.put( "value",
"0000111100001111000011110000111100001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new ReservedForIso85( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableANSB( 9999 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 85, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForIso86TestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForIso86TestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.ReservedForIso86;
+import net.dpml.iso8583.data.representation.VariableANSB;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class ReservedForIso86TestCase
+ extends TestCase
+{
+ private ReservedForIso86 m_element1;
+ private ReservedForIso86 m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new ReservedForIso86( logger, params );
+ map.put( "value",
"0000111100001111000011110000111100001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new ReservedForIso86( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableANSB( 9999 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 86, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForIso87TestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForIso87TestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.ReservedForIso87;
+import net.dpml.iso8583.data.representation.VariableANSB;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class ReservedForIso87TestCase
+ extends TestCase
+{
+ private ReservedForIso87 m_element1;
+ private ReservedForIso87 m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new ReservedForIso87( logger, params );
+ map.put( "value",
"0000111100001111000011110000111100001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new ReservedForIso87( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableANSB( 9999 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 87, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForIso88TestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForIso88TestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.ReservedForIso88;
+import net.dpml.iso8583.data.representation.VariableANSB;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class ReservedForIso88TestCase
+ extends TestCase
+{
+ private ReservedForIso88 m_element1;
+ private ReservedForIso88 m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new ReservedForIso88( logger, params );
+ map.put( "value",
"0000111100001111000011110000111100001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new ReservedForIso88( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableANSB( 9999 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 88, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForIso89TestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForIso89TestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.ReservedForIso89;
+import net.dpml.iso8583.data.representation.VariableANSB;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class ReservedForIso89TestCase
+ extends TestCase
+{
+ private ReservedForIso89 m_element1;
+ private ReservedForIso89 m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new ReservedForIso89( logger, params );
+ map.put( "value",
"0000111100001111000011110000111100001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new ReservedForIso89( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableANSB( 9999 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 89, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForIso90TestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForIso90TestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.ReservedForIso90;
+import net.dpml.iso8583.data.representation.VariableANSB;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class ReservedForIso90TestCase
+ extends TestCase
+{
+ private ReservedForIso90 m_element1;
+ private ReservedForIso90 m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new ReservedForIso90( logger, params );
+ map.put( "value",
"0000111100001111000011110000111100001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new ReservedForIso90( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableANSB( 9999 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 90, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForIso91TestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForIso91TestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.ReservedForIso91;
+import net.dpml.iso8583.data.representation.VariableANSB;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class ReservedForIso91TestCase
+ extends TestCase
+{
+ private ReservedForIso91 m_element1;
+ private ReservedForIso91 m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new ReservedForIso91( logger, params );
+ map.put( "value",
"0000111100001111000011110000111100001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new ReservedForIso91( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableANSB( 9999 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 91, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForIso92TestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForIso92TestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.ReservedForIso92;
+import net.dpml.iso8583.data.representation.VariableANSB;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class ReservedForIso92TestCase
+ extends TestCase
+{
+ private ReservedForIso92 m_element1;
+ private ReservedForIso92 m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new ReservedForIso92( logger, params );
+ map.put( "value",
"0000111100001111000011110000111100001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new ReservedForIso92( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableANSB( 9999 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 92, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForNationalUse116TestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForNationalUse116TestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.ReservedForNationalUse116;
+import net.dpml.iso8583.data.representation.VariableANSB;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class ReservedForNationalUse116TestCase
+ extends TestCase
+{
+ private ReservedForNationalUse116 m_element1;
+ private ReservedForNationalUse116 m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new ReservedForNationalUse116( logger, params );
+ map.put( "value",
"0000111100001111000011110000111100001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new ReservedForNationalUse116( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableANSB( 9999 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 116, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForNationalUse117TestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForNationalUse117TestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.ReservedForNationalUse117;
+import net.dpml.iso8583.data.representation.VariableANSB;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class ReservedForNationalUse117TestCase
+ extends TestCase
+{
+ private ReservedForNationalUse117 m_element1;
+ private ReservedForNationalUse117 m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new ReservedForNationalUse117( logger, params );
+ map.put( "value",
"0000111100001111000011110000111100001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new ReservedForNationalUse117( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableANSB( 9999 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 117, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForNationalUse118TestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForNationalUse118TestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.ReservedForNationalUse118;
+import net.dpml.iso8583.data.representation.VariableANSB;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class ReservedForNationalUse118TestCase
+ extends TestCase
+{
+ private ReservedForNationalUse118 m_element1;
+ private ReservedForNationalUse118 m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new ReservedForNationalUse118( logger, params );
+ map.put( "value",
"0000111100001111000011110000111100001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new ReservedForNationalUse118( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableANSB( 9999 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 118, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForNationalUse119TestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForNationalUse119TestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.ReservedForNationalUse119;
+import net.dpml.iso8583.data.representation.VariableANSB;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class ReservedForNationalUse119TestCase
+ extends TestCase
+{
+ private ReservedForNationalUse119 m_element1;
+ private ReservedForNationalUse119 m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new ReservedForNationalUse119( logger, params );
+ map.put( "value",
"0000111100001111000011110000111100001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new ReservedForNationalUse119( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableANSB( 9999 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 119, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForNationalUse120TestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForNationalUse120TestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.ReservedForNationalUse120;
+import net.dpml.iso8583.data.representation.VariableANSB;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class ReservedForNationalUse120TestCase
+ extends TestCase
+{
+ private ReservedForNationalUse120 m_element1;
+ private ReservedForNationalUse120 m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new ReservedForNationalUse120( logger, params );
+ map.put( "value",
"0000111100001111000011110000111100001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new ReservedForNationalUse120( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableANSB( 9999 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 120, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForNationalUse121TestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForNationalUse121TestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.ReservedForNationalUse121;
+import net.dpml.iso8583.data.representation.VariableANSB;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class ReservedForNationalUse121TestCase
+ extends TestCase
+{
+ private ReservedForNationalUse121 m_element1;
+ private ReservedForNationalUse121 m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new ReservedForNationalUse121( logger, params );
+ map.put( "value",
"0000111100001111000011110000111100001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new ReservedForNationalUse121( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableANSB( 9999 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 121, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForNationalUse122TestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForNationalUse122TestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.ReservedForNationalUse122;
+import net.dpml.iso8583.data.representation.VariableANSB;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class ReservedForNationalUse122TestCase
+ extends TestCase
+{
+ private ReservedForNationalUse122 m_element1;
+ private ReservedForNationalUse122 m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new ReservedForNationalUse122( logger, params );
+ map.put( "value",
"0000111100001111000011110000111100001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new ReservedForNationalUse122( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableANSB( 9999 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 122, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForPrivateUse111TestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForPrivateUse111TestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.ReservedForPrivateUse111;
+import net.dpml.iso8583.data.representation.VariableANSB;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class ReservedForPrivateUse111TestCase
+ extends TestCase
+{
+ private ReservedForPrivateUse111 m_element1;
+ private ReservedForPrivateUse111 m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new ReservedForPrivateUse111( logger, params );
+ map.put( "value",
"0000111100001111000011110000111100001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new ReservedForPrivateUse111( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableANSB( 9999 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 111, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForPrivateUse112TestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForPrivateUse112TestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.ReservedForPrivateUse112;
+import net.dpml.iso8583.data.representation.VariableANSB;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class ReservedForPrivateUse112TestCase
+ extends TestCase
+{
+ private ReservedForPrivateUse112 m_element1;
+ private ReservedForPrivateUse112 m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new ReservedForPrivateUse112( logger, params );
+ map.put( "value",
"0000111100001111000011110000111100001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new ReservedForPrivateUse112( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableANSB( 9999 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 112, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForPrivateUse113TestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForPrivateUse113TestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.ReservedForPrivateUse113;
+import net.dpml.iso8583.data.representation.VariableANSB;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class ReservedForPrivateUse113TestCase
+ extends TestCase
+{
+ private ReservedForPrivateUse113 m_element1;
+ private ReservedForPrivateUse113 m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new ReservedForPrivateUse113( logger, params );
+ map.put( "value",
"0000111100001111000011110000111100001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new ReservedForPrivateUse113( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableANSB( 9999 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 113, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForPrivateUse114TestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForPrivateUse114TestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.ReservedForPrivateUse114;
+import net.dpml.iso8583.data.representation.VariableANSB;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class ReservedForPrivateUse114TestCase
+ extends TestCase
+{
+ private ReservedForPrivateUse114 m_element1;
+ private ReservedForPrivateUse114 m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new ReservedForPrivateUse114( logger, params );
+ map.put( "value",
"0000111100001111000011110000111100001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new ReservedForPrivateUse114( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableANSB( 9999 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 114, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForPrivateUse115TestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForPrivateUse115TestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.ReservedForPrivateUse115;
+import net.dpml.iso8583.data.representation.VariableANSB;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class ReservedForPrivateUse115TestCase
+ extends TestCase
+{
+ private ReservedForPrivateUse115 m_element1;
+ private ReservedForPrivateUse115 m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new ReservedForPrivateUse115( logger, params );
+ map.put( "value",
"0000111100001111000011110000111100001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new ReservedForPrivateUse115( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableANSB( 9999 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 115, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForPrivateUse123TestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForPrivateUse123TestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.ReservedForPrivateUse123;
+import net.dpml.iso8583.data.representation.VariableANSB;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class ReservedForPrivateUse123TestCase
+ extends TestCase
+{
+ private ReservedForPrivateUse123 m_element1;
+ private ReservedForPrivateUse123 m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new ReservedForPrivateUse123( logger, params );
+ map.put( "value",
"0000111100001111000011110000111100001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new ReservedForPrivateUse123( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableANSB( 9999 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 123, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForPrivateUse124TestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForPrivateUse124TestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.ReservedForPrivateUse124;
+import net.dpml.iso8583.data.representation.VariableANSB;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class ReservedForPrivateUse124TestCase
+ extends TestCase
+{
+ private ReservedForPrivateUse124 m_element1;
+ private ReservedForPrivateUse124 m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new ReservedForPrivateUse124( logger, params );
+ map.put( "value",
"0000111100001111000011110000111100001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new ReservedForPrivateUse124( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableANSB( 9999 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 124, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForPrivateUse125TestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForPrivateUse125TestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.ReservedForPrivateUse125;
+import net.dpml.iso8583.data.representation.VariableANSB;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class ReservedForPrivateUse125TestCase
+ extends TestCase
+{
+ private ReservedForPrivateUse125 m_element1;
+ private ReservedForPrivateUse125 m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new ReservedForPrivateUse125( logger, params );
+ map.put( "value",
"0000111100001111000011110000111100001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new ReservedForPrivateUse125( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableANSB( 9999 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 125, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForPrivateUse126TestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForPrivateUse126TestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.ReservedForPrivateUse126;
+import net.dpml.iso8583.data.representation.VariableANSB;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class ReservedForPrivateUse126TestCase
+ extends TestCase
+{
+ private ReservedForPrivateUse126 m_element1;
+ private ReservedForPrivateUse126 m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new ReservedForPrivateUse126( logger, params );
+ map.put( "value",
"0000111100001111000011110000111100001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new ReservedForPrivateUse126( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableANSB( 9999 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 126, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForPrivateUse127TestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ReservedForPrivateUse127TestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.ReservedForPrivateUse127;
+import net.dpml.iso8583.data.representation.VariableANSB;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class ReservedForPrivateUse127TestCase
+ extends TestCase
+{
+ private ReservedForPrivateUse127 m_element1;
+ private ReservedForPrivateUse127 m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new ReservedForPrivateUse127( logger, params );
+ map.put( "value",
"0000111100001111000011110000111100001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new ReservedForPrivateUse127( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableANSB( 9999 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 127, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/RetrievalReferenceNumberTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/RetrievalReferenceNumberTestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.RetrievalReferenceNumber;
+import net.dpml.iso8583.data.representation.ANP;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class RetrievalReferenceNumberTestCase
+ extends TestCase
+{
+ private RetrievalReferenceNumber m_element1;
+ private RetrievalReferenceNumber m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new RetrievalReferenceNumber( logger, params );
+ map.put( "value", "12345abcde01" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new RetrievalReferenceNumber( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new ANP( 12 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 37, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/SecurityRelatedControlInformationTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/SecurityRelatedControlInformationTestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.SecurityRelatedControlInformation;
+import net.dpml.iso8583.data.representation.VariableB;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class SecurityRelatedControlInformationTestCase
+ extends TestCase
+{
+ private SecurityRelatedControlInformation m_element1;
+ private SecurityRelatedControlInformation m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new SecurityRelatedControlInformation( logger, params );
+ map.put( "value",
"0000111100001111000011110000111100001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new SecurityRelatedControlInformation( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableB( 48 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 53, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ServiceCodeTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/ServiceCodeTestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.ServiceCode;
+import net.dpml.iso8583.data.representation.N;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class ServiceCodeTestCase
+ extends TestCase
+{
+ private ServiceCode m_element1;
+ private ServiceCode m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new ServiceCode( logger, params );
+ map.put( "value", "123" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new ServiceCode( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new N( 3 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 40, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/SettlementInstitutionIdentificationCodeTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/SettlementInstitutionIdentificationCodeTestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import
net.dpml.iso8583.data.elements.SettlementInstitutionIdentificationCode;
+import net.dpml.iso8583.data.representation.VariableAN;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class SettlementInstitutionIdentificationCodeTestCase
+ extends TestCase
+{
+ private SettlementInstitutionIdentificationCode m_element1;
+ private SettlementInstitutionIdentificationCode m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new SettlementInstitutionIdentificationCode( logger,
params );
+ map.put( "value", "12345" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new SettlementInstitutionIdentificationCode( logger,
params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableAN( 11 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 99, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/Track1DataTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/Track1DataTestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.Track1Data;
+import net.dpml.iso8583.data.representation.VariableANS;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class Track1DataTestCase
+ extends TestCase
+{
+ private Track1Data m_element1;
+ private Track1Data m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new Track1Data( logger, params );
+ map.put( "value",
"0000111100001111000011110000111100001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new Track1Data( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableANS( 76 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 45, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/Track2DataTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/Track2DataTestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.Track2Data;
+import net.dpml.iso8583.data.representation.VariableZ;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class Track2DataTestCase
+ extends TestCase
+{
+ private Track2Data m_element1;
+ private Track2Data m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new Track2Data( logger, params );
+ map.put( "value", "0123456789012345678901234567891234567" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new Track2Data( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableZ( 37 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 35, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/Track3DataTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/Track3DataTestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.Track3Data;
+import net.dpml.iso8583.data.representation.VariableZ;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class Track3DataTestCase
+ extends TestCase
+{
+ private Track3Data m_element1;
+ private Track3Data m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new Track3Data( logger, params );
+ map.put( "value",
"0000111100001111000011110000111100001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new Track3Data( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableZ( 104 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 36, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/TransactionDestinationInstitutionIdentificationCodeTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/TransactionDestinationInstitutionIdentificationCodeTestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import
net.dpml.iso8583.data.elements.TransactionDestinationInstitutionIdentificationCode;
+import net.dpml.iso8583.data.representation.VariableN;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class TransactionDestinationInstitutionIdentificationCodeTestCase
+ extends TestCase
+{
+ private TransactionDestinationInstitutionIdentificationCode m_element1;
+ private TransactionDestinationInstitutionIdentificationCode m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new
TransactionDestinationInstitutionIdentificationCode( logger, params );
+ map.put( "value", "01234567890" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new
TransactionDestinationInstitutionIdentificationCode( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableN( 11 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 93, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/TransactionOriginatorInstitutionIdentificationCodeTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/TransactionOriginatorInstitutionIdentificationCodeTestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import
net.dpml.iso8583.data.elements.TransactionOriginatorInstitutionIdentificationCode;
+import net.dpml.iso8583.data.representation.VariableN;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class TransactionOriginatorInstitutionIdentificationCodeTestCase
+ extends TestCase
+{
+ private TransactionOriginatorInstitutionIdentificationCode m_element1;
+ private TransactionOriginatorInstitutionIdentificationCode m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new TransactionOriginatorInstitutionIdentificationCode(
logger, params );
+ map.put( "value", "01234567890" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new TransactionOriginatorInstitutionIdentificationCode(
logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableN( 11 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 94, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/TransactionSpecificDataTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/TransactionSpecificDataTestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.TransactionSpecificData;
+import net.dpml.iso8583.data.representation.VariableANSB;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class TransactionSpecificDataTestCase
+ extends TestCase
+{
+ private TransactionSpecificData m_element1;
+ private TransactionSpecificData m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new TransactionSpecificData( logger, params );
+ map.put( "value",
"0000111100001111000011110000111100001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new TransactionSpecificData( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableANSB( 9999 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 104, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/TransportDataTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/TransportDataTestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.TransportData;
+import net.dpml.iso8583.data.representation.VariableANS;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class TransportDataTestCase
+ extends TestCase
+{
+ private TransportData m_element1;
+ private TransportData m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new TransportData( logger, params );
+ map.put( "value",
"0000111100001111000011110000111100001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new TransportData( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableANS( 999 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 59, n );
+ }
+}
Added:
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/VerificationDataTestCase.java
==============================================================================
--- (empty file)
+++
development/planet/users/niclas/iso8583/elements/src/test/net/dpml/iso8583/test/data/elements/VerificationDataTestCase.java
Fri Apr 15 21:37:00 2005
@@ -0,0 +1,45 @@
+package net.dpml.iso8583.test.data.elements;
+
+import junit.framework.TestCase;
+import net.dpml.iso8583.data.Representation;
+import net.dpml.iso8583.data.elements.VerificationData;
+import net.dpml.iso8583.data.representation.VariableANS;
+import net.dpml.logging.Logger;
+import net.dpml.metro.unit.TestLogger;
+import net.dpml.metro.unit.TestParametersBuilder;
+import net.dpml.parameters.Parameters;
+
+import java.util.HashMap;
+
+public class VerificationDataTestCase
+ extends TestCase
+{
+ private VerificationData m_element1;
+ private VerificationData m_element2;
+
+ public void setUp()
+ throws Exception
+ {
+ Logger logger = new TestLogger( System.out, TestLogger.LEVEL_DEBUG );
+ HashMap map = new HashMap();
+ Parameters params = TestParametersBuilder.buildFromMap( map );
+ m_element1 = new VerificationData( logger, params );
+ map.put( "value",
"0000111100001111000011110000111100001111000011110000111100001111" );
+ params = TestParametersBuilder.buildFromMap( map );
+ m_element2 = new VerificationData( logger, params );
+ }
+
+ public void testRepresentation()
+ throws Exception
+ {
+ Representation rep = m_element1.getRepresentation();
+ assertEquals( new VariableANS( 9999 ), rep );
+ }
+
+ public void testISONumber()
+ throws Exception
+ {
+ int n = m_element1.getIsoBitNumber();
+ assertEquals( 49, n );
+ }
+}
Modified: development/planet/users/niclas/iso8583/iso8583.ipr
==============================================================================
--- development/planet/users/niclas/iso8583/iso8583.ipr (original)
+++ development/planet/users/niclas/iso8583/iso8583.ipr Fri Apr 15 21:37:00
2005
@@ -187,14 +187,12 @@
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/api/api.iml"
filepath="$PROJECT_DIR$/api/api.iml" />
- <module fileurl="file://$PROJECT_DIR$/authorization/authorization.iml"
filepath="$PROJECT_DIR$/authorization/authorization.iml" />
<module fileurl="file://$PROJECT_DIR$/channels/channels.iml"
filepath="$PROJECT_DIR$/channels/channels.iml" />
<module fileurl="file://$PROJECT_DIR$/elements/elements.iml"
filepath="$PROJECT_DIR$/elements/elements.iml" />
- <module fileurl="file://$PROJECT_DIR$/mti/mti.iml"
filepath="$PROJECT_DIR$/mti/mti.iml" />
<module fileurl="file://$PROJECT_DIR$/packaging/packaging.iml"
filepath="$PROJECT_DIR$/packaging/packaging.iml" />
</modules>
</component>
- <component name="ProjectRootManager" version="2" assert-keyword="true"
jdk-15="false" project-jdk-name="java version "1.4.2_06"" />
+ <component name="ProjectRootManager" version="2" assert-keyword="true"
jdk-15="false" project-jdk-name="java version "1.4.2_08"" />
<component name="RmicSettings">
<option name="IS_EANABLED" value="false" />
<option name="DEBUGGING_INFO" value="true" />
@@ -205,12 +203,10 @@
<component name="libraryTable">
<library name="JPos">
<CLASSES>
- <root
url="jar:///home/niclas/.dpml/data/cache/jpos/jars/jpos-1.4.9.jar!/" />
+ <root
url="jar:///home/gondor/.dpml/data/cache/jpos/jars/jpos-1.4.9.jar!/" />
</CLASSES>
<JAVADOC />
- <SOURCES>
- <root
url="file:///home/niclas/dev/opensource/sf.net/jpos/jpos/src/main" />
- </SOURCES>
+ <SOURCES />
</library>
</component>
<component name="uidesigner-configuration">
Modified: development/planet/users/niclas/iso8583/iso8583.iws
==============================================================================
--- development/planet/users/niclas/iso8583/iso8583.iws (original)
+++ development/planet/users/niclas/iso8583/iso8583.iws Fri Apr 15 21:37:00
2005
@@ -7,13 +7,13 @@
<regexpContexts class="java.util.ArrayList" />
<flushInterval>5000</flushInterval>
<coveredHighlight null="true" />
- <flattenPackages>true</flattenPackages>
- <autoRefreshInterval>5000</autoRefreshInterval>
+ <flattenPackages>false</flattenPackages>
+ <autoRefreshInterval>2000</autoRefreshInterval>
<excludes null="true" />
<showErrorMarks>true</showErrorMarks>
<showInline>true</showInline>
<contextFilter class="com.cenqua.clover.context.BlockContextFilter">
- <filterMask>32767</filterMask>
+ <filterMask>65535</filterMask>
</contextFilter>
<notCoveredHighlight>-341816</notCoveredHighlight>
<showTooltips>true</showTooltips>
@@ -26,16 +26,16 @@
<manualInitString null="true" />
<includes null="true" />
<showSummaryInToolbar>true</showSummaryInToolbar>
- <autoScroll>false</autoScroll>
+ <autoScroll>true</autoScroll>
<useGeneratedInitString>true</useGeneratedInitString>
<outOfDateHighlight>-32</outOfDateHighlight>
<showSummaryInToolwindow>true</showSummaryInToolwindow>
<span>0</span>
<relativeInitString>false</relativeInitString>
<flushPolicy>0</flushPolicy>
- <autoScrollFromSource>true</autoScrollFromSource>
+ <autoScrollFromSource>false</autoScrollFromSource>
<coveredStripe>-16711936</coveredStripe>
- <autoRefresh>true</autoRefresh>
+ <autoRefresh>false</autoRefresh>
</component>
<component name="Commander">
<leftPanel url="file://$PROJECT_DIR$/channels" />
@@ -146,75 +146,75 @@
<option name="HIDE_WARNINGS" value="false" />
</component>
<component name="FileEditorManager" split-orientation="vertical"
split-proportion="0.5">
- <first-group
selected-file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/elements/AdditionalResponseData.java">
- <entry
file="file://$PROJECT_DIR$/mti/src/main/net/dpml/iso8583/data/mti/Mti101.java"
pinned="false">
+ <first-group
selected-file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/elements/AbstractDataElement.java">
+ <entry
file="file://$PROJECT_DIR$/elements/src/test/net/dpml/iso8583/test/data/elements/TransactionSpecificDataTestCase.java"
pinned="false">
<provider selected="true" editor-type-id="text-editor">
- <state line="71" column="43" selection-start="2995"
selection-end="2995" vertical-scroll-proportion="-0.32171583">
+ <state line="13" column="13" selection-start="446"
selection-end="446" vertical-scroll-proportion="0.23898531">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/manager/DefaultManager.java"
pinned="false">
+ <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/elements/TransactionSpecificData.java"
pinned="false">
<provider selected="true" editor-type-id="text-editor">
- <state line="132" column="0" selection-start="4412"
selection-end="4412" vertical-scroll-proportion="2.2864652">
- <folding>
- <element signature="imports" expanded="true" />
- </folding>
+ <state line="48" column="43" selection-start="1651"
selection-end="1651" vertical-scroll-proportion="0.42323098">
+ <folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/api/src/main/net/dpml/iso8583/data/DataElementManager.java"
pinned="false">
+ <entry
file="file://$PROJECT_DIR$/elements/src/test/net/dpml/iso8583/test/data/elements/AmountsFeesTestCase.java"
pinned="false">
<provider selected="true" editor-type-id="text-editor">
- <state line="28" column="17" selection-start="903"
selection-end="903" vertical-scroll-proportion="0.23653089">
+ <state line="42" column="24" selection-start="1333"
selection-end="1333" vertical-scroll-proportion="0.81975967">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/api/src/main/net/dpml/iso8583/data/NoSuchDataElementException.java"
pinned="false">
+ <entry
file="file://$PROJECT_DIR$/elements/src/test/net/dpml/iso8583/test/data/elements/ActionCodeTestCase.java"
pinned="false">
<provider selected="true" editor-type-id="text-editor">
- <state line="29" column="36" selection-start="920"
selection-end="920" vertical-scroll-proportion="0.2562418">
+ <state line="26" column="31" selection-start="862"
selection-end="862" vertical-scroll-proportion="0.49933246">
<folding />
</state>
</provider>
</entry>
- <entry
file="file:///home/niclas/dev/dpml/development/planet/facilities/http/impl/src/main/net/dpml/http/impl/ModelHandler.java"
pinned="false">
+ <entry
file="file://$PROJECT_DIR$/elements/src/test/net/dpml/iso8583/test/data/elements/ExtendedPaymentDataTestCase.java"
pinned="false">
<provider selected="true" editor-type-id="text-editor">
- <state line="70" column="0" selection-start="2363"
selection-end="2736" vertical-scroll-proportion="0.74396783">
+ <state line="26" column="29" selection-start="905"
selection-end="905" vertical-scroll-proportion="0.49933246">
<folding />
</state>
</provider>
</entry>
- <entry file="file://$PROJECT_DIR$/elements/build.xml" pinned="false">
+ <entry
file="file://$PROJECT_DIR$/elements/src/test/net/dpml/iso8583/test/data/elements/AmountNetReconciliationTestCase.java"
pinned="false">
<provider selected="true" editor-type-id="text-editor">
- <state line="27" column="0" selection-start="947"
selection-end="947" vertical-scroll-proportion="0.41689008">
+ <state line="13" column="13" selection-start="436"
selection-end="436" vertical-scroll-proportion="0.23898531">
<folding />
</state>
</provider>
</entry>
- <entry file="file://$PROJECT_DIR$/index.xml" pinned="false">
+ <entry
file="file://$PROJECT_DIR$/elements/src/test/net/dpml/iso8583/test/data/elements/ReceivingInstitutionIdentificationCodeTestCase.java"
pinned="false">
<provider selected="true" editor-type-id="text-editor">
- <state line="45" column="0" selection-start="1289"
selection-end="1289" vertical-scroll-proportion="0.019710906">
- <folding />
+ <state line="13" column="13" selection-start="458"
selection-end="458" vertical-scroll-proportion="0.23898531">
+ <folding>
+ <element signature="imports" expanded="true" />
+ </folding>
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/elements/AdditionalResponseData.java"
pinned="false">
+ <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/elements/ReceivingInstitutionIdentificationCode.java"
pinned="false">
<provider selected="true" editor-type-id="text-editor">
- <state line="36" column="13" selection-start="1224"
selection-end="1224" vertical-scroll-proportion="0.3324573">
+ <state line="47" column="44" selection-start="1637"
selection-end="1637" vertical-scroll-proportion="0.35914552">
<folding />
</state>
</provider>
</entry>
- <entry file="file://$PROJECT_DIR$/abc" pinned="false">
+ <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/elements/AbstractConstructedDataElement.java"
pinned="false">
<provider selected="true" editor-type-id="text-editor">
- <state line="130" column="0" selection-start="0"
selection-end="9354" vertical-scroll-proportion="0.9605782">
+ <state line="26" column="22" selection-start="875"
selection-end="875" vertical-scroll-proportion="0.120160215">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/mti/src/main/net/dpml/iso8583/data/mti/Mti110.java"
pinned="false">
+ <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/elements/AbstractDataElement.java"
pinned="false">
<provider selected="true" editor-type-id="text-editor">
- <state line="62" column="50" selection-start="2636"
selection-end="2636" vertical-scroll-proportion="0.50268096">
+ <state line="16" column="23" selection-start="620"
selection-end="620" vertical-scroll-proportion="0.32042724">
<folding />
</state>
</provider>
@@ -235,14 +235,12 @@
<component name="J2EEProjectPane" />
<component name="NamedScopeManager" />
<component name="PackagesPane">
- <expanded_node url="net.dpml.iso8583.data.mti" module="mti"
type="package" />
+ <expanded_node url="net.dpml.iso8583.authorization" module="api"
type="package" />
<expanded_node url="" module="api" type="module" />
- <expanded_node url="net.dpml.iso8583.data.manager" module="elements"
type="package" />
- <expanded_node url="" module="mti" type="module" />
<expanded_node url="" module="packaging" type="module" />
<expanded_node url="" module="elements" type="module" />
- <expanded_node url="net.dpml.iso8583.data.elements" module="elements"
type="package" />
<expanded_node url="" module="channels" type="module" />
+ <expanded_node url="net.dpml.iso8583.data.manager" module="elements"
type="package" />
</component>
<component name="ProjectPane">
<expanded_node url="file://$PROJECT_DIR$/elements" module="elements"
type="directory" />
@@ -254,7 +252,7 @@
<showMembers PackagesPane="false" />
<showModules PackagesPane="true" />
<showLibraryContents PackagesPane="false" />
- <hideEmptyPackages PackagesPane="false" />
+ <hideEmptyPackages PackagesPane="true" />
<showStructure PackagesPane="false" ProjectPane="false" />
<autoscrollToSource />
<autoscrollFromSource />
@@ -272,7 +270,7 @@
<component name="RunManager">
<activeType name="JUnit" />
<tempConfiguration selected="true" default="false"
name="net.dpml.iso8583.test.data.elements" type="JUnit" factoryName="JUnit">
- <module name="channels" />
+ <module name="" />
<option name="PACKAGE_NAME"
value="net.dpml.iso8583.test.data.elements" />
<option name="MAIN_CLASS_NAME" />
<option name="METHOD_NAME" />
@@ -287,22 +285,12 @@
<RunnerSettings RunnerId="Run" />
<ConfigurationWrapper RunnerId="Run" />
</tempConfiguration>
- <configuration selected="false" default="true" type="Remote"
factoryName="Remote">
- <option name="USE_SOCKET_TRANSPORT" value="true" />
- <option name="SERVER_MODE" value="false" />
- <option name="SHMEM_ADDRESS" value="javadebug" />
- <option name="HOST" value="localhost" />
- <option name="PORT" value="5005" />
- </configuration>
- <configuration selected="false" default="true" type="Applet"
factoryName="Applet">
- <module name="" />
+ <configuration selected="false" default="true" type="Application"
factoryName="Application">
<option name="MAIN_CLASS_NAME" />
- <option name="HTML_FILE_NAME" />
- <option name="HTML_USED" value="false" />
- <option name="WIDTH" value="400" />
- <option name="HEIGHT" value="300" />
- <option name="POLICY_FILE"
value="$APPLICATION_HOME_DIR$/bin/appletviewer.policy" />
<option name="VM_PARAMETERS" />
+ <option name="PROGRAM_PARAMETERS" />
+ <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
+ <module name="" />
</configuration>
<configuration selected="false" default="true" type="JUnit"
factoryName="JUnit">
<module name="" />
@@ -318,12 +306,22 @@
<value defaultName="wholeProject" />
</option>
</configuration>
- <configuration selected="false" default="true" type="Application"
factoryName="Application">
+ <configuration selected="false" default="true" type="Remote"
factoryName="Remote">
+ <option name="USE_SOCKET_TRANSPORT" value="true" />
+ <option name="SERVER_MODE" value="false" />
+ <option name="SHMEM_ADDRESS" value="javadebug" />
+ <option name="HOST" value="localhost" />
+ <option name="PORT" value="5005" />
+ </configuration>
+ <configuration selected="false" default="true" type="Applet"
factoryName="Applet">
+ <module name="" />
<option name="MAIN_CLASS_NAME" />
+ <option name="HTML_FILE_NAME" />
+ <option name="HTML_USED" value="false" />
+ <option name="WIDTH" value="400" />
+ <option name="HEIGHT" value="300" />
+ <option name="POLICY_FILE"
value="$APPLICATION_HOME_DIR$/bin/appletviewer.policy" />
<option name="VM_PARAMETERS" />
- <option name="PROGRAM_PARAMETERS" />
- <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
- <module name="" />
</configuration>
</component>
<component name="SelectInManager" />
@@ -372,29 +370,29 @@
</todo-panel>
</component>
<component name="ToolWindowManager">
- <frame x="10" y="0" width="1260" height="977" extended-state="1" />
+ <frame x="-4" y="-6" width="1288" height="987" extended-state="6" />
<editor active="true" />
<layout>
<window_info id="CVS" active="false" anchor="bottom" auto_hide="false"
internal_type="docked" type="docked" visible="false" weight="0.33" order="8"
/>
<window_info id="SvgViewer" active="false" anchor="right"
auto_hide="false" internal_type="docked" type="docked" visible="false"
weight="0.33028287" order="3" />
<window_info id="TODO" active="false" anchor="bottom"
auto_hide="false" internal_type="docked" type="docked" visible="false"
weight="0.33" order="7" />
- <window_info id="Project" active="false" anchor="left"
auto_hide="false" internal_type="docked" type="docked" visible="true"
weight="0.31613976" order="0" />
- <window_info id="Find" active="false" anchor="bottom"
auto_hide="false" internal_type="docked" type="docked" visible="false"
weight="0.32979977" order="1" />
+ <window_info id="Project" active="false" anchor="left"
auto_hide="false" internal_type="docked" type="docked" visible="true"
weight="0.2839707" order="0" />
+ <window_info id="Find" active="false" anchor="bottom"
auto_hide="false" internal_type="docked" type="docked" visible="false"
weight="0.33023256" order="1" />
<window_info id="Structure" active="false" anchor="left"
auto_hide="false" internal_type="docked" type="docked" visible="false"
weight="0.24958402" order="1" />
- <window_info id="Messages" active="false" anchor="bottom"
auto_hide="false" internal_type="docked" type="docked" visible="false"
weight="0.32979977" order="8" />
+ <window_info id="Messages" active="false" anchor="bottom"
auto_hide="false" internal_type="docked" type="docked" visible="false"
weight="0.25465116" order="8" />
<window_info id="Inspection" active="false" anchor="bottom"
auto_hide="false" internal_type="docked" type="docked" visible="false"
weight="0.4" order="6" />
<window_info id="Dependency Viewer" active="false" anchor="bottom"
auto_hide="false" internal_type="docked" type="docked" visible="false"
weight="0.33" order="8" />
<window_info id="Ant Build" active="false" anchor="right"
auto_hide="false" internal_type="docked" type="docked" visible="false"
weight="0.24958402" order="1" />
- <window_info id="Run" active="false" anchor="bottom" auto_hide="false"
internal_type="docked" type="docked" visible="false" weight="0.32979977"
order="2" />
+ <window_info id="Run" active="false" anchor="bottom" auto_hide="false"
internal_type="docked" type="docked" visible="false" weight="0.33023256"
order="2" />
<window_info id="Hierarchy" active="false" anchor="right"
auto_hide="false" internal_type="docked" type="docked" visible="false"
weight="0.25" order="2" />
<window_info id="Clover" active="false" anchor="left"
auto_hide="false" internal_type="docked" type="docked" visible="false"
weight="0.30199668" order="3" />
<window_info id="Debug" active="false" anchor="bottom"
auto_hide="false" internal_type="docked" type="docked" visible="false"
weight="0.4" order="4" />
- <window_info id="simpleUML" active="false" anchor="left"
auto_hide="false" internal_type="docked" type="docked" visible="false"
weight="0.3294509" order="3" />
<window_info id="Commander" active="false" anchor="right"
auto_hide="false" internal_type="sliding" type="sliding" visible="false"
weight="0.4" order="0" />
<window_info id="Web" active="false" anchor="left" auto_hide="false"
internal_type="docked" type="docked" visible="false" weight="0.25" order="2"
/>
<window_info id="Message" active="false" anchor="bottom"
auto_hide="false" internal_type="docked" type="docked" visible="false"
weight="0.33" order="0" />
<window_info id="EJB" active="false" anchor="bottom" auto_hide="false"
internal_type="docked" type="docked" visible="false" weight="0.25" order="3"
/>
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false"
internal_type="docked" type="docked" visible="false" weight="0.25" order="5"
/>
+ <window_info id="simpleUML" active="false" anchor="left"
auto_hide="false" internal_type="docked" type="docked" visible="false"
weight="0.3294509" order="3" />
</layout>
</component>
<component name="VCS.FileViewConfiguration">
@@ -465,102 +463,109 @@
<option name="FILTER_TARGETS" value="false" />
</component>
<component name="editorHistoryManager">
- <entry
file="file://$PROJECT_DIR$/mti/src/main/net/dpml/iso8583/data/mti/Mti150.java">
+ <entry
file="file://$PROJECT_DIR$/elements/src/test/net/dpml/iso8583/test/data/elements/AuthorizingAgentInstitutionIdentificationCodeTestCase.java">
+ <provider selected="true" editor-type-id="text-editor">
+ <state line="29" column="28" selection-start="1204"
selection-end="1204" vertical-scroll-proportion="0.55676854">
+ <folding />
+ </state>
+ </provider>
+ </entry>
+ <entry
file="file://$PROJECT_DIR$/elements/src/test/net/dpml/iso8583/test/data/elements/BatchFileTransferControlDataTestCase.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="26" column="13" selection-start="1016"
selection-end="1016" vertical-scroll-proportion="0.19505852">
+ <state line="29" column="67" selection-start="1152"
selection-end="1152" vertical-scroll-proportion="0.55676854">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/mti/src/main/net/dpml/iso8583/data/mti/Mti130.java">
+ <entry
file="file://$PROJECT_DIR$/elements/src/test/net/dpml/iso8583/test/data/elements/PayeeTestCase.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="66" column="48" selection-start="2735"
selection-end="2735" vertical-scroll-proportion="0.5656697">
+ <state line="29" column="52" selection-start="1022"
selection-end="1022" vertical-scroll-proportion="0.55676854">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/mti/src/main/net/dpml/iso8583/data/mti/Mti121.java">
+ <entry
file="file://$PROJECT_DIR$/elements/src/test/net/dpml/iso8583/test/data/elements/AuthorizationLifeCycleCodeTestCase.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="66" column="50" selection-start="2920"
selection-end="2920" vertical-scroll-proportion="0.5227882">
+ <state line="26" column="30" selection-start="941"
selection-end="941" vertical-scroll-proportion="0.55676854">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/mti/src/main/net/dpml/iso8583/data/mti/Mti120.java">
+ <entry
file="file://$PROJECT_DIR$/elements/src/test/net/dpml/iso8583/test/data/elements/FileTransferDescriptionDataTestCase.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="66" column="51" selection-start="2920"
selection-end="2920" vertical-scroll-proportion="0.5831099">
+ <state line="26" column="45" selection-start="961"
selection-end="961" vertical-scroll-proportion="0.55676854">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/mti/src/main/net/dpml/iso8583/data/mti/Mti110.java">
+ <entry
file="file://$PROJECT_DIR$/elements/src/test/net/dpml/iso8583/test/data/elements/AmountsFeesTestCase.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="62" column="50" selection-start="2636"
selection-end="2636" vertical-scroll-proportion="0.50268096">
+ <state line="42" column="24" selection-start="1333"
selection-end="1333" vertical-scroll-proportion="0.81975967">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/mti/src/main/net/dpml/iso8583/data/mti/Mti101.java">
+ <entry
file="file://$PROJECT_DIR$/elements/src/test/net/dpml/iso8583/test/data/elements/ExtendedPaymentDataTestCase.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="71" column="43" selection-start="2995"
selection-end="2995" vertical-scroll-proportion="-0.32171583">
+ <state line="26" column="29" selection-start="905"
selection-end="905" vertical-scroll-proportion="0.49933246">
<folding />
</state>
</provider>
</entry>
- <entry
file="file:///home/niclas/dev/dpml/development/planet/facilities/http/impl/src/main/net/dpml/http/impl/ModelHandler.java">
+ <entry
file="file://$PROJECT_DIR$/elements/src/test/net/dpml/iso8583/test/data/elements/ActionCodeTestCase.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="70" column="0" selection-start="2363"
selection-end="2736" vertical-scroll-proportion="0.74396783">
+ <state line="26" column="31" selection-start="862"
selection-end="862" vertical-scroll-proportion="0.49933246">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/api/src/main/net/dpml/iso8583/data/NoSuchDataElementException.java">
+ <entry
file="file://$PROJECT_DIR$/elements/src/test/net/dpml/iso8583/test/data/elements/TransactionSpecificDataTestCase.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="29" column="36" selection-start="920"
selection-end="920" vertical-scroll-proportion="0.2562418">
+ <state line="13" column="13" selection-start="446"
selection-end="446" vertical-scroll-proportion="0.23898531">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/api/src/main/net/dpml/iso8583/data/DataElementManager.java">
+ <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/elements/TransactionSpecificData.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="28" column="17" selection-start="903"
selection-end="903" vertical-scroll-proportion="0.23653089">
+ <state line="48" column="43" selection-start="1651"
selection-end="1651" vertical-scroll-proportion="0.42323098">
<folding />
</state>
</provider>
</entry>
- <entry file="file://$PROJECT_DIR$/elements/build.xml">
+ <entry
file="file://$PROJECT_DIR$/elements/src/test/net/dpml/iso8583/test/data/elements/AmountNetReconciliationTestCase.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="27" column="0" selection-start="947"
selection-end="947" vertical-scroll-proportion="0.41689008">
+ <state line="13" column="13" selection-start="436"
selection-end="436" vertical-scroll-proportion="0.23898531">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/manager/DefaultManager.java">
+ <entry
file="file://$PROJECT_DIR$/elements/src/test/net/dpml/iso8583/test/data/elements/ReceivingInstitutionIdentificationCodeTestCase.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="132" column="0" selection-start="4412"
selection-end="4412" vertical-scroll-proportion="2.2864652">
+ <state line="13" column="13" selection-start="458"
selection-end="458" vertical-scroll-proportion="0.23898531">
<folding>
<element signature="imports" expanded="true" />
</folding>
</state>
</provider>
</entry>
- <entry file="file://$PROJECT_DIR$/abc">
+ <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/elements/ReceivingInstitutionIdentificationCode.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="130" column="0" selection-start="0"
selection-end="9354" vertical-scroll-proportion="0.9605782">
+ <state line="47" column="44" selection-start="1637"
selection-end="1637" vertical-scroll-proportion="0.35914552">
<folding />
</state>
</provider>
</entry>
- <entry file="file://$PROJECT_DIR$/index.xml">
+ <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/elements/AbstractDataElement.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="45" column="0" selection-start="1289"
selection-end="1289" vertical-scroll-proportion="0.019710906">
+ <state line="16" column="23" selection-start="620"
selection-end="620" vertical-scroll-proportion="0.32042724">
<folding />
</state>
</provider>
</entry>
- <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/elements/AdditionalResponseData.java">
+ <entry
file="file://$PROJECT_DIR$/elements/src/main/net/dpml/iso8583/data/elements/AbstractConstructedDataElement.java">
<provider selected="true" editor-type-id="text-editor">
- <state line="36" column="13" selection-start="1224"
selection-end="1224" vertical-scroll-proportion="0.3324573">
+ <state line="26" column="22" selection-start="875"
selection-end="875" vertical-scroll-proportion="0.120160215">
<folding />
</state>
</provider>
- svn commit: r2290 - in development/planet/users/niclas/iso8583: . api elements elements/src/main/net/dpml/iso8583/data/elements elements/src/main/net/dpml/iso8583/data/representation elements/src/test/net/dpml/iso8583/test/data/elements, niclas, 04/15/2005
Archive powered by MHonArc 2.6.24.