Summary
Tests | Errors | Failures | Skipped | Success Rate | Time |
---|---|---|---|---|---|
53 | 0 | 0 | 0 | 100% | 8.605 |
Note: failures are anticipated and checked for with assertions while errors are unanticipated.
Package List
Package | Tests | Errors | Failures | Skipped | Success Rate | Time |
---|---|---|---|---|---|---|
org.apache.myfaces.extensions.validator.test.beanval | 53 | 0 | 0 | 0 | 100% | 8.605 |
Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.
org.apache.myfaces.extensions.validator.test.beanval
Class | Tests | Errors | Failures | Skipped | Success Rate | Time | |
---|---|---|---|---|---|---|---|
CascadedValidationTestCase | 4 | 0 | 0 | 0 | 100% | 0.384 | |
ConstraintSourceAwareValidation1TestCase | 2 | 0 | 0 | 0 | 100% | 0.334 | |
ConstraintSourceAwareValidation2TestCase | 2 | 0 | 0 | 0 | 100% | 0.277 | |
ConstraintSourceAwareValidation3TestCase | 2 | 0 | 0 | 0 | 100% | 0.197 | |
ConstraintSourceAwareValidation4TestCase | 2 | 0 | 0 | 0 | 100% | 0.198 | |
ConstraintSourceAwareValidation5TestCase | 2 | 0 | 0 | 0 | 100% | 0.247 | |
ConstraintSourceAwareValidation6TestCase | 3 | 0 | 0 | 0 | 100% | 1.857 | |
CustomSeverity1TestCase | 3 | 0 | 0 | 0 | 100% | 0.355 | |
DefaultGroupTestCase | 3 | 0 | 0 | 0 | 100% | 0.669 | |
LabelReplacementTestCase | 1 | 0 | 0 | 0 | 100% | 0.108 | |
ModelValidation1TestCase | 7 | 0 | 0 | 0 | 100% | 0.735 | |
ModelValidation2TestCase | 2 | 0 | 0 | 0 | 100% | 0.233 | |
ModelValidation3TestCase | 2 | 0 | 0 | 0 | 100% | 0.418 | |
ModelValidation4TestCase | 2 | 0 | 0 | 0 | 100% | 0.176 | |
NotNullValidationTestCase | 2 | 0 | 0 | 0 | 100% | 0.363 | |
RestrictGroupsTestCase | 6 | 0 | 0 | 0 | 100% | 0.82 | |
UseGroupValidation1TestCase | 7 | 0 | 0 | 0 | 100% | 1.048 | |
UseGroupValidation2TestCase | 1 | 0 | 0 | 0 | 100% | 0.186 |
Test Cases
CascadedValidationTestCase
testCascadedValidationCorrectValue | 0.128 | |
testCascadedValidationValueTooShort | 0.1 | |
testCascadedValidationInvalidValue | 0.075 | |
testCascadedValidationNullValue | 0.079 |
ConstraintSourceAwareValidation2TestCase
testIgnoreConstraintSource | 0.129 | |
testStringBasedTargetProperty | 0.144 |
ConstraintSourceAwareValidation3TestCase
testMissingBasedConstraintSource | 0.096 | |
testFieldBasedConstraintSource | 0.096 |
ConstraintSourceAwareValidation4TestCase
testMissingBasedConstraintSource | 0.099 | |
testMethodBasedConstraintSourceAndTargetPropertyAnnotation | 0.098 |
ConstraintSourceAwareValidation5TestCase
testMethodBasedTargetPropertyIdAnnotation | 0.153 | |
testFieldBasedTargetPropertyIdAnnotation | 0.093 |
ConstraintSourceAwareValidation6TestCase
testCustomAnnotations1 | 1.215 | |
testCustomAnnotations2 | 0.257 | |
testCustomAnnotations3 | 0.316 |
CustomSeverity1TestCase
testCustomPayloadViaGlobalProperty | 0.106 | |
testCustomPayloadViaStaticConfig | 0.116 | |
testUnknownPayload | 0.131 |
ModelValidation1TestCase
testModelValidation | 0.092 | |
testModelViolationWithGlobalViolationMessageViaProperty | 0.1 | |
testModelViolationWithInlineViolationMessageViaProperty | 0.11 | |
testModelViolationWithGlobalViolationMessageViaField | 0.136 | |
testModelViolationWithInlineViolationMessageViaField | 0.099 | |
testModelViolationWithAdminRole | 0.09 | |
testModelViolationWithUserRole | 0.101 |
ModelValidation2TestCase
testModelValidation | 0.11 | |
testModelViolationWithGlobalViolationMessageClassLevel | 0.122 |
RestrictGroupsTestCase
testRestrictedGroup | 0.15 | |
testRestrictedGroupWithAdminRole | 0.145 | |
testRestrictedGroupWithUserRole | 0.137 | |
testRestrictedGroupWithCorrectViewId | 0.133 | |
testRestrictedGroupWithWrongViewId | 0.128 | |
testUsedAndRestrictedGroup | 0.117 |
UseGroupValidation1TestCase
testGroup1AwareValidation | 0.212 | |
testGroup1AndGroup2AwareValidation | 0.119 | |
testGroup2AndGroup3AwareValidationWithWrongViewId | 0.156 | |
testGroup2AndGroup3AwareValidationWithCorrectViewId1 | 0.121 | |
testGroup2AndGroup3AwareValidationWithCorrectViewId2 | 0.099 | |
testGroup2AwareValidationWithRoleAdmin | 0.123 | |
testGroup2AndGroup3AwareValidationWithRoleUser | 0.197 |