Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
188 0 0 1 99.468% 99.789

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.openwms.common.transport.commands 1 0 0 1 0% 0
org.openwms.common.transport.impl 42 0 0 0 100% 30.356
org.openwms.common.location 75 0 0 0 100% 30.608
org.openwms.common 9 0 0 0 100% 2.479
org.openwms.common.account 7 0 0 0 100% 23.657
org.openwms.common.location.impl 5 0 0 0 100% 2.82
org.openwms.common.transport 49 0 0 0 100% 9.869

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

org.openwms.common.transport.commands

Class Tests Errors Failures Skipped Success Rate Time
TransportUnitCommandListenerIT 1 0 0 1 0% 0

org.openwms.common.transport.impl

Class Tests Errors Failures Skipped Success Rate Time
TransportUnitIT 8 0 0 0 100% 0.916
TransportUnitTypeServiceImplTest 8 0 0 0 100% 10.636
TransportUnitServiceImplAsyncIT 1 0 0 0 100% 10.824
TransportUnitTypeIT 3 0 0 0 100% 0.157
TransportUnitServiceImplIT 22 0 0 0 100% 7.823

org.openwms.common.location

Class Tests Errors Failures Skipped Success Rate Time
MessageTest 4 0 0 0 100% 0.012
LocationGroupTest 12 0 0 0 100% 0.048
LocationGroupTest$CreationalTests 3 0 0 0 100% 0.002
TargetControllerOperationalLocksDocumentation 4 0 0 0 100% 0.457
LocationGroupControllerDocumentation 8 0 0 0 100% 4.562
TargetControllerDocumentation 4 0 0 0 100% 10.753
TargetControllerDocumentation$PermanentLockTests 4 0 0 0 100% 3.495
LocationControllerDocumentation 13 0 0 0 100% 7.926
LocationControllerDocumentation$LGTests 4 0 0 0 100% 0.26
LocationTest 4 0 0 0 100% 0.008
LocationTest$CreationTests 5 0 0 0 100% 0
LocationTest$MessageTests 3 0 0 0 100% 0.004
LocationIT 1 0 0 0 100% 2.907
LocationTypeTest 6 0 0 0 100% 0.174

org.openwms.common

Class Tests Errors Failures Skipped Success Rate Time
IndexControllerDocumentation 1 0 0 0 100% 0.17
EnsureArchitectureIT 8 0 0 0 100% 2.309

org.openwms.common.account

Class Tests Errors Failures Skipped Success Rate Time
AccountControllerDocumentation 7 0 0 0 100% 23.657

org.openwms.common.location.impl

Class Tests Errors Failures Skipped Success Rate Time
LocationGroupIT 1 0 0 0 100% 0.433
LocationTypeServiceImplIT 3 0 0 0 100% 2.305
LocationTypeIT 1 0 0 0 100% 0.082

org.openwms.common.transport

Class Tests Errors Failures Skipped Success Rate Time
UnitErrorTest 1 0 0 0 100% 0.003
TransportUnitTypeControllerDocumentation 4 0 0 0 100% 0.398
TypePlacingRuleTest 3 0 0 0 100% 0.005
TransportUnitTest$ChildrenHandling 5 0 0 0 100% 0.003
TransportUnitTest$CreationalTests 5 0 0 0 100% 0.018
TransportUnitTest$LifecycleTests 6 0 0 0 100% 0.009
TypeStackingRuleTest 2 0 0 0 100% 0.006
BarcodeTest 3 0 0 0 100% 0.017
TransportUnitTypeTest 5 0 0 0 100% 0.018
TransportUnitControllerDocumentation 15 0 0 0 100% 9.392

Test Cases

[Summary] [Package List] [Test Cases]

TransportUnitIT

