UI-Component Sets

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
377 0 0 0 100% 2.252

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
javax.faces 14 0 0 0 100% 0.006
javax.faces.component 299 0 0 0 100% 1.65
javax.faces.application 25 0 0 0 100% 0.017
javax.faces.component.html 1 0 0 0 100% 0.001
javax.faces.convert 23 0 0 0 100% 0.058
javax.faces.validator 1 0 0 0 100% 0.014
javax.faces.event 14 0 0 0 100% 0.506

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

javax.faces

Class Tests Errors Failures Skipped Success Rate Time
FacesExceptionTest 5 0 0 0 100% 0
FactoryFinderTest 9 0 0 0 100% 0.006

javax.faces.component

Class Tests Errors Failures Skipped Success Rate Time
UIDataRowStateTest 4 0 0 0 100% 0.041
InvokeOnComponentTest 1 0 0 0 100% 0.091
UIInputTest 18 0 0 0 100% 0.086
UIComponentBaseGetChildrenTest 6 0 0 0 100% 0.009
UISelectManyTest 5 0 0 0 100% 0.006
UISelectItemsTest 2 0 0 0 100% 0.058
_DeltaFacesListenerListTest 15 0 0 0 100% 0.02
UIComponentValueExpressionTest 7 0 0 0 100% 0.005
UIOutputPSSTest 13 0 0 0 100% 0.018
UIComponentFindComponentTest 8 0 0 0 100% 0.009
UIComponentBaseValueBindingTest 5 0 0 0 100% 0.005
UIGraphicTest 3 0 0 0 100% 0.043
UIComponentBaseTest 17 0 0 0 100% 0.056
_SelectItemsUtilTest 4 0 0 0 100% 0.008
_DeltaListTest 17 0 0 0 100% 0.038
UIComponentBaseFacesListenerTest 6 0 0 0 100% 0.026
_MethodBindingToMethodExpressionTest 7 0 0 0 100% 0.022
UIViewParameterTest 2 0 0 0 100% 0.035
UIComponentBaseProcessSaveRestoreStateTest 2 0 0 0 100% 0.325
UIDataTest 42 0 0 0 100% 0.155
UIComponentEventListenerWrapperTest 19 0 0 0 100% 0.027
_DeltaStateHelperTest 11 0 0 0 100% 0.013
UIViewRootTest 5 0 0 0 100% 0.37
_SharedRendererUtilsTest 8 0 0 0 100% 0.031
UIComponentTest 2 0 0 0 100% 0.008
_Delta2StateHelperTest 16 0 0 0 100% 0.022
_ValueExpressionToValueBindingTest 12 0 0 0 100% 0.014
UIComponentBaseGetClientIdTest 7 0 0 0 100% 0.031
_AttachedStateWrapperTest 4 0 0 0 100% 0.002
UISelectOneTest 5 0 0 0 100% 0.009
UIComponentInvokeOnComponentTest 5 0 0 0 100% 0.016
_AttachedListStateWrapperTest 2 0 0 0 100% 0.009
UIComponentAttributesTest 1 0 0 0 100% 0.016
UIComponentEncodeAllTest 4 0 0 0 100% 0.004
_ComponentUtilsTest 1 0 0 0 100% 0.001
_ValueBindingToValueExpressionTest 13 0 0 0 100% 0.021

javax.faces.application

Class Tests Errors Failures Skipped Success Rate Time
StateManagerTest 5 0 0 0 100% 0.003
FacesMessageTest 14 0 0 0 100% 0.005
ViewHandlerTest 6 0 0 0 100% 0.009

javax.faces.component.html

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

javax.faces.convert

Class Tests Errors Failures Skipped Success Rate Time
DoubleConverterTest 3 0 0 0 100% 0.006
EnumConverterTest 8 0 0 0 100% 0.015
NumberConverterTest 8 0 0 0 100% 0.017
MessageUtilsTest 3 0 0 0 100% 0.007
DateTimeConverterTest 1 0 0 0 100% 0.013

javax.faces.validator

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

javax.faces.event

Class Tests Errors Failures Skipped Success Rate Time
MethodExpressionActionListenerTest 7 0 0 0 100% 0.018
MethodExpressionValueChangeListenerTest 7 0 0 0 100% 0.488

Test Cases

[Summary] [Package List] [Test Cases]

UIDataRowStateTest

