Changeset 31490 in osm for applications/editors/josm/plugins/mapillary/test
- Timestamp:
- 2015-08-12T12:39:42+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/mapillary/test/unit/org/openstreetmap/josm/plugins/mapillary/commands/MapillaryRecordTest.java
r31482 r31490 10 10 import org.openstreetmap.josm.plugins.mapillary.MapillaryAbstractImage; 11 11 import org.openstreetmap.josm.plugins.mapillary.MapillaryImage; 12 import org.openstreetmap.josm.plugins.mapillary.history.MapillaryRecord; 13 import org.openstreetmap.josm.plugins.mapillary.history.commands.CommandMove; 14 import org.openstreetmap.josm.plugins.mapillary.history.commands.CommandTurn; 15 import org.openstreetmap.josm.plugins.mapillary.history.commands.MapillaryCommand; 12 16 13 17 /** … … 41 45 @Test 42 46 public void commandTest() { 43 MapillaryCommand cmd12 = new CommandMove Image(47 MapillaryCommand cmd12 = new CommandMove( 44 48 Arrays.asList(new MapillaryAbstractImage[] { this.img1, this.img2 }), 45 49 0.1, 0.1); 46 MapillaryCommand cmd23 = new CommandMove Image(50 MapillaryCommand cmd23 = new CommandMove( 47 51 Arrays.asList(new MapillaryAbstractImage[] { this.img2, this.img3 }), 48 52 0.1, 0.1); 49 MapillaryCommand cmd13 = new CommandMove Image(53 MapillaryCommand cmd13 = new CommandMove( 50 54 Arrays.asList(new MapillaryAbstractImage[] { this.img1, this.img3 }), 51 55 0.1, 0.1); 52 MapillaryCommand cmd1 = new CommandMove Image(56 MapillaryCommand cmd1 = new CommandMove( 53 57 Arrays.asList(new MapillaryAbstractImage[] { this.img1 }), 54 58 0.1, 0.1); 55 MapillaryCommand cmd31 = new CommandMove Image(59 MapillaryCommand cmd31 = new CommandMove( 56 60 Arrays.asList(new MapillaryAbstractImage[] { this.img3, this.img1 }), 57 61 0.2, 0.2); … … 98 102 @Test 99 103 public void commandMoveTest() { 100 CommandMove Imagecmd1 = new CommandMoveImage(104 CommandMove cmd1 = new CommandMove( 101 105 Arrays.asList(new MapillaryAbstractImage[] { this.img1, this.img2 }), 102 106 0.1, 0.1); 103 CommandMove Imagecmd2 = new CommandMoveImage(107 CommandMove cmd2 = new CommandMove( 104 108 Arrays.asList(new MapillaryAbstractImage[] { this.img1, this.img2 }), 105 109 0.1, 0.1); … … 132 136 @Test 133 137 public void commandTurnTest() { 134 CommandTurn Imagecmd1 = new CommandTurnImage(138 CommandTurn cmd1 = new CommandTurn( 135 139 Arrays.asList(new MapillaryAbstractImage[] { this.img1, this.img2 }), 136 140 0.2); 137 CommandTurn Imagecmd2 = new CommandTurnImage(141 CommandTurn cmd2 = new CommandTurn( 138 142 Arrays.asList(new MapillaryAbstractImage[] { this.img1, this.img2 }), 139 143 0.1);
Note:
See TracChangeset
for help on using the changeset viewer.