Ignore:
Timestamp:
2016-01-07T01:53:58+01:00 (8 years ago)
Author:
Don-vip
Message:

see #12282 - handle warnings for mappaint styles:

  • Log warnings that occur when loading style
  • Display them in Mappaint dialog (Info action)
  • Drop redundant error icon
  • Ignore XML styles in styles validation test
  • Make styles validation test fail if at least a warning occur
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/gui/layer/geoimage/ImageEntryTest.java

    r9329 r9334  
    55
    66import java.io.File;
    7 import java.io.IOException;
    87
    98import org.junit.Test;
    109import org.openstreetmap.josm.TestUtils;
    11 import org.openstreetmap.josm.io.IllegalDataException;
    12 import org.xml.sax.SAXException;
    1310
    1411/**
     
    1916    /**
    2017     * Non-regression test for ticket <a href="https://josm.openstreetmap.de/ticket/12255">#12255</a>.
    21      * @throws IllegalDataException if an error was found while parsing the data from the source
    22      * @throws IOException if any I/O error occurs
    23      * @throws SAXException if any XML error occurs
    2418     */
    2519    @Test
    26     public void testTicket12255() throws IllegalDataException, IOException, SAXException {
     20    public void testTicket12255() {
    2721        ImageEntry e = new ImageEntry(new File(TestUtils.getRegressionDataFile(12255, "G0016941.JPG")));
    2822        e.extractExif();
Note: See TracChangeset for help on using the changeset viewer.