From: Erik V. <eri...@xs...> - 2011-08-09 13:43:59
|
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. |