Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
82 1 1 0 97.561% 3.208

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
org.opentrafficsim.core.gtu.plan.operational 1 0 0 0 100% 0
org.opentrafficsim.core.parameters 1 0 0 0 100% 0
org.opentrafficsim.core.perception 4 0 0 0 100% 0.08
org.opentrafficsim.core.units.distributions 1 0 0 0 100% 0.057
org.opentrafficsim.core.geometry 27 0 0 0 100% 2.131
org.opentrafficsim.core.distributions 1 0 0 0 100% 0.076
org.opentrafficsim.core.math 4 0 0 0 100% 0.002
org.opentrafficsim.core.gtu.perception 1 0 0 0 100% 0.001
org.opentrafficsim.core.network.factory.xml.units 14 1 1 0 85.714% 0.084
org.opentrafficsim.core.network.route 3 0 0 0 100% 0
org.opentrafficsim.core.gtu 7 0 0 0 100% 0.002
org.opentrafficsim.core.network 16 0 0 0 100% 0.692
org.opentrafficsim.core.egtf 2 0 0 0 100% 0.083

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

org.opentrafficsim.core.gtu.plan.operational

Class Tests Errors Failures Skipped Success Rate Time
OperationalPlanTest 1 0 0 0 100% 0

org.opentrafficsim.core.parameters

Class Tests Errors Failures Skipped Success Rate Time
ParameterFactoryByTypeTest 1 0 0 0 100% 0

org.opentrafficsim.core.perception

Class Tests Errors Failures Skipped Success Rate Time
HistoricalTest 4 0 0 0 100% 0.08

org.opentrafficsim.core.units.distributions

Class Tests Errors Failures Skipped Success Rate Time
DistributionsTest 1 0 0 0 100% 0.057

org.opentrafficsim.core.geometry

Class Tests Errors Failures Skipped Success Rate Time
BezierTest 1 0 0 0 100% 0.04
GeometryTest 1 0 0 0 100% 0
OTS2DSetTest 1 0 0 0 100% 0.118
OTSLine3DTest 15 0 0 0 100% 1.354
OTSPoint3DTest 6 0 0 0 100% 0.619
OTSShapeTest 3 0 0 0 100% 0

org.opentrafficsim.core.distributions

Class Tests Errors Failures Skipped Success Rate Time
DistributionTest 1 0 0 0 100% 0.076

org.opentrafficsim.core.math

Class Tests Errors Failures Skipped Success Rate Time
Acceleration3DTest 1 0 0 0 100% 0
Rotation3DTest 1 0 0 0 100% 0
SolverTest 1 0 0 0 100% 0.002
Speed3DTest 1 0 0 0 100% 0

org.opentrafficsim.core.gtu.perception

Class Tests Errors Failures Skipped Success Rate Time
TimeStampedObjectTest 1 0 0 0 100% 0.001

org.opentrafficsim.core.network.factory.xml.units

Class Tests Errors Failures Skipped Success Rate Time
ColorParserTest 1 0 0 0 100% 0.023
CoordinatesTest 1 0 0 0 100% 0.001
DirectionsTest 1 0 0 0 100% 0
DistributionsTest 1 0 1 0 0% 0.055
UnitsTest 10 1 0 0 90% 0.005

org.opentrafficsim.core.network.route

Class Tests Errors Failures Skipped Success Rate Time
RouteGeneratorTest 2 0 0 0 100% 0
RouteTest 1 0 0 0 100% 0

org.opentrafficsim.core.gtu

Class Tests Errors Failures Skipped Success Rate Time
GTUCharacteristicsTest 1 0 0 0 100% 0
GTUExceptionTest 2 0 0 0 100% 0.001
GTUTest 1 0 0 0 100% 0
GTUTypeTest 1 0 0 0 100% 0
RelativePositionTest 1 0 0 0 100% 0
TemplateGTUTypeTest 1 0 0 0 100% 0.001

org.opentrafficsim.core.network

