Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
16 0 0 0 100% 0.272 s

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
fr.univtln.bruno.samples.java101.tp2 16 0 0 0 100% 0.272 s

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

fr.univtln.bruno.samples.java101.tp2

- Class Tests Errors Failures Skipped Success Rate Time
CovariantReturnTest 1 0 0 0 100% 0.013 s
DefaultMethodConflictTest 1 0 0 0 100% 0.011 s
ResourceStateTest 2 0 0 0 100% 0.177 s
InterfaceSegregationTest 4 0 0 0 100% 0.032 s
DescriptionTest 1 0 0 0 100% 0.007 s
CompositionTest 1 0 0 0 100% 0.005 s
VehicleTest 2 0 0 0 100% 0.005 s
DelegationTest 1 0 0 0 100% 0.006 s
StaticHidingTest 1 0 0 0 100% 0.003 s
PolymorphismTest 2 0 0 0 100% 0.013 s

Test Cases

[Summary] [Package List] [Test Cases]

CovariantReturnTest

copyReturnsConcreteType 0.003 s

DefaultMethodConflictTest

serviceCarResolvesDefaultMethodConflict 0.009 s

ResourceStateTest

electricCarBatteryConsumptionAndCharge 0.146 s
carFuelConsumptionAndRefuel 0.005 s

InterfaceSegregationTest

mixedRefuelableCollection 0.018 s
interfaceSegregationBenefit 0.002 s
refuelablePolymorphism 0.004 s
rechargeablePolymorphism 0.002 s

DescriptionTest

descriptionUsesMoveFromSubclass 0.001 s

CompositionTest

manufacturerProducesVehicle 0.004 s

VehicleTest

carAndBikeMove 0.001 s
electricCarChargeAndMove 0.001 s

DelegationTest

driverDelegatesToVehicleDriveAndStart 0.005 s

StaticHidingTest

staticCategoryIsHiddenBySubclass 0.001 s

PolymorphismTest

runtimePolymorphismAndSafeDowncast 0.001 s
unsafeDowncastThrowsClassCastException 0.006 s