Ignore:
Timestamp:
2010-01-06T20:35:56+01:00 (15 years ago)
Author:
Gubaer
Message:

new: JOSM now supports OAuth

See also online help for server preferences and new OAuth Authorisation Wizard

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/functional/org/openstreetmap/josm/fixtures/JOSMFixture.java

    r2600 r2748  
    1414import org.openstreetmap.josm.data.projection.Mercator;
    1515import org.openstreetmap.josm.io.OsmApi;
     16import org.openstreetmap.josm.tools.I18n;
    1617
    1718public class JOSMFixture {
     
    4243        } catch(Exception e){
    4344            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));
    4546        }
    4647
     
    5354            File f = new File(josmHome);
    5455            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 ));
    5657            }
    5758        }
    5859        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
    5966        Main.pref.init(false);
    6067
Note: See TracChangeset for help on using the changeset viewer.