Changeset 9147 in josm for trunk/test
- Timestamp:
- 2015-12-25T14:16:49+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/tools/ImageProviderTest.java
r8857 r9147 10 10 import java.io.IOException; 11 11 12 import org.junit.BeforeClass; 12 13 import org.junit.Test; 14 import org.openstreetmap.josm.JOSMFixture; 13 15 import org.openstreetmap.josm.TestUtils; 14 16 … … 17 19 */ 18 20 public class ImageProviderTest { 21 22 /** 23 * Setup test. 24 */ 25 @BeforeClass 26 public static void setUp() { 27 JOSMFixture.createUnitTestFixture().init(); 28 } 19 29 20 30 /** … … 41 51 assertNotNull(img); 42 52 } 53 54 @Test 55 public void testWikiProtocol() throws Exception { 56 // https://commons.wikimedia.org/wiki/File:OpenJDK_logo.svg 57 assertNotNull(ImageProvider.get("wiki://OpenJDK_logo.svg")); 58 } 43 59 }
Note:
See TracChangeset
for help on using the changeset viewer.