From: Stefan F. <ste...@we...> - 2011-08-09 16:23:03
|
Erik, The encoding (at least accoding to my editor) of the report files is still UTF-8 and they open up in the editor correctly. All tests report passed as well. However to avoid those issues I suggest to remove the currency indicator from the report files used for testing. I can do the code change tomorrow. Stefan On Tuesday, August 09, 2011 03:44:12 pm Erik Vos wrote: > Stefan, > > Not sure what has changed, but on another attempt to run the JUnit tests > I'm getting massive differences, all related to one specific special > character being differently encoded. > Error messages are like: > > real\1889_A(test.TestGame) > junit.framework.ComparisonFailure: Reports differ in line 5 > expected:<PlayerCash,[Â]¥420> but was:<PlayerCash,[]¥420> > > and > > real\18EU_A(test.TestGame) > junit.framework.ComparisonFailure: Reports differ in line 611 > expected:<...OMPANY_LOG,Joakim,KK[ÃB,$70,$140,2,20,KKÃ]B> but > was:<...OMPANY_LOG,Joakim,KK[ÖB,$70,$140,2,20,KKÖ]B> > > Only 1889 (on the ¥) and 18EU (on the Ö) fail this way. No more failures > with other games. > My best guess for a cause is that Unicode characters in the .report files > are no longer recognised as such. Can the formats in the repository have > changed? > > Erik. > > > -----Original Message----- > > From: Erik Vos [mailto:eri...@xs...] > > Sent: Saturday, August 06, 2011 11:48 AM > > To: 'Development list for Rails: an 18xx game' > > Subject: Re: [Rails-devel] Output of failed tests (a3aed4) > > > > The nice thing about tools like WinMerge is that you can compare whole > > directory trees, making it show (for instance) the different files only, > > which > > > obviously must the have the same name to make this work. I have been > > using that often to compare different versions of some tree, and have > > done so with Rails in the past. > > > > But of course it can also load single pairs of files to compare. Don't > > worry, the > > > Rails test set is still small enough to make the one-by-one comparisons > > easy > > > to do, in particular if only the failed files are saved. > > > > Erik. > > --------------------------------------------------------------------------- > --- uberSVN's rich system and user administration capabilities and model > configuration take the hassle out of deploying and managing Subversion and > the tools developers use with it. Learn more about uberSVN and get a free > download at: http://p.sf.net/sfu/wandisco-dev2dev > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel |