jokiazhang / metadata-extractor

Automatically exported from code.google.com/p/metadata-extractor
0 stars 0 forks source link

Unit tests failing in some non-en-GB cultures #29

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
com.drew.metadata.exif.NikonType2MakernoteTest1#testGetAutoFlashCompensationDesc
ription
is not working in Germany as the formatted value is "0,67 EV" not "0.67 EV".

This may also be the case for other tests.

Preference is to force the culture during unit testing rather than modifying 
the code under test to always use the en-GB culture.  Users should get a format 
that's suited to their culture.

Original issue reported on code.google.com by drewnoakes on 28 Jun 2011 at 9:55

GoogleCodeExporter commented 9 years ago
http://stackoverflow.com/questions/8190124/junit-testing-double-tostring-in-mult
iple-cultures

Original comment by drewnoakes on 18 Nov 2011 at 10:56

GoogleCodeExporter commented 9 years ago

Original comment by drewnoakes on 16 Oct 2012 at 5:07

GoogleCodeExporter commented 9 years ago
This issue has been migrated along with the project to GitHub:

https://github.com/drewnoakes/metadata-extractor/issues/6

Original comment by drewnoakes on 19 Nov 2014 at 12:37

GoogleCodeExporter commented 9 years ago
Issue 95 has been merged into this issue.

Original comment by drewnoakes on 19 Nov 2014 at 6:53

GoogleCodeExporter commented 9 years ago
Issue completed on GitHub for release 2.7.0.

Original comment by drewnoakes on 4 Dec 2014 at 10:25