testAddRowAfterSetRowIndex 0.005
testChangeIdsAfterSetRowIndex2 0.031
testChangeIdsAfterSetRowIndex 0.002
testEditableValueHolderState 0.003

InvokeOnComponentTest

testInvokeOnCompOnUIDataChildren 0.091

UIInputTest

testProcessUpdatesRenderedTrue 0.008
testProcessValidatorsRenderedFalse 0.002
testValidateWithEmptyStringWithEmptyStringAsNullNotSpecified 0.016
testVisitTree 0.007
testValidateWithNonStringWithEmptyStringAsNullEnabled 0.004
testWhenSpecifiedValidatorMessageIsUsedInCaseValidatorExceptionOccurs 0.003
testValidateWithNonEmptyStringWithEmptyStringAsNullEnabled 0.002
testProcessUpdatesRenderedFalse 0.001
testProcessDecodesRenderedTrue 0.005
testUpdateModelSetsTheLocalValueToModelValue 0.002
testValidateNotCallValueChangeListenerWhenCallValidateWithValidator 0.005
testProcessDecodesRenderedFalse 0.002
testValidationErrorTriggersFacesContextValidationFailed 0.009
testWhenSpecifiedConverterMessageIsUsedInCaseConverterExceptionOccurs 0.005
testValidateWithEmptyStringWithEmptyStringAsNullEnabled 0.003
testValidateWithEmptyStringWithEmptyStringAsNullDisabled 0.004
testValidateNotCallValueChangeListenerWhenCallValidateWithBinding 0.007
testProcessValidatorsRenderedTrue 0.001

UIComponentBaseGetChildrenTest

testSimpleAddRemove 0.001
testSetFacetClearChild 0.002
testSetFacetClearFacet 0.003
testSetChild1 0.001
testSetChild2 0.001
testGetChildrenAddAll 0.001

DoubleConverterTest

testDoubleParsingGermany 0
testDoubleParsingJvmBugWorkaround 0.003
testDoubleParsingUS 0.003

UISelectManyTest

testValidateRequiredNull 0.002
testValidateIntArray 0.002
testValidateStringList 0
testValidateStringArray 0.001
testValidateRequiredEmptyList 0.001

EnumConverterTest

testGetAsObjectNoClassSet 0.004
testGetAsObjectNoEnum 0.002
testGetAsObjectNull 0.001
testGetAsObject 0.001
testGetAsString 0.001
testGetAsStringNoEnum 0.003
testGetAsStringNoClassSet 0.002
testGetAsStringNull 0.001

UISelectItemsTest

testPrimitiveArrayAsValue 0.056
testStringListAsValue 0.002

_DeltaFacesListenerListTest

testSimpleAddRemove 0.002
testSimpleSaveRestore1 0.001
testSimpleSaveRestore2 0.001
testSimpleSaveRestore3 0.001
testSimpleSaveRestore4 0.002
testSimpleSaveRestore5 0.002
testSimpleSaveRestore6 0.002
testSimpleSaveRestore7 0.002
testSimpleSaveRestore8 0.001
testSimpleSaveRestore9 0.001
testSimpleSaveRestoreTransient1 0.001
testSimpleSaveRestoreTransient2 0.001
testSimpleSaveRestoreTransient3 0.001
testSimpleSaveRestoreTransient4 0.001
testComplexSaveRestore1 0.001

MethodExpressionActionListenerTest

testRestoreState 0.005
testProcessAction 0.002
testMethodExpressionActionListenerMethodExpressionMethodExpression 0.002
testMethodExpressionActionListenerMethodExpression 0.002
testMethodExpressionActionListener 0.002
testSaveState 0.002
testProcessAction2 0.003

UIComponentValueExpressionTest

testValueExpressionWithLiteralText 0.002
testValueExpression 0.001
testValueExpressionArgumentNPE 0
testValueExpressionWithValueBindingFallback 0.001
testValueExpressionArgumentsParent 0
testValueExpressionArgumentId 0
testValueExpressionWithExceptionOnGetValue 0.001

UIOutputPSSTest

testConverterDeltaState10 0.004
testConverterDeltaState11 0.002
testConverterDeltaState12 0.001
testConverterDeltaState13 0.002
testConverterDeltaState1 0.001
testConverterDeltaState2 0.001
testConverterDeltaState3 0.001
testConverterDeltaState4 0.001
testConverterDeltaState5 0.001
testConverterDeltaState6 0.001
testConverterDeltaState7 0.001
testConverterDeltaState8 0.001
testConverterDeltaState9 0.001

