Ignore:
Timestamp:
2015-10-24T00:54:52+02:00 (9 years ago)
Author:
Don-vip
Message:

add unit tests to check validity of all map paint styles and tagging presets

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/tagging/presets/TaggingPreset.java

    r8926 r8937  
    8383    public static final String OPTIONAL_TOOLTIP_TEXT = "Optional tooltip text";
    8484
     85    /** Prefix of preset icon loading failure error message */
     86    public static final String PRESET_ICON_ERROR_MSG_PREFIX = "Could not get presets icon ";
     87
    8588    public TaggingPresetMenu group;
    8689    public String name;
     
    166169     * Called from the XML parser to set the icon.
    167170     * The loading task is performed in the background in order to speedup startup.
     171     * @param iconName icon name
    168172     */
    169173    public void setIcon(final String iconName) {
     
    190194                    });
    191195                } else {
    192                     Main.warn("Could not get presets icon " + iconName);
     196                    Main.warn(PRESET_ICON_ERROR_MSG_PREFIX + iconName);
    193197                }
    194198            }
Note: See TracChangeset for help on using the changeset viewer.