Changeset 14101 in josm for trunk/test/unit/org
- Timestamp:
- 2018-08-07T00:24:36+02:00 (6 years ago)
- Location:
- trunk/test/unit/org/openstreetmap/josm
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/actions/mapmode/AddNoteActionTest.java
r12636 r14101 5 5 import static org.junit.Assert.assertTrue; 6 6 7 import java.util.Collections;8 9 7 import org.junit.Rule; 10 8 import org.junit.Test; 11 import org.openstreetmap.josm.data.notes.Note;12 9 import org.openstreetmap.josm.data.osm.DataSet; 13 10 import org.openstreetmap.josm.data.osm.NoteData; … … 39 36 try { 40 37 MainApplication.getLayerManager().addLayer(layer); 41 AddNoteAction mapMode = new AddNoteAction(new NoteData( Collections.<Note>emptyList()));38 AddNoteAction mapMode = new AddNoteAction(new NoteData()); 42 39 MapFrame map = MainApplication.getMap(); 43 40 MapMode oldMapMode = map.mapMode; -
trunk/test/unit/org/openstreetmap/josm/data/osm/NoteDataTest.java
r9666 r14101 20 20 @Test 21 21 public void testNoteData() { 22 NoteData empty = new NoteData( null);22 NoteData empty = new NoteData(); 23 23 assertEquals(0, empty.getNotes().size()); 24 24 NoteData notEmpty = new NoteData(Arrays.asList(new Note(LatLon.ZERO)));
Note:
See TracChangeset
for help on using the changeset viewer.