Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
53 0 0 0 100% 0.136

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
de.smartics.testdoc.report.resource 27 0 0 0 100% 0.107
de.smartics.testdoc.report.export.doc 26 0 0 0 100% 0.029

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

de.smartics.testdoc.report.resource

Class Tests Errors Failures Skipped Success Rate Time
BaseAbstractClassPathCategoryResourceProviderTest 7 0 0 0 100% 0.012
CategoryResourceConstructionTest 4 0 0 0 100% 0
CategoryResourceLoaderTest 4 0 0 0 100% 0.006
CategoryResourceObjectTest 9 0 0 0 100% 0.074
CategoryResourceSerializationTest 1 0 0 0 100% 0.011
DefaultCategoryResourceProviderTest 1 0 0 0 100% 0.004
IconNotFoundExceptionTest 1 0 0 0 100% 0

de.smartics.testdoc.report.export.doc

Class Tests Errors Failures Skipped Success Rate Time
SelectionFilterAcceptCategoryTest 8 0 0 0 100% 0.015
SelectionFilterConstructorTest 4 0 0 0 100% 0
SelectionFilterFilterCategoriesTest 7 0 0 0 100% 0.002
SelectionFilterFilterScenariosTest 7 0 0 0 100% 0.012

Test Cases

[Summary] [Package List] [Test Cases]

SelectionFilterAcceptCategoryTest

acceptsAnyCategoryIfIncludesAndExcludesAreNull 0.012
acceptsAnyCategoryIfIncludesAndExcludesAreEmpty 0.001
acceptsAnyCategoryIfIncludesAndExcludesAreSetByALLConstants 0
acceptsAnyCategoryIfExcludesAreEmptyAndIncludesAcceptAll 0.001
rejectsCategoryThatIsExplicitlyExcluded 0
rejectsDerivedCategoryWhoseParentIsExplicitlyExcluded 0.001
acceptsParentIfDerivedCategoryIsExplicitlyExcluded 0
acceptsCategoryThatIsExplicitlyIncluded 0

SelectionFilterConstructorTest

allowsConstructionWithoutIncludeCategoriesMeaningNoIncludes 0
rejectsConstructionWithoutExcludeCategoriesMeaningNoExcludes 0
acceptsConstructionWithEmptyCategories 0
acceptsConstructionWithConstantCategories 0

SelectionFilterFilterCategoriesTest

retainsAllCategoriesIfIncludesAndExcludesAreNull 0
retainsAllCategoriesIfIncludesAndExcludesAreEmpty 0.001
retainsAllCategoriesIfIncludesAndExcludesAreSetByALLConstants 0
retainsAllCategoriesIfExcludesAreEmptyAndIncludesAcceptAll 0
removesExplicitlyExcludedCategory 0.001
removedDerivedCategoryWhoseParentExplicitlyExcluded 0
retainsCategoryThatIsExplicitlyIncluded 0

SelectionFilterFilterScenariosTest

removesScenarioWhoseCategoryIsExplicitlyExcluded 0.011
removesScenarioWithDerivedCategoryWhoseParentIsExplicitlyExcluded 0
retainsScenarioIfItsCategoryIsExplicitlyIncluded 0
removesScenarioIfNotAllCategoriesAreExplicitlyIncludedWhenAllAreExcluded 0
retainsScenarioIfNotAllCategoriesAreExplicitlyIncludedWhenNotAllAreExplicitlyExcluded 0
removesScenarioIfInclusionCategoryIsNotExplicitlyProvidedWhenAllAreExplicitlyExcluded 0.001
removesScenarioThatProvidesNoCategoriesAtAll 0

BaseAbstractClassPathCategoryResourceProviderTest

requiresLocaleNotNull 0.002
requiresCategoryTypeNotNull 0
returnsNullIfCategoryIsNotKnown 0.003
returnsCategoryWhenOnlyNameIsKnown 0.001
returnsCategoryWithIcon 0.005
handlesBlankIconAsIfNotSpecified 0
signalsAnExceptionIfIconIsNotFound 0.001

CategoryResourceConstructionTest

requiresLabelNotToBeNull 0
requiresLabelNotToBeBlank 0
acceptsWithLabelAndNoIcon 0
acceptsWithLabelAndIcon 0

CategoryResourceLoaderTest

hasAccessToDefaultTestDocProvider 0.005
acceptsCategoriesAsStrings 0.001
returnsValueEvenIfResourceIsUnknown 0
returnsValueEvenIfResourceClassIsUnknown 0

CategoryResourceObjectTest

equalsIsReflexive 0.011
equalsIsSymmetric 0.01
equalsIsTransitive 0.025
equalsIsConsistent 0.008
equalsReturnFalseOnNull 0.002
hashCodeIsConsistent 0.002
hashCodeIsConsistentWithEquals 0.007
hashCodeProducesUnequalHashCodesForUnequalInstances 0.007
toStringRunsWithoutFailure 0.002

CategoryResourceSerializationTest

isSerializable 0.011

DefaultCategoryResourceProviderTest

resourcesProvidedWithImage 0.004

IconNotFoundExceptionTest

providesAccessToMissingResourceId 0