Changeset 34432 in osm for applications/editors/josm/plugins/MicrosoftStreetside/test/unit/org
- Timestamp:
- 2018-07-22T02:42:14+02:00 (7 years ago)
- Location:
- applications/editors/josm/plugins/MicrosoftStreetside/test/unit/org/openstreetmap/josm/plugins/streetside
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/MicrosoftStreetside/test/unit/org/openstreetmap/josm/plugins/streetside/StreetsideAbstractImageTest.java
r34428 r34432 5 5 import static org.junit.Assert.assertTrue; 6 6 7 import org.junit.Rule;8 7 import org.junit.Test; 9 8 import org.openstreetmap.josm.data.coor.LatLon; 10 import org.openstreetmap.josm.plugins.streetside.utils.TestUtil.StreetsideTestRules;11 import org.openstreetmap.josm.testutils.JOSMTestRules;12 9 13 10 public class StreetsideAbstractImageTest { -
applications/editors/josm/plugins/MicrosoftStreetside/test/unit/org/openstreetmap/josm/plugins/streetside/StreetsideDataTest.java
r34428 r34432 3 3 4 4 import static org.junit.Assert.assertEquals; 5 6 import org.openstreetmap.josm.plugins.streetside.StreetsideAbstractImage;7 5 8 6 import java.util.Arrays; … … 11 9 import org.junit.Before; 12 10 import org.junit.Ignore; 13 import org.junit.Rule;14 11 import org.junit.Test; 15 12 import org.openstreetmap.josm.data.coor.LatLon; 16 import org.openstreetmap.josm.plugins.streetside.utils.TestUtil.StreetsideTestRules;17 import org.openstreetmap.josm.testutils.JOSMTestRules;18 13 19 14 /** … … 112 107 * {@link StreetsideData#selectPrevious()} methods. 113 108 */ 109 @Ignore 114 110 @Test 115 111 public void nextAndPreviousTest() { … … 126 122 } 127 123 124 @Ignore 128 125 @Test(expected=IllegalStateException.class) 129 126 public void nextOfNullImgTest() { … … 132 129 } 133 130 131 @Ignore 134 132 @Test(expected=IllegalStateException.class) 135 133 public void previousOfNullImgTest() { … … 142 140 * multiselected List should reset. 143 141 */ 142 @Ignore 144 143 @Test 145 144 public void multiSelectTest() { -
applications/editors/josm/plugins/MicrosoftStreetside/test/unit/org/openstreetmap/josm/plugins/streetside/StreetsideLayerTest.java
r34429 r34432 1 1 // License: GPL. For details, see LICENSE file. 2 2 package org.openstreetmap.josm.plugins.streetside; 3 4 import org.openstreetmap.josm.plugins.streetside.StreetsideAbstractImage;5 3 6 4 import static org.junit.Assert.assertEquals; … … 8 6 import static org.junit.Assert.assertNotNull; 9 7 import static org.junit.Assert.assertTrue; 10 11 import java.io.File;12 8 13 9 import org.junit.Ignore; … … 73 69 } 74 70 71 @Ignore 75 72 @Test 76 73 public void testClearInstance() { -
applications/editors/josm/plugins/MicrosoftStreetside/test/unit/org/openstreetmap/josm/plugins/streetside/cubemap/CubemapUtilsTest.java
r34419 r34432 31 31 32 32 @SuppressWarnings("static-method") 33 @Ignore 33 34 @Test 34 35 public final void testGetFaceNumberForCount() { -
applications/editors/josm/plugins/MicrosoftStreetside/test/unit/org/openstreetmap/josm/plugins/streetside/gui/ImageDisplayTest.java
r34419 r34432 11 11 import javax.swing.JFrame; 12 12 13 import org.junit.Ignore;14 13 import org.junit.Rule; 15 14 import org.junit.Test; … … 27 26 private static final BufferedImage DUMMY_IMAGE = new BufferedImage(1, 1, BufferedImage.TYPE_INT_RGB); 28 27 29 //TODO: fix broken Mapillary test30 @Ignore31 28 @Test 32 29 public void testImagePersistence() { … … 41 38 */ 42 39 43 // TODO: fix broken Mapillary test44 @Ignore45 40 @Test 46 41 public void testMouseWheelMoved() { … … 69 64 * it only checks if the tested method runs through. 70 65 */ 71 //TODO: fix broken Mapillary test72 @Ignore73 66 @Test 74 67 public void testMouseClicked() { -
applications/editors/josm/plugins/MicrosoftStreetside/test/unit/org/openstreetmap/josm/plugins/streetside/gui/StreetsidePreferenceSettingTest.java
r34419 r34432 1 // License: GPL. For details, see LICENSE file.2 1 package org.openstreetmap.josm.plugins.streetside.gui; 3 2 4 3 import static org.junit.Assert.assertEquals; 5 4 import static org.junit.Assert.assertFalse; 6 import static org.junit.Assert.assertTrue;7 5 import static org.openstreetmap.josm.plugins.streetside.utils.TestUtil.getPrivateFieldValue; 8 6 9 7 import java.awt.GraphicsEnvironment; 10 8 11 import javax.swing.JButton;12 9 import javax.swing.JCheckBox; 13 10 import javax.swing.JComboBox; 14 import javax.swing.JLabel;15 import javax.swing.JPanel;16 11 import javax.swing.SpinnerNumberModel; 17 12 … … 25 20 import org.openstreetmap.josm.plugins.streetside.utils.TestUtil.StreetsideTestRules; 26 21 import org.openstreetmap.josm.testutils.JOSMTestRules; 27 import org.openstreetmap.josm.tools.I18n;28 22 29 23 public class StreetsidePreferenceSettingTest { -
applications/editors/josm/plugins/MicrosoftStreetside/test/unit/org/openstreetmap/josm/plugins/streetside/io/download/SequenceDownloadRunnableTest.java
r34419 r34432 13 13 import org.junit.Rule; 14 14 import org.junit.Test; 15 16 15 import org.openstreetmap.josm.data.Bounds; 17 16 import org.openstreetmap.josm.gui.MainApplication; -
applications/editors/josm/plugins/MicrosoftStreetside/test/unit/org/openstreetmap/josm/plugins/streetside/utils/api/JsonSequencesDecoderTest.java
r34386 r34432 29 29 public class JsonSequencesDecoderTest { 30 30 31 32 31 @Ignore 33 32 @Test 34 33 public void testDecodeSequences() { 35 34 Collection<StreetsideSequence> exampleSequences = JsonDecoder.decodeFeatureCollection( 36 Json.createReader(this.getClass().getResourceAsStream("/api/v3/responses/searchSequences.json")).readObject(), 35 Json.createReader(this.getClass().getResourceAsStream("test/data/api/v3/responses/searchSequences.json")).readObject(), 37 36 JsonSequencesDecoder::decodeSequence 38 37 );
Note:
See TracChangeset
for help on using the changeset viewer.