shall_add_an_error_to_a_new_TU 0.173
shall_fail_with_transient_actualLocation 0.13
shall_fail_with_transient_TUT 0.077
shall_create_and_persist 0.104
shall_fail_with_transient_targetLocation 0.106
shall_add_an_error_to_a_managed_TU 0.11
shall_create_with_valid_targetLocation 0.047
shall_cascade_operations_to_children 0.066

UnitErrorTest

shall_create 0

TransportUnitTypeServiceImplTest

create 1.749
addRules 1.705
findAll 0.069
findByType 0.145
removeRules 4.814
save 1.668
loadRules 0.306
deleteType 0.148

TransportUnitTypeControllerDocumentation

shall_return_index 0.106
shall_findby_name 0.1
shall_findall 0.103
shall_findby_name_404 0.075

TransportUnitServiceImplAsyncIT

shall_trigger_deletion 0.284

MessageTest

testEqualityLight 0
testConstruction 0
testConstructionWithBuilder 0.001
testProperOutcomeOfToString 0

LocationGroupTest

testEqualityLight 0
testAddLocationGroupWithNull 0
testAddLocationGroupWithStateChange 0.012
testHash 0
testRemoveLocationWithNull 0.004
testRemoveLocation 0.002
testStateChangeNotAllowed 0.003
testAddLocation 0.001
testAddLocationGroupToChild 0.002
testAddLocationWithNull 0.008
testAddLocationGroupToParent 0
testStateChangeAllowed 0

LocationGroupTest$CreationalTests

shall_fail_with_empty 0
shall_fail_with_null 0
shall_create_with_defaults 0.002

LocationGroupIT

testNameConstraint 0.288

TargetControllerOperationalLocksDocumentation

shall_olock_LocationGroup_OUT 0.143
shall_olock_LocationGroup_NONE 0.095
shall_olock_LocationGroup_IN 0.111
shall_olock_LocationGroup_INOUT 0.099

LocationGroupControllerDocumentation

shall_return_index 0.189
shall_changeState_pkey_404 0.14
shall_findby_name 0.262
shall_findAll 0.326
shall_findby_names 0.1
shall_findby_name_404 0.112
shall_change_state 1.693
shall_change_state_pKey 1.709

TypePlacingRuleTest

testCreation 0
testAssertedCreation 0.002
testEquality 0.001

LocationTypeServiceImplIT

delete 0.143
findAll 0.065
save 0.051

TargetControllerDocumentation

shall_lock_LocationGroup_NONE 1.743
shall_lock_LocationGroup_INOUT 1.898
shall_lock_LocationGroup_OUT 1.834
shall_lock_LocationGroup_IN 1.716

TargetControllerDocumentation$PermanentLockTests

shall_unlock_unknown_LocationGroup 0.004
shall_lock_LocationGroup 1.749
shall_unlock_LocationGroup 1.7
shall_lock_unknown_LocationGroup 0.042

TransportUnitTest$ChildrenHandling

shall_throw_with_null_add 0
shall_throw_with_null_remove 0
shall_add_and_remove_a_child_TU 0
shall_change_parent 0
shall_fail_when_TU_is_not_a_child 0.003

TransportUnitTest$CreationalTests

testEqualityLight 0.003
shall_fail_with_null_Barcode 0.001
shall_fail_with_null_TUT 0.001
shall_fail_with_null_Location 0
shall_create_with_defaults 0.013

TransportUnitTest$LifecycleTests

shall_add_an_error 0.001
shall_fail_with_remove_null_as_child 0.002
shall_fail_by_setting_null_for_TUT 0.002
shall_fail_with_add_null_as_error 0.001
shall_fail_by_setting_null_for_ActualLocation 0.001
shall_fail_by_setting_null_for_InventoryDate 0.002

IndexControllerDocumentation

shall_return_index 0.158

TransportUnitCommandListenerIT

org.openwms.common.transport.commands.TransportUnitCommandListenerIT 0
RabbitMQ is not available

LocationTypeIT

testUniqueConstraint 0.064

TransportUnitTypeIT

