[Summary] [Package List] [Test Cases]
Tests | Errors | Failures | Skipped | Success Rate | Time |
---|---|---|---|---|---|
84 | 0 | 0 | 0 | 100% | 12.365 |
Note: failures are anticipated and checked for with assertions while errors are unanticipated.
[Summary] [Package List] [Test Cases]
Package | Tests | Errors | Failures | Skipped | Success Rate | Time |
---|---|---|---|---|---|---|
org.apache.creadur.whisker.fromxml | 84 | 0 | 0 | 0 | 100% | 12.365 |
Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.
Class | Tests | Errors | Failures | Skipped | Success Rate | Time | |
---|---|---|---|---|---|---|---|
JDomBuilderWithDirectoryTest | 4 | 0 | 0 | 0 | 100% | 2.74 | |
JDomBuilderResourceTest | 8 | 0 | 0 | 0 | 100% | 0.138 | |
JDomBuilderByOrganisationTest | 21 | 0 | 0 | 0 | 100% | 0.02 | |
JDomBuilderOrganisationTest | 2 | 0 | 0 | 0 | 100% | 0.003 | |
JDomBuilderWithLicenseTest | 17 | 0 | 0 | 0 | 100% | 2.75 | |
JDomBuilderLicenseTest | 10 | 0 | 0 | 0 | 100% | 0.007 | |
JDomBuilderWorkTest | 22 | 0 | 0 | 0 | 100% | 6.707 |
[Summary] [Package List] [Test Cases]
testBuildWithinDirectorySetsLicenses | 0.403 | |
testBuildWithinDirectorySetsPublicDomain | 0.534 | |
testBuildWithinDirectorySetsDirectoryName | 0 | |
testCollectPublicDomainOrgs | 1.803 |
testBuildResourceWithNameNoticeAndSourceTrimsSpacesBeforeValue | 0.137 | |
testBuildResourceWithNameNoticeAndSourceTrimsSpaces | 0 | |
testBuildResourceWithNameNoticeAndSourceTrimsSpacesAfterValue | 0 | |
testBuildResourceWithNameNoticeAndSourceTrimsWithSpacesInValue | 0 | |
testBuildResourceWithNameNoticeAndSourceSpacesInVaule | 0 | |
testBuildResourceWithNameNoticeAndSourceLowers | 0 | |
testBuildResourceWithNameNoticeAndSourceCaps | 0 | |
testThrowsIllegalArgumentWhenElementIsNotResource | 0.001 |
testBuildResourcesFromNoResources | 0.006 | |
testCollectResourcesNumbered1 | 0 | |
testCollectResourcesNumbered2 | 0 | |
testCollectResourcesNumbered3 | 0 | |
testCollectResourcesNumbered4 | 0.001 | |
testOrganisationByIdThrowsIllegalArgumentWhenOrganisationsEmpty | 0.004 | |
testOrganisationByIdThrowsIllegalArgumentWhenOrganisationsMissing | 0 | |
testOrganisationByIdFindsOrganisationsPresent | 0 | |
testByOrganisationBuildsFromOrganisationAndElementWith3ChildResources | 0 | |
testByOrganisationBuildsFromOrganisationAndElementWith5ChildResources | 0 | |
testByOrganisationBuildsFromOrganisationAndElementWith10ChildResources | 0 | |
testByOrganisationBuildsFromMapAndElementWith1ChildResources | 0 | |
testByOrganisationBuildsFromMapAndElementWith5ChildResources | 0 | |
testByOrganisationBuildsFromMapAndElementWith10ChildResources | 0.001 | |
testByOrganisationCollectiveOneChild | 0 | |
testByOrganisationCollective2Children | 0.005 | |
testByOrganisationCollective5Child | 0.001 | |
testByOrganisationCollective3Child | 0 | |
testByOrganisationCollective7Child | 0.001 | |
testByOrganisationEmptyCollective | 0 | |
testByOrganisationCollectiveUnmodifiable | 0.001 |
testOrganisationSetsIdNameUrl | 0.002 | |
testThrowIllegalArgumentWhenResourceIsNotOrganisation | 0.001 |
testLicenseFromListThrowsMissingIDWhenEmpty | 0.009 | |
testLicenseFromListThrowsMissingIDWhenIDsAreMismatched | 0 | |
testLicenseFromListFindsLicense | 0 | |
testBuildLicenseFromElementWithCopyrightNotice | 0.001 | |
testBuildLicenseFromElementWithCopyrightNoticeTrimSpaces | 0.001 | |
testBuildLicenseFromElementNoCopyrightNoticeNoParameters | 0 | |
testBuildLicenseWithParametersIsEmptyWhenNoParameters | 0 | |
testBuildLicenseWithOneParameter | 0 | |
testBuildLicenseWithTwoParameters | 0.001 | |
testBuildLicenseWith3Parameters | 0 | |
testBuildLicenseWith4Parameters | 0 | |
testBuildLicenseWith7Parameters | 0 | |
testBuildLicenseWith11Parameters | 0 | |
testBuildLicenseWith101Parameters | 0.001 | |
testWithLicenseBuildWithParameters | 0.205 | |
testBuildLicenseWithParametersThrowsExceptionWhenParameterIsDuplicated | 0.001 | |
testBuildCollectWithLicenses | 2.531 |
testLicenseWithNameUrl | 0.003 | |
testLicenseRequiresSourceTrue | 0.001 | |
testLicenseRequiresSourceTrueAllCaps | 0 | |
testLicenseRequiresSourceTrueMixedCase | 0 | |
testLicenseRequiresSourceFalse | 0.001 | |
testLicenseRequiresSourceDefault | 0 | |
testLicenseNoParameters | 0 | |
testLicenseOneParameter | 0.001 | |
testLicenseTwoParameters | 0 | |
testLicenseBaseText | 0.001 |
testMapNoticesIsEmptyWhenDocumentHasNoNotices | 0.028 | |
testMapNoticesExpectedToBeImmutable | 0.001 | |
testMapNoticesFindsNoticesDefinedInDocument | 1.338 | |
testMapLicensesIsEmptyWhenDocumentHasNoLicenses | 0 | |
testMapLicensesExpectedToBeImmutable | 0.001 | |
testMapLicensesFindsLicensesDefinedInDocument | 1.03 | |
testMapOrganisationsIsEmptyWhenDocumentHasNoOrganisations | 0 | |
testMapOrganisationsExpectedToBeImmutable | 0.001 | |
testMapOrganisationsFindOrganisationDefinedInDocument | 0.509 | |
testPrimaryLicense | 0 | |
testNoPrimaryCopyright | 0.001 | |
testPrimaryCopyright | 0 | |
testBuildPrimaryCopyright | 0.015 | |
testThrowsMissingIDExceptionWhenPrimaryLicenseMissing | 0.003 | |
testPrimaryNoticeFindsNoticeText | 0.052 | |
testPrimaryNoticeIsNullWhenThereIsNoNoticeText | 0 | |
testPrimaryNoticeSubstitutesYearInNoticeText | 0.001 | |
testFindPrimaryOrganisationIdReturnsNullWhenOrganisationUnset | 0 | |
testFindPrimaryOrganisationIdWhenSet | 0.001 | |
testCollectContentsReturneEmptyWhenDocumentHasNoContents | 0 | |
testCollectDirectoriesDefinedInDocument | 3.721 | |
testCollectDirectoriesThrowsDuplicateElementExceptionWhenDirAttributeDuplicated | 0.005 |