Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
144 0 0 1 99.306% 5.476

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
info.magnolia.ui.vaadin.integration 2 0 0 0 100% 0.016
info.magnolia.ui.vaadin.integration.jcr 129 0 0 1 99.225% 4.705
info.magnolia.ui.vaadin.integration.contentconnector 13 0 0 0 100% 0.755

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

info.magnolia.ui.vaadin.integration

Class Tests Errors Failures Skipped Success Rate Time
MessageItemTest 2 0 0 0 100% 0.016

info.magnolia.ui.vaadin.integration.jcr

Class Tests Errors Failures Skipped Success Rate Time
AbstractJcrAdapterTest 6 0 0 0 100% 0.005
AbstractJcrNodeAdapterTest 13 0 0 0 100% 0.099
DefaultPropertyTest 10 0 0 0 100% 0
DefaultPropertyUtilTest 8 0 0 0 100% 0.001
JcrItemUtilTest 13 0 0 0 100% 0.006
JcrNewNodeAdapterTest 11 0 0 0 100% 2.745
JcrNodeAdapterChildItemTest 11 0 0 0 100% 0.007
JcrNodeAdapterRepositoryTest 11 0 0 0 100% 1.773
JcrNodeAdapterTest 21 0 0 0 100% 0.005
JcrNodeAdapterTypedPropertyTest 11 0 0 0 100% 0.004
JcrPropertyAdapterTest 14 0 0 1 92.857% 0.06

info.magnolia.ui.vaadin.integration.contentconnector

Class Tests Errors Failures Skipped Success Rate Time
JcrContentConnectorDefinitionMutatorTest 1 0 0 0 100% 0.301
JcrContentConnectorTest 12 0 0 0 100% 0.454

Test Cases

[Summary] [Package List] [Test Cases]

JcrContentConnectorDefinitionMutatorTest

setRootPath 0.301

JcrContentConnectorTest

testGetDefaultItemId 0.3
testGetItemIdByUrlFragmentWithPath 0.022
testGetDefaultItemIdWithPath 0.019
getItemFromNewItemIdPreservesNodeName 0.02
testGetItem 0.014
testGetItemIdByUrlFragment 0.016
testGetItemIdByUrlFragmentWithMissingNode 0.012
testGetItemId 0.012
getItemIdByUrlFragmentDoesNotFailOnNPEWhenNodeIsMissing 0.01
testGetItemUrlFragmentWithPath 0.01
testGetItemUrlFragment 0.01
testCanHandleItem 0.009

AbstractJcrAdapterTest

testSetCommonAttributesWithNode 0
testGetJcrItemWithNodeNotExisting 0.001
testGetJcrItemWithNodeExisting 0
testGetJcrItemWithPropertyExisting 0.003
testSetCommonAttributesWithProperty 0.001
testGetJcrItemWithPropertyNotExisting 0

AbstractJcrNodeAdapterTest

testUpdateNewProperties 0.005
testSetCommonAttributes 0.004
testGetItemPropertyWithNewProperty 0.005
updateSortableChildren 0.006
testGetItemPropertyWithUnknownProperty 0.003
testValueChangeEventWhenPropertyDoesNotExist 0.003
testValueChangeEventWhenPropertyExists 0.011
hasChangedChildItemsForAddedOne 0.004
testGetItemPropertyWithExistingProperty 0.005
testUpdateProperties 0.003
testUpdatePropertiesNameToAlreadyExisting 0.043
testUpdateChildren 0.004
hasChangedChildItemsForRemovedOne 0.003

DefaultPropertyTest

testGenericDefaultProperty 0
testGetValue 0
testReadOnlyExceptionOnSet 0
testSetReadOnlyValue 0
testGetType 0
testSetNonAssignableValueException 0
testGenericOneParamConstructor 0
testCreateDefaultPropertyNullValueWithType 0
testSetNonAssignableValue 0
testSetValue 0

DefaultPropertyUtilTest

getFieldTypeClass 0.001
canConvertStringValue 0
getFieldTypeClassForNotSupportedTypeBinary 0
createTypedValueForDate 0
createTypedValueForList 0
createDefaultPropertyByPropertyType 0
createDefaultPropertyByPropertyTypeWithNullValue 0
createTypedValueForDateWithoutDefault 0

JcrItemUtilTest

testGetItemIdWithProperty 0.004
testGetJcrItems 0
testIsPropertyIdWithPropertyId 0.001
testIsPropertyIdWithNodeId 0
testGetItemPathForNode 0
getItemIdForItemWithCommercialAt 0
testGetItemIdWithNode 0
testGetItemPathForProperty 0.001
testGetNodeIdentifierFrom 0
getItemPathForItemWithCommercialAt 0
testGetPropertyName 0
parseNodeIdentifierItemIdContainsCommercialAt 0
parsePropertyNameItemIdContainsCommercialAt 0

