Changeset 16897 in josm


Ignore:
Timestamp:
2020-08-16T20:49:37+02:00 (4 years ago)
Author:
simon04
Message:

see #15240 - Ignore GettingStartedTest.testImageReplacement

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/functional/org/openstreetmap/josm/gui/GettingStartedTest.java

    r16871 r16897  
    33
    44import static org.junit.Assert.assertFalse;
     5import static org.junit.Assert.assertNotEquals;
    56
    67import java.io.IOException;
    78
    89import org.junit.BeforeClass;
     10import org.junit.Ignore;
    911import org.junit.Test;
    1012import org.openstreetmap.josm.JOSMFixture;
     
    2931     */
    3032    @Test
     33    @Ignore("see #15240, inactive for /browser/trunk/nodist/images/download.png")
    3134    public void testImageReplacement() throws IOException {
    3235        final String motd = new GettingStarted.MotdContent().updateIfRequiredString();
    3336        // assuming that the MOTD contains one image included, fixImageLinks changes the HTML string
    34         assertFalse(GettingStarted.fixImageLinks(motd).equals(motd));
     37        assertNotEquals(GettingStarted.fixImageLinks(motd), motd);
    3538    }
    3639
     
    4245        final String html = "the download button <img src=\"/browser/trunk/resources/images/download.svg?format=raw\" " +
    4346                "alt=\"source:trunk/resources/images/download.svg\" title=\"source:trunk/resources/images/download.svg\" />.";
    44         assertFalse(GettingStarted.fixImageLinks(html).equals(html));
    45 
     47        assertNotEquals(GettingStarted.fixImageLinks(html), html);
    4648    }
    4749}
Note: See TracChangeset for help on using the changeset viewer.