Changeset 16897 in josm
- Timestamp:
- 2020-08-16T20:49:37+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/functional/org/openstreetmap/josm/gui/GettingStartedTest.java
r16871 r16897 3 3 4 4 import static org.junit.Assert.assertFalse; 5 import static org.junit.Assert.assertNotEquals; 5 6 6 7 import java.io.IOException; 7 8 8 9 import org.junit.BeforeClass; 10 import org.junit.Ignore; 9 11 import org.junit.Test; 10 12 import org.openstreetmap.josm.JOSMFixture; … … 29 31 */ 30 32 @Test 33 @Ignore("see #15240, inactive for /browser/trunk/nodist/images/download.png") 31 34 public void testImageReplacement() throws IOException { 32 35 final String motd = new GettingStarted.MotdContent().updateIfRequiredString(); 33 36 // assuming that the MOTD contains one image included, fixImageLinks changes the HTML string 34 assert False(GettingStarted.fixImageLinks(motd).equals(motd));37 assertNotEquals(GettingStarted.fixImageLinks(motd), motd); 35 38 } 36 39 … … 42 45 final String html = "the download button <img src=\"/browser/trunk/resources/images/download.svg?format=raw\" " + 43 46 "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); 46 48 } 47 49 }
Note:
See TracChangeset
for help on using the changeset viewer.