|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
DbUnit 2.4.4 - assertEquals for Oracle 10 clob works on Windows but not UNIX (our CI environment)Hi I have created an expected results file that asserts OK on Windows but fails on UNIX with: junit.framework.ComparisonFailure: value (table=AUDIT, row=0, col=AUDIT_DATA) expected:<...ices/AuditData.xsd">[ Now I have tried saving the file (on my PC) to UNIX format within Eclipse but when I check this into SVN I notice my file is in DOS format again The expected results file is:
</dataset> Steve Hicks
------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ dbunit-user mailing list dbunit-user@... https://lists.sourceforge.net/lists/listinfo/dbunit-user |
|
|
|
|
|
Re: DbUnit 2.4.4 - assertEquals for Oracle 10 clob works on Windows but not UNIX (our CI environment)Matthias Thanks for the suggestion but the SVN property is already set to native (which explains why it set it back to DOS on windows). Still something new I learned! Regards Steve -----Original Message----- From: Matthias Gommeringer [mailto:Matthias.Gommeringer@...] Sent: 26 October 2009 20:30 To: dbunit-user@... Subject: Re: [dbunit-user] DbUnit 2.4.4 - assertEquals for Oracle 10 clob works on Windows but not UNIX (our CI environment) Hi Steve, you may be able to solve your problem by setting the SVN property "svn:eol-style" to "native" for this file. See http://svnbook.red-bean.com/en/1.4/svn.advanced.props.file-portability.html rgds, matthias > -----Ursprüngliche Nachricht----- > Von: <steven.hicks@...> > Gesendet: 26.10.09 12:44:11 > An: <dbunit-user@...> > Betreff: [dbunit-user] DbUnit 2.4.4 - assertEquals for Oracle 10 clob > works on Windows but not UNIX (our CI environment) Hi > I have created an expected results file that asserts OK on Windows but > fails on UNIX with: > junit.framework.ComparisonFailure: value (table=AUDIT, row=0, col= > AUDIT_DATA) expected:<...ices/AuditData.xsd">[ > <audit-detail> > <description>User Name</description> > <mime-type>text/xml</mime-type> > <data>Steve Sidejkick</data> > </audit-detail> > <audit-detail> > <description>User Roles</description> > <mime-type>text/xml</mime-type> <data/> </audit-detail> ] </audit>> > but was:<...ices/AuditData.xsd">[ <audit-detail> <description>User > Name</description> <mime-type>text/xml</mime-type> <data>Steve > Sidejkick</data> </audit-detail> <audit-detail> <description>User > Roles</description> <mime-type>text/xml</mime-type> <data/> > </audit-detail>] </audit>> > > Now I have tried saving the file (on my PC) to UNIX format within > Eclipse but when I check this into SVN I notice my file is in DOS > format again The expected results file is: > <?xmlversion='1.0'encoding='UTF-8'?> > <dataset> > <SYNT_AUDITAUDIT_ID="6556"AUDIT_DATA="<audit xmlns="http:// > www.myco.com/AuditData.xsd"> > xD; <description>User Name</description> & > lt;mime-type>text/xml</mime-type> <data> > Steve Sidejkick</data> </audit-detail> > <audit-detail> <description>User Roles</ > description> <mime-type>text/xml</mime-type>& > #xD; <data/> </audit-detail> </ > audit>"AR_TIMESTAMP="[NULL]"AR_INSERT_TIMESTAMP="[NULL]"/> > </dataset> > > Steve Hicks > BT Innovate & Design | Customer Innovation Solutions | Lead Software > Engineer > Phone: +44 (0) 117 3024378 > Mobile: +44 (0) 7720 425253 > FAX: +44 (0) 2920 397035 > SMTP: steven.hicks@... > Office: pp 1/098, Ty Cynnal, Watkiss Way, Cardiff, CF11 0SW This email > contains BT information, which may be privileged or confidential. > It's meant only for the individual(s) or entity named above. If you' > re not the intended > recipient, note that disclosing, copying, distributing or using this > information is prohibited. If you've received this email in error, > please let me know immediately on the email address above. Thank you. > We monitor our email system, and may record your emails. > British Telecommunications plc > Registered office: 81 Newgate Street London EC1A 7AJ Registered in > England no: 1800000 Think before you print. Please consider the > environment before printing this email > ---------------------------------------------------------------------- > -------- Come build with us! The BlackBerry(R) Developer Conference in > SF, CA is the only developer event you need to attend this year. > Jumpstart your developing skills, take BlackBerry mobile applications > to market and stay ahead of the curve. Join us from November 9 - 12, > 2009. Register now! http://p.sf.net/sfu/devconference_________________ > ______________________________ dbunit-user mailing list dbunit-user@ > lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ > > dbunit-user ______________________________________________________ GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT! Jetzt freischalten unter http://movieflat.web.de ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ dbunit-user mailing list dbunit-user@... https://lists.sourceforge.net/lists/listinfo/dbunit-user ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ dbunit-user mailing list dbunit-user@... https://lists.sourceforge.net/lists/listinfo/dbunit-user |
|
|
|
|
|
|
| Free embeddable forum powered by Nabble | Forum Help |