Commit Graph
57 Commits
Author SHA1 Message Date
Enrique Zamudio dd83ef7b96 tests for #38 2015-03-26 11:55:07 -06:00
Enrique Zamudio e12f09430f test formatting LLLLVAR #36 2015-02-19 19:53:16 -06:00
Enrique Zamudio 576dc50b44 tests for LLLLVAR and LLLLBIN #36 2015-02-19 19:39:16 -06:00
Enrique Zamudio e310a859cb tests for #34 2015-02-19 18:13:15 -06:00
Enrique Zamudio a8f699343f tests for #24 2014-04-10 17:07:16 -05:00
Enrique Zamudio a09b72e66e junit 4.11 does have assertNotEquals 2014-03-05 17:22:15 -06:00
Enrique Zamudio 1cbda9aaa9 encoding tests 2014-03-05 17:13:27 -06:00
Enrique Zamudio bb1b23b282 moved tests to proper packages 2014-03-05 16:54:32 -06:00
Enrique Zamudio e497b7e929 tests for #21 2013-12-18 18:40:11 -06:00
Enrique Zamudio 515a632251 tests for #21 2013-12-18 18:13:57 -06:00
Enrique Zamudio d3245ee728 test new method in CompositeField 2013-11-27 12:11:14 -06:00
Enrique Zamudio 629db2304c test for #17 from xml config 2013-11-27 11:04:54 -06:00
Enrique Zamudio c1c6314144 tests for #17 from xml config 2013-11-27 11:04:35 -06:00
Enrique Zamudio 8f498d3551 binary property is gone 2013-11-27 11:04:19 -06:00
Enrique Zamudio 9ecc907739 more thorough tests for composite fields 2013-11-26 18:49:35 -06:00
Enrique Zamudio eaab64e73f tests for #14 2013-11-25 19:49:25 -06:00
Enrique Zamudio 81f178f870 tests for #15 2013-11-25 19:30:07 -06:00
Enrique Zamudio c00ef7b88d tests for #16 2013-11-25 18:53:06 -06:00
Enrique Zamudio a05373efec tests for #16 2013-11-25 18:52:30 -06:00
Enrique Zamudio d99279ec7e tests for #17 2013-11-25 18:26:13 -06:00
Enrique Zamudio 07b277c7fa Tests for #17 2013-11-25 17:55:59 -06:00
Enrique Zamudio 3a4840108d more BCD tests 2013-11-25 11:01:06 -06:00
Enrique Zamudio 8edbad8659 BCD tests 2013-11-25 10:55:08 -06:00
Enrique Zamudio 61fded16d2 Fix debugString for variable-length fields 2013-06-25 12:37:41 -05:00
Enrique Zamudio 0a85393b87 Simplify test code 2013-06-12 13:17:34 -05:00
Enrique Zamudio 1ccf3596d8 Test parsing a complete message with EBCDIC 2013-06-12 13:17:18 -05:00
Enrique Zamudio 8f91cb768c Test debugString with binary/ascii messages 2013-06-12 10:42:27 -05:00
Enrique Zamudio 1787dfb0d5 Test EBCDIC bitmap 2013-05-13 23:12:59 -05:00
Enrique Zamudio a086cad36d Test message parsing for #13 2013-05-13 19:47:27 -05:00
Enrique Zamudio e5aa694a45 More tests for #13 2013-05-13 19:34:04 -05:00
Enrique Zamudio 89d8fce075 Test proper encoding of message type for #13 2013-05-13 18:59:09 -05:00
Enrique Zamudio 06700670ea update API calls 2013-05-13 18:55:01 -05:00
Enrique Zamudio 160f780309 Tests for #13 2013-05-13 18:53:20 -05:00
Enrique Zamudio 3758a48d90 More tests for #9 2013-05-07 15:36:37 -05:00
Enrique Zamudio ba56dc321a Tests for #9 2013-05-07 13:44:59 -05:00
Enrique Zamudio ab9bded8a6 Update test code 2013-04-23 11:22:48 -05:00
Enrique Zamudio 37c6a9ce9e Tests for #7 2013-04-23 10:51:27 -05:00
Enrique Zamudio 92af1156cc Use new API 2013-01-18 13:33:06 -06:00
Enrique Zamudio 4022ab3ad8 Encode field number in variable fields to tell them apart 2013-01-18 13:32:27 -06:00
Enrique Zamudio 6abbeb93bb Fix #4 (which wasn't really a bug but uncovered a couple of them) 2013-01-18 12:03:32 -06:00
Enrique Zamudio 8544f0e38c Test parsing binary numbers 2012-11-30 12:25:42 -06:00
Enrique Zamudio 310e310b90 Test binary bitmap encoding in text-encoded messages 2012-11-30 11:49:36 -06:00
chochos 4856c90632 assert > Assert.assertEquals
git-svn-id: https://j8583.svn.sourceforge.net/svnroot/j8583/j8583@106 db60a039-f72e-0410-b1d2-baa000846441
2012-06-14 18:21:45 +00:00
chochos f968d443b7 Tests to make sure only the specified exceptions get thrown when parsing invalid messages
git-svn-id: https://j8583.svn.sourceforge.net/svnroot/j8583/j8583@105 db60a039-f72e-0410-b1d2-baa000846441
2012-06-14 18:21:04 +00:00
chochos a0c22719bd Set millis to 0 when parsing DATE4 fields. Fix UT for date4 parsing
git-svn-id: https://j8583.svn.sourceforge.net/svnroot/j8583/j8583@88 db60a039-f72e-0410-b1d2-baa000846441
2011-07-23 04:28:00 +00:00
chochos a4a21551b3 Added future tolerance to Date10 and Date4 parsers; simplified the use of generics in all the FieldParseInfo subclasses. Added a test for the future tolerance of date parsers.
git-svn-id: https://j8583.svn.sourceforge.net/svnroot/j8583/j8583@85 db60a039-f72e-0410-b1d2-baa000846441
2011-07-13 16:33:37 +00:00
chochos dd50d4b8a3 Add a new method to test templating
git-svn-id: https://j8583.svn.sourceforge.net/svnroot/j8583/j8583@76 db60a039-f72e-0410-b1d2-baa000846441
2011-06-14 18:14:43 +00:00
chochos a8c2aecd3e Validate that there is indeed a field to set the encoding to, in the IsoMessage. Update version to 1.5.1
git-svn-id: https://j8583.svn.sourceforge.net/svnroot/j8583/j8583@72 db60a039-f72e-0410-b1d2-baa000846441
2011-04-08 16:21:58 +00:00
chochos 5c4259eba3 Added a new property, characterEncoding, to MessageFactory, IsoMessage, FieldParseInfo and IsoValue. This helps in parsing messages from byte buffers containing extended characters in encodings other than the default for the JVM. Tested with UTF8 on a Mac (which has default Mac OS Roman) and worked fine.
Several methods now have an additional encoding parameter (just a String, not directly a Charset), but the default is always the JVM's default encoding (taken from the property 'file.encoding').


git-svn-id: https://j8583.svn.sourceforge.net/svnroot/j8583/j8583@70 db60a039-f72e-0410-b1d2-baa000846441
2011-03-21 23:22:58 +00:00
chochos c7d696acc7 Simplified some of the formatting routines in IsoType, using String.format(). Added unit tests to check that the new formatting code works fine.
git-svn-id: https://j8583.svn.sourceforge.net/svnroot/j8583/j8583@69 db60a039-f72e-0410-b1d2-baa000846441
2011-02-22 02:15:38 +00:00