UIComponentFindComponentTest

testOverriddenFindComponent 0.001
testRootExpression 0.001
testXXFindComponent 0.001
testRelativeExpression 0.001
testWithEmptyExperession 0.001
testComplexRelativeExpression 0.001
testWithNullExperession 0.002
testWithRelativeExpressionNamingContainer 0.001

UIComponentBaseValueBindingTest

testGetValueBindingWOValueExpression 0
testSetValueBinding 0
testGetValueBindingFromVE 0.002
testSetValueBindingWNullValue 0.002
testGetValueBindingWithVBToVE 0.001

NumberConverterTest

testCzechLocaleWithNonBreakingSpace 0.003
testCurrencyPattern2 0.004
testUSLocaleUsingEURCurrencyCode 0.002
testCurrencyPattern 0.001
testFranceLocaleWithNonBreakingSpace 0.003
testUKLocaleUsingEURCurrencyCode 0.002
testFranceLocaleWithoutNonBreakingSpace 0.001
testGermanyLocaleUsingEURCurrencyCode 0.001

UIGraphicTest

testUrlValue 0.002
testUrlValueExpression 0.022
testUrlValueBinding 0.019

StateManagerTest

testNullThrowsIsSavingStateInClient 0
testIsSavingStateInClientBogus 0
testIsSavingStateInClientFalse 0.001
testIsSavingStateInClientNull 0.001
testIsSavingStateInClientTrue 0.001

FacesExceptionTest

testGetCause 0
testFacesExceptionStringThrowable 0
testFacesException 0
testFacesExceptionString 0
testFacesExceptionThrowable 0

UIComponentBaseTest

testQueueEventWithoutParent 0.022
testEncodeChildrenArgNPE 0.001
testGetRendersChildren 0.002
testDecodeArgNPE 0.001
testBroadcast 0.005
testProcessDecodesArgNPE 0.002
testQueueEventArgNPE 0.001
testProcessValidatorsArgNPE 0.003
testProcessDecodesCallsRenderResoponseIfDecodeThrowsException 0.002
testEncodeChildren 0.002
testBroadcastArgNPE 0.002
testQueueEvent 0.003
testEncodeEndArgNPE 0.002
testDecode 0.002
testEncodeBeginArgNPE 0.001
testGetAttributes 0.003
testProcessUpdatesArgNPE 0.002

_SelectItemsUtilTest

testMatchValueWithEnums 0.005
testMatchValueWithEnumsNoExtends 0.001
testIsNoSelectionOption 0.001
testMatchValue 0.001

FactoryFinderTest

testSetFactoryBogusName 0.002
testGetFactory 0
testSetFactoryAdditiveClassNames 0.001
testGetFactoryTwice 0.001
testGetFactoryNoFactory 0
testGetFactoryNoConfiguration 0.001
testSetFactory 0
testSetFactoryNoEffect 0.001
testReleaseFactories 0

_DeltaListTest

testSimpleAddRemove 0.005
testSimpleSaveRestore1 0.01
testSimpleSaveRestore2 0.002
testSimpleSaveRestore3 0.002
testSimpleSaveRestore4 0.002
testSimpleSaveRestore5 0.001
testSimpleSaveRestore6 0.002
testSimpleSaveRestore7 0.001
testSimpleSaveRestore8 0.001
testSimpleSaveRestore9 0.001
testSimpleSaveRestoreTransient1 0.001
testSimpleSaveRestoreTransient2 0.001
testSimpleSaveRestoreTransient3 0.001
testSimpleSaveRestoreTransient4 0.001
testSimpleSaveRestoreTransient5 0.002
testSimpleSaveRestoreTransient6 0.005
testSimpleSaveRestoreTransient7 0

UIComponentBaseFacesListenerTest

testEmptyListener 0.014
testArgNPE 0.002
testRemoveFacesListenerArgNPE 0.002
testGetFacesListeners 0.003
testRemoveFacesListener 0.004
testInvalidListenerType 0.001

_MethodBindingToMethodExpressionTest

testIsLiteralText 0.015
test_MethodBindingToMethodExpressionMethodBinding 0.001
testGetMethodInfoELContext 0.003
test_MethodBindingToMethodExpression 0
testStateHolder 0
testGetExpressionString 0.001
testInvoke 0.002

UIViewParameterTest

testValidationErrorTriggersFacesContextValidationFailed 0.032
testDecodeSetOnlyNonNullSubmittedValue 0.003