Class Tests Errors Failures Skipped Success Rate Time
CapacityOTSLinkTest 1 0 0 0 100% 0.536
LinkDirectionTest 1 0 0 0 100% 0
LinkLocationTest 1 0 0 0 100% 0.001
LinkTypeTest 1 0 0 0 100% 0
LongitudinalDirectionalityTest 1 0 0 0 100% 0.001
OTSLinkTest 1 0 0 0 100% 0.065
OTSNetworkTest 7 0 0 0 100% 0.086
OTSNodeTest 3 0 0 0 100% 0.003

org.opentrafficsim.core.egtf

Class Tests Errors Failures Skipped Success Rate Time
EgtfTest 2 0 0 0 100% 0.083

Test Cases

[Summary] [Package List] [Test Cases]

DistributionTest

distributionTest 0.027

EgtfTest

combineSourcesTest 0.077
exceptionsTest 0.005

BezierTest

bezierTest 0.04

GeometryTest

geometryTest 0

OTS2DSetTest

testBasics 0.118

OTSLine3DTest

testTruncate 0
cleanTest 0
testFind 0.032
offsetLineTest 0.005
constructorsTest 0.771
locationTest 0
locationExtendedTest 0
exceptionTest 0.001
noiseFilterRamerDouglasPeuckerTest 0.007
equalsTest 0.001
concatenateTest 0.022
testFilter 0
reverseTest 0
testFractionalProjection 0.479
extractTest 0.036

OTSPoint3DTest

circleCenterTest 0.618
closestPointTest 0
directionTest 0
constructorsTest 0
lineSegmentIntersectionTest 0.001
interpolateTest 0

OTSShapeTest

testCleanConstructors 0
testOTSShape 0
testIntersects 0

GTUCharacteristicsTest

testGTUCharacteristics 0

GTUExceptionTest

throwIfTest 0.001
gtuExceptionTest 0

GTUTest

testAbstractGTU 0

GTUTypeTest

constructorTest 0

TimeStampedObjectTest

testAll 0

OperationalPlanTest

testOperationalPlan 0

RelativePositionTest

relativePositionTest 0

TemplateGTUTypeTest

templateGTUTypeTest 0

Acceleration3DTest

acceleration3DTest 0

Rotation3DTest

constructorTest 0

SolverTest

solverTest 0

Speed3DTest

speed3DTest 0

CapacityOTSLinkTest

constructorTest 0.536

ColorParserTest

testColors 0.022

CoordinatesTest

testCoordinates 0.001

DirectionsTest

testDirections 0

DistributionsTest

testDistributions 0.055
unit is time expected:<s> but was:<s(Y1970)>

UnitsTest

testFrequencyUnits 0
testPerLengthUnits 0
testDirectionUnits 0.001
testAngleUnits 0
testSpeedUnits 0.001
testAccelerationUnits 0.001
testTimeUnits 0
testLengthUnits 0.001
testPosition 0
Parsing network: cannot instantiate scalar: 123.456dam
testDurationUnits 0.001

LinkDirectionTest

linkDirectionTests 0

LinkLocationTest

testLinkLocation 0

LinkTypeTest

testLinkType 0

LongitudinalDirectionalityTest

testLongitudinalDirectionality 0

OTSLinkTest

testOTSLink 0.064

OTSNetworkTest

testOTSNetwork 0.005
testShortestPathBiDirectional 0.029
testShortestPathAntiClockWise 0.011
testShortestPathWithIntermediateNodes 0.031
testShortestPathClockWise 0.008
testRouteMap 0.001
testExtent 0.001

OTSNodeTest

connectionSetTest 0.001
connectionTest 0.001
testOTSNode 0.001

RouteGeneratorTest

fixedRouteGeneratorTest 0
probabilisticFixedRouteGeneratorTest 0

RouteTest

routeTest 0

ParameterFactoryByTypeTest

testParameterFactoryByType 0

HistoricalTest

valueTest 0.001
collectionTest 0.006
mapTest 0.005
listTest 0.004

DistributionsTest

testConstructors 0.057

Failure Details

[Summary] [Package List] [Test Cases]


testDistributions
java.lang.AssertionError: unit is time expected:<s> but was:<s(Y1970)>
testPosition
org.opentrafficsim.core.network.NetworkException: Parsing network: cannot instantiate scalar: 123.456dam