Changeset 30557 in osm
- Timestamp:
- 2014-08-04T20:54:54+02:00 (10 years ago)
- Location:
- applications/editors/josm/plugins/turnrestrictions/test/unit/org/openstreetmap/josm/plugins/turnrestrictions
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/turnrestrictions/test/unit/org/openstreetmap/josm/plugins/turnrestrictions/TurnRestrictionBuilderTest.groovy
r30555 r30557 185 185 tr = builder.build([w2,w1,n2]) 186 186 187 double a = inter esectionAngle(w2, w1)187 double a = intersectionAngle(w2, w1) 188 188 println "a=" + Math.toDegrees(a) 189 189 … … 377 377 Way to = nw(2,n2,n3) 378 378 379 double a = TurnRestrictionBuilder.inter esectionAngle(from, to)379 double a = TurnRestrictionBuilder.intersectionAngle(from, to) 380 380 RelativeWayJoinOrientation o = TurnRestrictionBuilder.determineWayJoinOrientation(from,to) 381 381 assert Math.toDegrees(a) == -90 … … 387 387 from = nw(1,n2,n1) 388 388 to = nw(2,n2,n3) 389 a = TurnRestrictionBuilder.inter esectionAngle(from, to)389 a = TurnRestrictionBuilder.intersectionAngle(from, to) 390 390 o = TurnRestrictionBuilder.determineWayJoinOrientation(from,to) 391 391 assert Math.toDegrees(a) == -90 … … 397 397 from = nw(1,n1,n2) 398 398 to = nw(2,n3,n2) 399 a = TurnRestrictionBuilder.inter esectionAngle(from, to)399 a = TurnRestrictionBuilder.intersectionAngle(from, to) 400 400 o = TurnRestrictionBuilder.determineWayJoinOrientation(from,to) 401 401 assert Math.toDegrees(a) == -90 … … 407 407 from = nw(1,n2,n1) 408 408 to = nw(2,n3,n2) 409 a = TurnRestrictionBuilder.inter esectionAngle(from, to)409 a = TurnRestrictionBuilder.intersectionAngle(from, to) 410 410 o = TurnRestrictionBuilder.determineWayJoinOrientation(from,to) 411 411 assert Math.toDegrees(a) == -90 … … 432 432 Way to = nw(2,n2,n3) 433 433 434 double a = TurnRestrictionBuilder.inter esectionAngle(from, to)434 double a = TurnRestrictionBuilder.intersectionAngle(from, to) 435 435 assert Math.toDegrees(a) == 90 436 436 … … 440 440 from = nw(1,n2,n1) 441 441 to = nw(2,n2,n3) 442 a = TurnRestrictionBuilder.inter esectionAngle(from, to)442 a = TurnRestrictionBuilder.intersectionAngle(from, to) 443 443 assert Math.toDegrees(a) == 90 444 444 … … 448 448 from = nw(1,n1,n2) 449 449 to = nw(2,n3,n2) 450 a = TurnRestrictionBuilder.inter esectionAngle(from, to)450 a = TurnRestrictionBuilder.intersectionAngle(from, to) 451 451 assert Math.toDegrees(a) == 90 452 452 … … 456 456 from = nw(1,n2,n1) 457 457 to = nw(2,n3,n2) 458 a = TurnRestrictionBuilder.inter esectionAngle(from, to)458 a = TurnRestrictionBuilder.intersectionAngle(from, to) 459 459 assert Math.toDegrees(a) == 90 460 460 } … … 484 484 Way to = nw(2,n2,n3) 485 485 486 double a = TurnRestrictionBuilder.inter esectionAngle(from, to)486 double a = TurnRestrictionBuilder.intersectionAngle(from, to) 487 487 assert Math.toDegrees(a) == 45 488 488 … … 492 492 from = nw(1,n2,n1) 493 493 to = nw(2,n2,n3) 494 a = TurnRestrictionBuilder.inter esectionAngle(from, to)494 a = TurnRestrictionBuilder.intersectionAngle(from, to) 495 495 assert Math.toDegrees(a) == 45 496 496 … … 500 500 from = nw(1,n1,n2) 501 501 to = nw(2,n3,n2) 502 a = TurnRestrictionBuilder.inter esectionAngle(from, to)502 a = TurnRestrictionBuilder.intersectionAngle(from, to) 503 503 assert Math.toDegrees(a) == 45 504 504 … … 508 508 from = nw(1,n2,n1) 509 509 to = nw(2,n3,n2) 510 a = TurnRestrictionBuilder.inter esectionAngle(from, to)510 a = TurnRestrictionBuilder.intersectionAngle(from, to) 511 511 assert Math.toDegrees(a) == 45 512 512 } … … 535 535 Way to = nw(2,n2,n3) 536 536 537 double a = TurnRestrictionBuilder.inter esectionAngle(from, to)537 double a = TurnRestrictionBuilder.intersectionAngle(from, to) 538 538 assert Math.toDegrees(a) == -45 539 539 … … 543 543 from = nw(1,n2,n1) 544 544 to = nw(2,n2,n3) 545 a = TurnRestrictionBuilder.inter esectionAngle(from, to)545 a = TurnRestrictionBuilder.intersectionAngle(from, to) 546 546 assert Math.toDegrees(a) == -45 547 547 … … 551 551 from = nw(1,n1,n2) 552 552 to = nw(2,n3,n2) 553 a = TurnRestrictionBuilder.inter esectionAngle(from, to)553 a = TurnRestrictionBuilder.intersectionAngle(from, to) 554 554 assert Math.toDegrees(a) == -45 555 555 … … 559 559 from = nw(1,n2,n1) 560 560 to = nw(2,n3,n2) 561 a = TurnRestrictionBuilder.inter esectionAngle(from, to)561 a = TurnRestrictionBuilder.intersectionAngle(from, to) 562 562 assert Math.toDegrees(a) == -45 563 563 } -
applications/editors/josm/plugins/turnrestrictions/test/unit/org/openstreetmap/josm/plugins/turnrestrictions/editor/BasicEditorPanelTest.java
r23192 r30557 6 6 import javax.swing.JFrame; 7 7 8 import org.junit.Ignore; 8 9 import org.openstreetmap.josm.data.osm.DataSet; 9 10 import org.openstreetmap.josm.gui.layer.OsmDataLayer; … … 13 14 * 14 15 */ 16 @Ignore("no test") 15 17 public class BasicEditorPanelTest extends JFrame { 16 18 -
applications/editors/josm/plugins/turnrestrictions/test/unit/org/openstreetmap/josm/plugins/turnrestrictions/editor/TurnRestrictionComboBoxTest.java
r23192 r30557 7 7 import javax.swing.JFrame; 8 8 9 import org.junit.Ignore; 9 10 import org.openstreetmap.josm.data.osm.DataSet; 10 11 import org.openstreetmap.josm.gui.layer.OsmDataLayer; … … 15 16 * 16 17 */ 18 @Ignore("no test") 17 19 public class TurnRestrictionComboBoxTest extends JFrame { 18 20 -
applications/editors/josm/plugins/turnrestrictions/test/unit/org/openstreetmap/josm/plugins/turnrestrictions/editor/TurnRestrictionEditorTest.java
r23192 r30557 3 3 import javax.swing.JFrame; 4 4 5 import org.junit.Ignore; 5 6 import org.openstreetmap.josm.data.osm.DataSet; 6 7 import org.openstreetmap.josm.gui.layer.OsmDataLayer; … … 9 10 * 10 11 */ 12 @Ignore("no test") 11 13 public class TurnRestrictionEditorTest extends JFrame { 12 14 -
applications/editors/josm/plugins/turnrestrictions/test/unit/org/openstreetmap/josm/plugins/turnrestrictions/editor/TurnRestrictionLegEditorTest.java
r30532 r30557 16 16 import javax.swing.JScrollPane; 17 17 18 import org.junit.Ignore; 18 19 import org.openstreetmap.josm.data.coor.LatLon; 19 20 import org.openstreetmap.josm.data.osm.DataSet; … … 32 33 * {@see TurnRestrictionLegEditor} 33 34 */ 35 @Ignore("no test") 34 36 public class TurnRestrictionLegEditorTest extends JFrame { 35 37 -
applications/editors/josm/plugins/turnrestrictions/test/unit/org/openstreetmap/josm/plugins/turnrestrictions/editor/VehicleExceptionEditorTest.java
r23192 r30557 6 6 import javax.swing.JFrame; 7 7 8 import org.junit.Ignore; 8 9 import org.openstreetmap.josm.data.osm.DataSet; 9 10 import org.openstreetmap.josm.gui.layer.OsmDataLayer; … … 14 15 * 15 16 */ 17 @Ignore("no test") 16 18 public class VehicleExceptionEditorTest extends JFrame { 17 19 TurnRestrictionEditorModel model; -
applications/editors/josm/plugins/turnrestrictions/test/unit/org/openstreetmap/josm/plugins/turnrestrictions/editor/ViaListTest.java
r30532 r30557 10 10 import javax.swing.JList; 11 11 12 import org.junit.Ignore; 12 13 import org.openstreetmap.josm.data.coor.LatLon; 13 14 import org.openstreetmap.josm.data.osm.DataSet; … … 21 22 * 22 23 */ 24 @Ignore("no test") 23 25 public class ViaListTest extends JFrame { 24 26 -
applications/editors/josm/plugins/turnrestrictions/test/unit/org/openstreetmap/josm/plugins/turnrestrictions/qa/IssuesViewTest.java
r23192 r30557 10 10 import javax.swing.JScrollPane; 11 11 12 import org.junit.Ignore; 12 13 import org.openstreetmap.josm.data.osm.DataSet; 13 14 import org.openstreetmap.josm.gui.layer.OsmDataLayer; … … 18 19 * Simple test application for layout and functionality of the issues view. 19 20 */ 21 @Ignore("no test") 20 22 public class IssuesViewTest extends JFrame { 21 23 private IssuesModel model;
Note:
See TracChangeset
for help on using the changeset viewer.