Changeset 2748 in josm for trunk/test/functional/org/openstreetmap
- Timestamp:
- 2010-01-06T20:35:56+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/functional/org/openstreetmap/josm/fixtures/JOSMFixture.java
r2600 r2748 14 14 import org.openstreetmap.josm.data.projection.Mercator; 15 15 import org.openstreetmap.josm.io.OsmApi; 16 import org.openstreetmap.josm.tools.I18n; 16 17 17 18 public class JOSMFixture { … … 42 43 } catch(Exception e){ 43 44 logger.log(Level.SEVERE, MessageFormat.format("failed to load property file ''{0}''", testPropertiesResourceName)); 44 fail(MessageFormat.format("failed to load property file ''{0}'' ", testPropertiesResourceName));45 fail(MessageFormat.format("failed to load property file ''{0}''. \nMake sure the path ''$project_root/test/config'' is on the classpath.", testPropertiesResourceName)); 45 46 } 46 47 … … 53 54 File f = new File(josmHome); 54 55 if (! f.exists() || ! f.canRead()) { 55 fail(MessageFormat.format("property ''{0}'' points to ''{1}'' which is either not existing or not readable ", "josm.home", josmHome));56 fail(MessageFormat.format("property ''{0}'' points to ''{1}'' which is either not existing or not readable.\nEdit ''{2}'' and update the value ''josm.home''. ", "josm.home", josmHome,testPropertiesResourceName )); 56 57 } 57 58 } 58 59 System.setProperty("josm.home", josmHome); 60 I18n.init(); 61 // initialize the plaform hook, and 62 Main.determinePlatformHook(); 63 // call the really early hook before we anything else 64 Main.platform.preStartupHook(); 65 59 66 Main.pref.init(false); 60 67
Note:
See TracChangeset
for help on using the changeset viewer.