HtmlOutputLinkTest

testRendererType 0.001

MethodExpressionValueChangeListenerTest

testMethodExpressionValueChangeListenerMethodExpressionMethodExpression 0.466
testRestoreState 0.002
testMethodExpressionValueChangeListener 0.002
testProcessValueChange 0.009
testProcessValueChange2 0.004
testSaveState 0.002
testMethodExpressionValueChangeListenerMethodExpression 0.003

UIComponentBaseProcessSaveRestoreStateTest

testRestoreStateExpections 0.323
testSaveStateExpections 0.002

UIDataTest

testProcessUpdatesRenderedTrue 0.002
testSetDataModel 0.001
testProcessValidatorsRenderedFalse 0.002
testGetClientId 0.004
testVisitTree 0.026
testGetFirst 0.001
testRestoreState 0.001
testGetValue 0.001
testInvokeOnComponentFacesContextStringContextCallback 0.005
testProcessUpdatesRenderedFalse 0.001
testProcessDecodesRenderedTrue 0.004
testBroadcastFacesEvent 0.008
testValueExpression 0.002
testGetRows 0.001
testProcessValidatorsFacesContext 0.001
testPreserveRowComponentState1 0.06
testProcessUpdatesFacesContext 0.001
testEncodeEndFacesContext 0.001
testEncodeBeginFacesContext 0.001
testProcessDecodesRenderedFalse 0.002
testGetDataModel 0.001
testSaveState 0.001
testSetFooter 0.001
testSetHeader 0.001
testProcessDecodesFacesContext 0.001
testGetFamily 0.001
testGetFooter 0.001
testGetHeader 0.001
testQueueEventFacesEvent 0.001
testSetRowIndex 0.001
testGetVar 0.001
testGetRowCount 0.001
testGetRowIndex 0.001
testIsRowAvailable 0.001
testSetRows 0.001
testGetRowData 0.001
testSetVar 0.001
testUIData 0.001
testProcessValidatorsRenderedTrue 0.002
testSetFirst 0.001
testCollectionDataModel 0.008
testSetValue 0.001

UIComponentEventListenerWrapperTest

testRendererListenerNormalState 0.002
testUIComponentListenerWithPSSFull 0.001
testUIComponentListenerNormalState 0.001
testSerializableListenerWithPSS 0.002
testSerializableListenerWithPSSFull 0.002
testStateHolderListenerWithPSSFull 0.002
testSerializableListenerNormalState 0.002
testStateHolderListenerNormalState 0.001
testNonSerializableListenerWithPSS 0.002
testPartialStateHolderListenerWithPSSFull 0.002
testPartialStateHolderListenerNormalState 0.002
testRendererListenerWithPSS 0.001
testNonSerializableListenerWithPSSFull 0.001
testPartialStateHolderListenerWithPSS 0.001
testNonSerializableListenerNormalState 0.001
testUIComponentListenerWithPSS 0.001
testStateHolderListenerWithPSS 0.001
testPartialStateHolderListenerWithPSS2 0.001
testRendererListenerWithPSSFull 0.001

_DeltaStateHelperTest

testPut_null 0.002
testRestoreState 0.001
testIsInitalStateMarked 0.001
testAdd 0.001
testGet 0.002
testPut_Serializable_Object 0.001
testRemove_Serializable_Object 0.001
testPut_3args 0.001
testRemove_Serializable 0.001
testSaveState 0.001
testIsTransient 0.001

UIViewRootTest

testComponentType 0.23
testCreateUniqueId 0.115
testBroadcastEvents 0.018
testLocale 0.004
testSuperClass 0.003

MessageUtilsTest

testGetLabelFromValueExpression 0.004
testGetLabelFromAttributesMap 0.001
testGetLabelReturnsClientIdWhenLabelIsNotSpecified 0.002

FacesMessageTest

testFacesMessageSeverityStringString 0
testFacesMessageStringString 0
testSetSeverity 0
testSerialization 0.002
testSeverityValuesMap 0.001
testSeverityValues 0
testSetNullSeverity 0
testFacesMessage 0
testSetSummary 0.001
testSeverityEquality 0
testSetDetail 0
testSeverityOrdering 0
testFacesMessageNullSeverityStringString 0
testFacesMessageString 0.001

_SharedRendererUtilsTest

