[Batchserver-cvs] Batch_IO_1.1/test/org/jmonks/batch/io/ofx OFXFileReaderTest.java, 1.1.1.1, 1.2 OF
Brought to you by:
suresh_pragada
From: Suresh <sur...@us...> - 2006-10-18 23:07:21
|
Update of /cvsroot/batchserver/Batch_IO_1.1/test/org/jmonks/batch/io/ofx In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv7156 Modified Files: OFXFileReaderTest.java OFXFileWriterTest.java Log Message: no message Index: OFXFileWriterTest.java =================================================================== RCS file: /cvsroot/batchserver/Batch_IO_1.1/test/org/jmonks/batch/io/ofx/OFXFileWriterTest.java,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** OFXFileWriterTest.java 18 Oct 2006 03:19:21 -0000 1.1.1.1 --- OFXFileWriterTest.java 18 Oct 2006 23:07:19 -0000 1.2 *************** *** 15,21 **** import org.jmonks.batch.io.ofx.messageset.MessageSet; import org.jmonks.batch.io.ofx.messageset.MessageSetType; ! import org.jmonks.batch.io.ofx.messageset.SignUpMsgsRqV2; import org.jmonks.batch.io.ofx.messageset.aggregates.signup.EnrollRq; ! import org.jmonks.batch.io.ofx.messageset.aggregates.signup.EnrollTrnRq; --- 15,21 ---- import org.jmonks.batch.io.ofx.messageset.MessageSet; import org.jmonks.batch.io.ofx.messageset.MessageSetType; ! import org.jmonks.batch.io.ofx.messageset.SignUpMsgsRsV1; import org.jmonks.batch.io.ofx.messageset.aggregates.signup.EnrollRq; ! import org.jmonks.batch.io.ofx.messageset.aggregates.signup.EnrollTrnRqV1; *************** *** 71,78 **** fileWriter.writeOFXHeaderRecord(headerRecord); ! MessageSet messageSet=fileWriter.createNextMessageSet(MessageSetType.SIGNUP_MSGS_RQV2); ! SignUpMsgsRqV2 signUpMsgsRqV2=(SignUpMsgsRqV2)messageSet; ! EnrollTrnRq trnRq=new EnrollTrnRq(); trnRq.setTrnUID("MYTRNUID"); EnrollRq enrollRq=new EnrollRq(); --- 71,78 ---- fileWriter.writeOFXHeaderRecord(headerRecord); ! MessageSet messageSet=fileWriter.createNextMessageSet(MessageSetType.SIGNUP_MSGS_RSV1); ! SignUpMsgsRsV1 signUpMsgsRqV2=(SignUpMsgsRsV1)messageSet; ! EnrollTrnRqV1 trnRq=new EnrollTrnRqV1(); trnRq.setTrnUID("MYTRNUID"); EnrollRq enrollRq=new EnrollRq(); *************** *** 81,90 **** trnRq.setEnrollRq(enrollRq); ! signUpMsgsRqV2.addEnrollTrnRq(trnRq); trnRq.setTrnUID("MY2NDUID"); enrollRq.setFirstName(" RAM&ESH"); ! signUpMsgsRqV2.addEnrollTrnRq(trnRq); fileWriter.close(); --- 81,90 ---- trnRq.setEnrollRq(enrollRq); ! signUpMsgsRqV2.addSignUpMsgRqV1(trnRq); trnRq.setTrnUID("MY2NDUID"); enrollRq.setFirstName(" RAM&ESH"); ! signUpMsgsRqV2.addSignUpMsgRqV1(trnRq); fileWriter.close(); Index: OFXFileReaderTest.java =================================================================== RCS file: /cvsroot/batchserver/Batch_IO_1.1/test/org/jmonks/batch/io/ofx/OFXFileReaderTest.java,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** OFXFileReaderTest.java 18 Oct 2006 03:19:21 -0000 1.1.1.1 --- OFXFileReaderTest.java 18 Oct 2006 23:07:19 -0000 1.2 *************** *** 17,22 **** import org.jmonks.batch.io.ofx.messageset.MessageSetType; import org.jmonks.batch.io.ofx.messageset.SignOnMsgsRqV2; ! import org.jmonks.batch.io.ofx.messageset.SignUpMsgsRqV2; ! import org.jmonks.batch.io.ofx.messageset.aggregates.signup.EnrollTrnRq; import org.jmonks.batch.io.ofx.messageset.aggregates.signon.SignOnRqV2; --- 17,22 ---- import org.jmonks.batch.io.ofx.messageset.MessageSetType; import org.jmonks.batch.io.ofx.messageset.SignOnMsgsRqV2; ! import org.jmonks.batch.io.ofx.messageset.SignUpMsgsRsV1; ! import org.jmonks.batch.io.ofx.messageset.aggregates.signup.EnrollTrnRqV1; import org.jmonks.batch.io.ofx.messageset.aggregates.signon.SignOnRqV2; *************** *** 130,137 **** assertNotNull(rq.getFI()); } ! else if(messageSet.getMessageSetType()==MessageSetType.SIGNUP_MSGS_RQV2) { ! SignUpMsgsRqV2 v2=(SignUpMsgsRqV2)messageSet; ! EnrollTrnRq rq=v2.getNextEnrollTrnRq(); assertNotNull(rq); assertNotNull(rq.getTrnUID()); --- 130,137 ---- assertNotNull(rq.getFI()); } ! else if(messageSet.getMessageSetType()==MessageSetType.SIGNUP_MSGS_RSV1) { ! SignUpMsgsRsV1 v2=(SignUpMsgsRsV1)messageSet; ! EnrollTrnRqV1 rq=v2.getSignUpMsgRqV1(); assertNotNull(rq); assertNotNull(rq.getTrnUID()); *************** *** 158,165 **** assertNotNull(rq.getFI()); } ! else if(messageSet.getMessageSetType()==MessageSetType.SIGNUP_MSGS_RQV2) { ! SignUpMsgsRqV2 v2=(SignUpMsgsRqV2)messageSet; ! EnrollTrnRq rq=v2.getNextEnrollTrnRq(); assertNotNull(rq); assertNotNull(rq.getTrnUID()); --- 158,165 ---- assertNotNull(rq.getFI()); } ! else if(messageSet.getMessageSetType()==MessageSetType.SIGNUP_MSGS_RSV1) { ! SignUpMsgsRsV1 v2=(SignUpMsgsRsV1)messageSet; ! EnrollTrnRqV1 rq=v2.getSignUpMsgRqV1(); assertNotNull(rq); assertNotNull(rq.getTrnUID()); |