JcrNewNodeAdapterTest

addingPropertiesAfterApplyingChanges 0.989
applyChangesTwice 0.24
beforeAndAfterApplyChanges 0.192
removingPropertiesAfterApplyingChanges 0.208
isNew 0.187
returnedPropertiesAreInSync 0.171
returnsPropertiesWithChangedValues 0.165
getItemPropertyReturnsModified 0.144
applyChangesUpdatesNode 0.182
adapterIsNewBeforeSavingAndNotNewAfterwards 0.142
gettingPropertyAfterApplyingChanges 0.125

JcrNodeAdapterChildItemTest

testAddExistingChildAndStore 0.001
testAddRemoveAddChildAndStore 0
testAddMixedChildAndStore 0
testRemoveChild 0
testAddRemoveExistingChildAndStore 0.001
testAddChild 0.001
testReOrderingOfChildNodesWithRemovedChild 0.003
testAddRemoveNewChildAndStore 0
testReOrderingOfChildNodes 0
testAddNewChildAndStore 0.001
testReOrderingOfChildNodesWithNewChild 0

JcrNodeAdapterRepositoryTest

getNodeUpdatesNodeWithNewName 0.178
setMultiValueProperty 0.171
changeMultiValueProperty 0.159
getJcrItemReturnWrappedVersionedNodeChildProperty 0.259
getJcrItemReturnWrappedVersionedNode 0.182
getNodeUpdatesChildNodeOrderExistingNode 0.128
getMultiValueProperty 0.14
getNode_NewProperty 0.119
getNodeUpdatesChildNodeOrderExistingNodeAndNew 0.113
getNodeUpdatesChildNodeOrderNewNode 0.13
getJcrItemReturnWrappedVersionedNodeChild 0.194

JcrNodeAdapterTest

removeItemPropertyWithExistingProperty 0
removeItemPropertyWithNewPropertyModified 0.001
removeItemPropertyWithUnknownProperty 0
removeItemPropertyWithPropertyModified 0
getNodeUpdatesNodeWithNewProperty 0
getNodeUpdatesNodeWithNewPropertyRemoved 0.001
getItemPropertyWithNewProperty 0
getItemPropertyWithUnknownProperty 0.001
isNew 0
getItemPropertyWithExistingProperty 0
returnedPropertiesAreInSync 0
getNodeUpdatesNodeWithPropertyRemoved 0.001
getNodeUpdatesNodeWithMixedModifiedProperties 0
getNodeUpdatesNodeExceptReadOnlyProperty 0
getNodeUpdatesNodeWithExistingPropertyModified 0
getNodeUpdatesNodeWithMixedPropertiesRemoved 0.001
removeItemPropertyWithNewProperty 0
returnsPropertiesWithChangedValues 0
addItemProperty 0
updatePropertyWithNullValue 0
getItemPropertyWithModifiedProperty 0

JcrNodeAdapterTypedPropertyTest

testGetItemPropertyWithBooleanPropertyFromJcrModifiedByVaadin 0
testGetItemPropertyWithBinaryPropertyCreatedByVaadinStoredIntoJcr 0.002
testGetAndStoreBinaryPropertyCreatedByVaadinStoredIntoJcr 0
testGetItemPropertyWithStringProperty 0
testGetItemPropertyWithDoubleProperty 0
testGetItemPropertyWithBooleanProperty 0.001
testGetItemPropertyWithDecimalProperty 0
testGetItemPropertyWithLongProperty 0
testGetItemPropertyWithBooleanPropertyFromJcr 0
testGetItemPropertyWithNonTypedProperty 0.001
testGetItemPropertyWithDateProperty 0

JcrPropertyAdapterTest

testUpdatePropertyValueKeepsPropertyType 0
http://jira.magnolia-cms.com/browse/MGNLUI-485
testUpdatePropertyNameToSameName 0.005
testUpdateBothNameAndValue 0.004
testGetItemPropertyIds 0.004
testCannotAddItemProperty 0.003
testUpdateDatePropertyValue 0.006
testUpdatePropertyNameWhenAlreadyExisting 0.009
testUpdatePropertyName 0.005
testUpdatePropertyType 0.006
testGetItemProperty 0.003
testReturnsPropertiesWithChangedValues 0.003
testCannotRemoveItemProperty 0.004
testUpdatePropertyValue 0.005
testReturnedPropertiesAreInSync 0.003

MessageItemTest

customMessageItemContainsAdditionalGetters 0.015
messageItemResolvesAdditionalProperties 0.001

Failure Details

[Summary] [Package List] [Test Cases]


testUpdatePropertyValueKeepsPropertyType
skipped: http://jira.magnolia-cms.com/browse/MGNLUI-485