commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1561060 - /commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/checkdigit/IBANCheckDigitTest.java
Date Fri, 24 Jan 2014 16:58:16 GMT
Author: sebb
Date: Fri Jan 24 16:58:15 2014
New Revision: 1561060

URL: http://svn.apache.org/r1561060
Log:
Add comments and some more examples

Modified:
    commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/checkdigit/IBANCheckDigitTest.java

Modified: commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/checkdigit/IBANCheckDigitTest.java
URL: http://svn.apache.org/viewvc/commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/checkdigit/IBANCheckDigitTest.java?rev=1561060&r1=1561059&r2=1561060&view=diff
==============================================================================
--- commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/checkdigit/IBANCheckDigitTest.java
(original)
+++ commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/checkdigit/IBANCheckDigitTest.java
Fri Jan 24 16:58:15 2014
@@ -44,36 +44,39 @@ public class IBANCheckDigitTest extends 
         super.setUp();
         routine = IBANCheckDigit.IBAN_CHECK_DIGIT;
         valid  = new String[]  {
-                "AD1200012030200359100100",
-                "AT611904300234573201",
-                "BE62510007547061",
-                "BE68539007547034",
-                "CH3900700115201849173",
-                "CY17002001280000001200527600",
-                "CZ6508000000192000145399",
-                "DE89370400440532013000",
-                "DK5000400440116243",
-                "EE382200221020145685",
-                "ES8023100001180000012345",
-                "FI2112345600000785",
-                "FR1420041010050500013M02606",
-                "GB29NWBK60161331926819",
-                "GI75NWBK000000007099453",
-                "GR1601101250000000012300695",
-                "HU42117730161111101800000000",
-                "IE29AIBK93115212345678",
-                "IS140159260076545510730339",
-                "IT60X0542811101000000123456",
-                "LT121000011101001000",
-                "LU280019400644750000",
-                "LV80BANK0000435195001",
-                "NL91ABNA0417164300",
-                "NO9386011117947",
-                "PL27114020040000300201355387",
-                "PT50000201231234567890154",
-                "SE3550000000054910000003",
-                "SI56191000000123438",
-                "SK3112000000198742637541",
+                "AD1200012030200359100100",      // Andorra
+                "AT611904300234573201",          // Austria
+                "BE62510007547061",              // Belgium
+                "BE68539007547034",              // Belgium
+                "CH3900700115201849173",         // Switzerland
+                "CH9300762011623852957",         // Switzerland
+                "CY17002001280000001200527600",  // Cyprus
+                "CZ6508000000192000145399",      // Czechoslovakia
+                "DE89370400440532013000",        // Germany
+                "DK5000400440116243",            // Denmark
+                "EE382200221020145685",          // Estonia
+                "ES8023100001180000012345",      // Spain
+                "FI2112345600000785",            // Finland
+                "FR1420041010050500013M02606",   // France
+                "GB29NWBK60161331926819",        // UK
+                "GI75NWBK000000007099453",       // Gibraltar
+                "GR1601101250000000012300695",   // Greece
+                "HU42117730161111101800000000",  // Hungary
+                "IE29AIBK93115212345678",        // Ireland
+                "IS140159260076545510730339",    // Iceland
+                "IT60X0542811101000000123456",   // Italy
+                "LT121000011101001000",          // Lithuania
+                "LU280019400644750000",          // Luxembourg
+                "LV80BANK0000435195001",         // Latvia
+                "NL39RABO0300065264",            // Netherlands
+                "NL91ABNA0417164300",            // Netherlands
+                "NO9386011117947",               // Norway
+                "PL27114020040000300201355387",  // Poland
+                "PL60102010260000042270201111",  // Poland
+                "PT50000201231234567890154",     // Portugal
+                "SE3550000000054910000003",      // Sweden
+                "SI56191000000123438",           // Slovenia
+                "SK3112000000198742637541",      // Slovak Republic
                 };
         invalid = new String[] {"510007+47061BE63"};
         zeroSum = null;



Mime
View raw message