testCascadingTypePlacingRule 0.055
testUniqueConstraint 0.04
testCascadingTypePlacingRuleWithOrphan 0.046

LocationControllerDocumentation

shall_return_index 0.137
shall_changeState_pkey_404 0.259
shall_set_PLCState 2.305
shall_findby_locationPk_wildcard_404 0.304
shall_findby_locationPk_wildcard_All 0.364
shall_disable_Inbound_ 1.702
shall_findby_plccode 0.243
shall_findby_locationPk_wildcard 0.196
shall_findby_locationPk_400 0.1
shall_findby_locationPk_404 0.082
shall_findby_locationPk 0.093
shall_set_both_states 1.686
shall_findby_plccode_404 0.1

LocationControllerDocumentation$LGTests

shall_findby_lgname 0.048
shall_findby_lgname_wc 0.084
shall_findby_lgname_404 0.056
shall_findby_lgnames 0.072

LocationTest

testSetLocationGroup 0
test_infeed 0
shall_fail_with_LocationGroup_Null 0
test_outfeed 0

LocationTest$CreationTests

shall_return_defaults 0
shall_fail_with_null_in_factory 0
test_jpa_constructor_exists 0
shall_fail_with_null 0
test_factory 0

LocationTest$MessageTests

shall_fail_when_remove_message_null 0
shall_fail_when_add_message_null 0.001
testMessageHandling 0.003

EnsureArchitectureIT

verify_logger_definition 2.014
verify_api_package 0.033
verify_services 0.057
verify_no_direct_impl_access 0.028
verify_spi_access 0.003
verify_no_cycles_location 0.103
verify_no_cycles_transport 0.068
verify_no_cycles 0.003

LocationIT

testNameConstraint 0.173

LocationTypeTest

testEqualityLight 0.154
testCreationWithEmpty 0.003
testCreation 0.007
testDefaultValues 0.003
testProperReturnOfToString 0
testCreationWithNull 0

TypeStackingRuleTest

testCreation 0
testEquality 0

BarcodeTest

testCreation 0.009
testBarcode 0.005
testEquality 0.001

TransportUnitServiceImplIT

create_without_strict 0.075
findOnLocation_Empty 0.066
findOnLocation_404 0.106
create 1.685
create_primitive_with_null 0.25
create_with_null 0.526
create_primitive_without_strict 0
findOnLocation 0
findOnLocation_null 0.57
findByPKey 0
findByBarcodes 0
findByBarcodes_null 0.06
create_primitive_with_strict 0.307
findByPKey_404 0.381
create_primitive 1.362
findByBarcode 0.091
shall_delete_multiple 1.784
findByPKey_null 0.044
findByBarcode_null 0.118
findByBarcodes_404 0.097
findByBarcode_404 0.149
create_with_strict 0.093

TransportUnitTypeTest

testCreationWithEmpty 0
testDefaultValues 0.003
testBuilderExistence 0.003
testPlacingRuleHandling 0.003
testCreationWithNull 0.001

TransportUnitControllerDocumentation

shall_return_index 0.066
shall_findByBarcodes 0.182
shall_findByBarcode_404 0.192
shall_createSimple 1.997
shall_update_existing 1.891
shall_findByBarcode_short 0.163
shall_create_with_error 0.275
shall_createFull 1.84
shall_findByBarcode 0.116
shall_create_with_invalid 0.089
shall_add_error 0.096
shall_move 1.864
shall_findOnLocation 0.228
shall_update_404 0.148
shall_createSimple_with_error 0.185

AccountControllerDocumentation

shall_return_index 0.643
shall_findDefault_404 0.348
shall_findAll 0.422
shall_findDefault 0.106
shall_findByIdentifier 0.114
shall_findByName_404 0.101
shall_findByName 0.092

Failure Details

[Summary] [Package List] [Test Cases]


org.openwms.common.transport.commands.TransportUnitCommandListenerIT
skipped: RabbitMQ is not available