Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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.122
de.smartics.testdoc.report.export.doc 26 0 0 0 100% 0.034

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.015
CategoryResourceConstructionTest 4 0 0 0 100% 0.001
CategoryResourceLoaderTest 4 0 0 0 100% 0.005
CategoryResourceObjectTest 9 0 0 0 100% 0.085
CategoryResourceSerializationTest 1 0 0 0 100% 0.01
DefaultCategoryResourceProviderTest 1 0 0 0 100% 0.006
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.014
SelectionFilterConstructorTest 4 0 0 0 100% 0.001
SelectionFilterFilterCategoriesTest 7 0 0 0 100% 0.004
SelectionFilterFilterScenariosTest 7 0 0 0 100% 0.015

Test Cases

[Summary] [Package List] [Test Cases]

SelectionFilterAcceptCategoryTest

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

SelectionFilterConstructorTest

allowsConstructionWithoutIncludeCategoriesMeaningNoIncludes 0
rejectsConstructionWithoutExcludeCategoriesMeaningNoExcludes 0
acceptsConstructionWithEmptyCategories 0
acceptsConstructionWithConstantCategories 0.001

SelectionFilterFilterCategoriesTest

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

SelectionFilterFilterScenariosTest

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

BaseAbstractClassPathCategoryResourceProviderTest

requiresLocaleNotNull 0.002
requiresCategoryTypeNotNull 0.001
returnsNullIfCategoryIsNotKnown 0.004
returnsCategoryWhenOnlyNameIsKnown 0.002
returnsCategoryWithIcon 0.003
handlesBlankIconAsIfNotSpecified 0.001
signalsAnExceptionIfIconIsNotFound 0.002

CategoryResourceConstructionTest

requiresLabelNotToBeNull 0.001
requiresLabelNotToBeBlank 0
acceptsWithLabelAndNoIcon 0
acceptsWithLabelAndIcon 0

CategoryResourceLoaderTest

hasAccessToDefaultTestDocProvider 0.003
acceptsCategoriesAsStrings 0.001
returnsValueEvenIfResourceIsUnknown 0.001
returnsValueEvenIfResourceClassIsUnknown 0

CategoryResourceObjectTest

equalsIsReflexive 0.013
equalsIsSymmetric 0.011
equalsIsTransitive 0.028
equalsIsConsistent 0.009
equalsReturnFalseOnNull 0.002
hashCodeIsConsistent 0.003
hashCodeIsConsistentWithEquals 0.008
hashCodeProducesUnequalHashCodesForUnequalInstances 0.008
toStringRunsWithoutFailure 0.003

CategoryResourceSerializationTest

isSerializable 0.01

DefaultCategoryResourceProviderTest

resourcesProvidedWithImage 0.006

IconNotFoundExceptionTest

providesAccessToMissingResourceId 0