testGetConvertedUISelectManyValueNoConverterNoValueExpression 0.002
testGetConvertedUISelectManyValueNoConverter 0.009
testGetConvertedUISelectManyValuePOJOCollectionWithCollectionType 0.007
testGetConvertedUISelectManyValueWrongCollectionType 0.002
testGetConvertedUISelectManyValuePOJOCollectionWithoutCollectionType 0.003
testGetConvertedUISelectManyValueNonPrimitiveFloatArray 0.003
testGetConvertedUISelectManyValuePOJOArray 0.002
testGetConvertedUISelectManyValuePrimitiveIntArray 0.003

UIComponentTest

testGetFacetCount 0.005
testGetContainerClientId 0.003

_Delta2StateHelperTest

testSimpleGetterSetter 0.005
testPutItemOnMap1 0.001
testSimpleSaveRestore 0.001
testRemovePropertyStateHelper1 0.001
testUIViewRootPhaseListener1 0.003
testUIViewRootPhaseListener2 0.001
testUIViewRootPhaseListener3 0.001
testDeltaStateSaveRestore 0.001
testEmptySaveRestore 0.001
testAddItemOnList1 0.001
testAddItemOnList2 0.001
testAddItemOnList3 0.001
testPutRemoveItemOnMap2 0.001
testPutRemoveItemOnMap3 0.001
testPutPropertyStateHelper1 0.001
testPutPropertyStateHelper2 0.001

_ValueExpressionToValueBindingTest

testGetValueExceptions 0.001
testValueExpressionToValueBindingValueExpression 0.001
testGetValue 0
testSetValueExceptions 0.001
testGetTypeExceptions 0.001
testGetType 0.002
testHashCode 0.001
testGetExpressionString 0.001
testEquals 0.001
testIsReadOnlyExceptions 0.002
testIsReadOnly 0.002
testSetValue 0.001

UIComponentBaseGetClientIdTest

testWithRenderer 0.002
testWithoutIdAndNoUIViewRoot 0.001
testWithParentNamingContainer 0.003
testWithParentNamingContainerChanging 0.017
testWithoutParentAndNoRenderer 0.003
testWithoutId 0.003
testNullFacesContext 0.002

_MessageUtilsTest

testErrorMessage 0.014

_AttachedStateWrapperTest

testGetClazz 0
testGetWrappedStateObject 0
testSerialize 0.001
test_AttachedStateWrapper 0.001

UISelectOneTest

testValidateNotRequiredNotValid 0.005
testValidateNotRequiredNotSelectOption 0.001
testValidateRequiredNull 0.001
testValidateRequiredNotSelectOption 0.001
testValidateNotRequiredValid 0.001

UIComponentInvokeOnComponentTest

testInvokeOnComponentWithSameClientId 0.006
testInvokeOnComponentAndNotFindComponentWithClientId 0.001
testInvokeOnComponentOnChild 0.003
testInvokeOnComponentWithException 0.003
testInvokeOnComponentExceptions 0.003

DateTimeConverterTest

testGetAsObject 0.013

_AttachedListStateWrapperTest

test_AttachedListStateWrapper 0
testSerialize 0.009

ViewHandlerTest

testCalculateCharacterEncodingWithNoRequestContentTypeAndWithSessionAndNoSessionValue 0.005
testCalculateCharacterEncodingWithNoRequestContentTypeAndWithSessionButNoSessionValue 0.001
testInitViewWithUnsupportedEncodingException 0.001
testCalculateCharacterEncodingWithNoRequestContentTypeAndNoSession 0.002
testInitView 0
testCalculateCharacterEncodingWithRequestHeaderContentType 0

UIComponentAttributesTest

testSetNullAttributeOnValidProperty 0.016

UIComponentEncodeAllTest

testEncodeAllNotRenderesChildren 0
testEncodeAllNotRendered 0.001
testEncodeAllNullContext 0.001
testEncodeAllRenderesChildren 0.002

_ComponentUtilsTest

testIsRendered 0.001

_ValueBindingToValueExpressionTest

testIsLiteralText 0.001
testSetValueELContextObjectExceptions 0.004
testEqualsObject 0.001
testIsReadOnlyELContext 0.002
testGetValueELContext 0.002
testSetValueELContextObject 0.001
testValueBindingToValueExpressionValueBinding 0.001
testGetTypeELContext 0.002
testHashCode 0.001
testGetExpressionString 0.001
testValueBindingToValueExpression 0.002
testGetExpectedType 0.001
testGetTypeELContextExceptions 0.002