Changeset 10222 in josm for trunk/test/unit/org/openstreetmap/josm/gui
- Timestamp:
- 2016-05-15T21:14:06+02:00 (8 years ago)
- Location:
- trunk/test/unit/org/openstreetmap/josm/gui
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/DefaultNameFormatterTest.java
r10218 r10222 26 26 import org.xml.sax.SAXException; 27 27 28 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; 29 28 30 /** 29 31 * Unit tests of {@link DefaultNameFormatter} class. … … 46 48 */ 47 49 @Test 50 @SuppressFBWarnings(value = "ITA_INEFFICIENT_TO_ARRAY") 48 51 public void testTicket9632() throws IllegalDataException, IOException, SAXException { 49 52 String source = "http://josm.openstreetmap.de/josmfile?page=Presets/BicycleJunction&preset"; -
trunk/test/unit/org/openstreetmap/josm/gui/layer/gpx/DownloadWmsAlongTrackActionTest.java
r9958 r10222 43 43 */ 44 44 @Test 45 public void testT msLayer() throws Exception {45 public void testTMSLayer() throws Exception { 46 46 // Create new TMS layer and clear cache 47 47 TMSLayer layer = new TMSLayer(new ImageryInfo("OSM TMS", "https://a.tile.openstreetmap.org/{zoom}/{x}/{y}.png", "tms", null, null)); -
trunk/test/unit/org/openstreetmap/josm/gui/preferences/map/MapPaintPreferenceTestIT.java
r9868 r10222 27 27 import org.openstreetmap.josm.gui.preferences.SourceEditor.ExtendedSourceEntry; 28 28 29 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; 30 29 31 /** 30 32 * Integration tests of {@link MapPaintPreference} class. … … 36 38 */ 37 39 @Rule 40 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD") 38 41 public Timeout globalTimeout = Timeout.seconds(10*60); 39 42 -
trunk/test/unit/org/openstreetmap/josm/gui/preferences/map/TaggingPresetPreferenceTestIT.java
r9918 r10222 22 22 import org.xml.sax.SAXException; 23 23 24 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; 25 24 26 /** 25 27 * Integration tests of {@link TaggingPresetPreference} class. … … 31 33 */ 32 34 @Rule 35 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD") 33 36 public Timeout globalTimeout = Timeout.seconds(10*60); 34 37 -
trunk/test/unit/org/openstreetmap/josm/gui/tagging/presets/TaggingPresetReaderTest.java
r8863 r10222 62 62 @Override 63 63 public String apply(TaggingPresetItem x) { 64 return ((Key) x).key;64 return x instanceof Key ? ((Key) x).key : null; 65 65 } 66 66 });
Note:
See TracChangeset
for help on using the changeset viewer.