Hi Rob, On 09.12.2012 03:10, Rob Weir wrote:
Some more details:My JDK: java version "1.6.0_24" OpenJDK Runtime Environment (IcedTea6 1.11.5) (6b24-1.11.5-0ubuntu1~12.04.1) OpenJDK Client VM (build 20.0-b12, mixed mode, sharing) I'm getting this error: Failed tests: testGetLanguage(org.odftoolkit.simple.meta.OfficeMetaTest) The test is expecting "en" (based on System.getProperty("user.language")) but instead fMetadata.getLanguage() is returning "Chinese". The problem appears to be that testGetLanguage() is called before testSetLanguage(). This looks like another order dependency in the test cases, like Florian was mentioning a few days ago. Due to differences in Reflection API, the order of test case execution in JUnit is indeterminate.
Can you do an update and rerun the tests? This one has never failed for me but I changed it so that there shouldn't be any problems with ordering anymore. Let me know if there still are problems.
Regards Florian -- Florian Hopf Freelance Software Developer http://blog.florian-hopf.de
