Index: /trunk/test/unit/org/openstreetmap/josm/JOSMFixture.java
===================================================================
--- /trunk/test/unit/org/openstreetmap/josm/JOSMFixture.java	(revision 7365)
+++ /trunk/test/unit/org/openstreetmap/josm/JOSMFixture.java	(revision 7366)
@@ -5,6 +5,6 @@
 
 import java.io.File;
+import java.nio.file.Paths;
 import java.text.MessageFormat;
-import java.util.logging.Logger;
 
 import org.openstreetmap.josm.data.projection.Projections;
@@ -12,15 +12,29 @@
 import org.openstreetmap.josm.tools.I18n;
 
+/**
+ * Fixture to define a proper and safe environment before running tests.
+ */
 public class JOSMFixture {
-    static private final Logger logger = Logger.getLogger(JOSMFixture.class.getName());
 
+    /**
+     * Returns a new test fixture initialized to "unit" home.
+     * @return A new test fixture for unit tests
+     */
     static public JOSMFixture createUnitTestFixture() {
         return new JOSMFixture("test/config/unit-josm.home");
     }
 
+    /**
+     * Returns a new test fixture initialized to "functional" home.
+     * @return A new test fixture for functional tests
+     */
     static public JOSMFixture createFunctionalTestFixture() {
         return new JOSMFixture("test/config/functional-josm.home");
     }
 
+    /**
+     * Returns a new test fixture initialized to "performance" home.
+     * @return A new test fixture for performance tests
+     */
     static public JOSMFixture createPerformanceTestFixture() {
         return new JOSMFixture("test/config/performance-josm.home");
@@ -29,8 +43,15 @@
     private final String josmHome;
 
+    /**
+     * Constructs a new text fixture initialized to a given josm home.
+     * @param josmHome The user home where preferences are to be read/written
+     */
     public JOSMFixture(String josmHome) {
         this.josmHome = josmHome;
     }
 
+    /**
+     * Initializes the test fixture.
+     */
     public void init() {
 
@@ -42,5 +63,6 @@
             File f = new File(josmHome);
             if (! f.exists() || ! f.canRead()) {
-                fail(MessageFormat.format("property ''{0}'' points to ''{1}'' which is either not existing or not readable.", "josm.home", josmHome));
+                fail(MessageFormat.format("property ''{0}'' points to ''{1}'' which is either not existing ({2}) or not readable ({3}). Current directory is ''{4}''.",
+                        "josm.home", josmHome, f.exists(), f.canRead(), Paths.get("").toAbsolutePath()));
             }
         }
