Ignore:
Timestamp:
2016-10-08T14:04:09+02:00 (8 years ago)
Author:
Don-vip
Message:

add more unit tests

Location:
trunk/src/org/openstreetmap/josm/tools/bugreport
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/bugreport/BugReportDialog.java

    r10819 r11102  
    111111        panel.add(new UrlLabel(Main.getJOSMWebsite() + "/newticket"), GBC.std().fill(GBC.HORIZONTAL));
    112112        JButton copy = new JButton("Copy to clipboard");
    113         copy.addActionListener(e -> textPanel.copyToClippboard());
     113        copy.addActionListener(e -> textPanel.copyToClipboard());
    114114        panel.add(copy, GBC.eol().anchor(GBC.EAST));
    115115        content.add(panel, GBC.eop().fill());
  • trunk/src/org/openstreetmap/josm/tools/bugreport/DebugTextDisplay.java

    r10695 r11102  
    6565     * Copies the debug text to the clipboard. This includes the code tags for trac.
    6666     * @return <code>true</code> if copy was successful
     67     * @since 11102 (typo)
    6768     */
    68     public boolean copyToClippboard() {
     69    public boolean copyToClipboard() {
    6970        return ClipboardUtils.copyString(String.format(CODE_PATTERN, text));
    7071    }
Note: See TracChangeset for help on using the changeset viewer.