Closed Bug 801100 Opened 13 years ago Closed 13 years ago

TestCredentialsEndToEnd fails under Eclipse

Categories

(Firefox for Android Graveyard :: Android Sync, defect, P1)

All
Android
defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: nalexander, Unassigned)

Details

org.junit.ComparisonFailure: expected:<p[√Øg√©]ons1> but was:<p[ɬ�gɬ�]ons1> at org.junit.Assert.assertEquals(Assert.java:125) at org.junit.Assert.assertEquals(Assert.java:147) at org.mozilla.android.sync.net.test.TestCredentialsEndToEnd.testUTF8(TestCredentialsEndToEnd.java:43) ...
When you expand android-sync src/test/java org.mozilla.android.sync.net.test … TestCredentialsEndToEnd.java Properties on that file. What does it show for Text file encoding at the bottom?
Flags: needinfo?(nalexander)
I see: Default (inherited from container: MacRoman)
Flags: needinfo?(nalexander)
Should be UTF-8. Eclipse, for no sane reason, doesn't default to UTF-8. http://www.eclipsezone.com/eclipse/forums/t93442.rhtml We should amend our example workspace files accordingly.
Fixed by changing eclipse settings. I'm not to fussed about updating the example workspace files, since I'm confident they don't work for lots of other things.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
Product: Mozilla Services → Android Background Services
Product: Android Background Services → Firefox for Android
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.