Changeset 2748 in josm for trunk/test
- Timestamp:
- 2010-01-06T20:35:56+01:00 (15 years ago)
- Location:
- trunk/test
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/config/test-functional-env.properties
r1806 r2748 9 9 # This is the home directory for JOSM plugins: ${josm.home}\plugins\*.jar 10 10 # 11 josm.home=C:\\data\\projekte\\osm\\ tag-editor-plugin11 josm.home=C:\\data\\projekte\\osm\\josm-dev 12 12 13 13 … … 16 16 # temporary results 17 17 # 18 test.functional.tempdir=C:\\data\\projekte\\ eclipse-3.4.1-ws\\JOSM-1769\\test\\data\\temp18 test.functional.tempdir=C:\\data\\projekte\\osm\\josm-dev\\temp 19 19 -
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.