[Summary] [Package List] [Test Cases]
Tests | Errors | Failures | Skipped | Success Rate | Time |
---|---|---|---|---|---|
107 | 0 | 0 | 3 | 97.196% | 124.884 |
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 |
---|---|---|---|---|---|---|
info.magnolia.resourceloader.classpath | 22 | 0 | 0 | 0 | 100% | 3.038 |
info.magnolia.dirwatch | 9 | 0 | 0 | 2 | 77.778% | 110.111 |
info.magnolia.resourceloader.file | 24 | 0 | 0 | 0 | 100% | 0.12 |
info.magnolia.classpathwatch | 4 | 0 | 0 | 1 | 75% | 3.544 |
info.magnolia.resourceloader.layered | 14 | 0 | 0 | 0 | 100% | 0.066 |
info.magnolia.resourceloader.jcr | 14 | 0 | 0 | 0 | 100% | 7.971 |
info.magnolia.resourceloader.util | 11 | 0 | 0 | 0 | 100% | 0.003 |
info.magnolia.resourceloader.dummy | 9 | 0 | 0 | 0 | 100% | 0.031 |
Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.
Class | Tests | Errors | Failures | Skipped | Success Rate | Time | |
---|---|---|---|---|---|---|---|
ClasspathResourceOriginTest | 19 | 0 | 0 | 0 | 100% | 2.834 | |
LegacyClasspathResourceOriginTest | 3 | 0 | 0 | 0 | 100% | 0.204 |
Class | Tests | Errors | Failures | Skipped | Success Rate | Time | |
---|---|---|---|---|---|---|---|
DirectoryWatcherServiceTest | 2 | 0 | 0 | 2 | 0% | 0 | |
DirectoryWatcherTest | 7 | 0 | 0 | 0 | 100% | 110.111 |
Class | Tests | Errors | Failures | Skipped | Success Rate | Time | |
---|---|---|---|---|---|---|---|
ExclusionsFilterTest | 5 | 0 | 0 | 0 | 100% | 0.004 | |
FileSystemResourceOriginTest | 19 | 0 | 0 | 0 | 100% | 0.116 |
Class | Tests | Errors | Failures | Skipped | Success Rate | Time | |
---|---|---|---|---|---|---|---|
ClasspathScannerTest | 4 | 0 | 0 | 1 | 75% | 3.544 |
Class | Tests | Errors | Failures | Skipped | Success Rate | Time | |
---|---|---|---|---|---|---|---|
LayeredResourceOriginTest | 14 | 0 | 0 | 0 | 100% | 0.066 |
Class | Tests | Errors | Failures | Skipped | Success Rate | Time | |
---|---|---|---|---|---|---|---|
JcrResourceOriginTest | 14 | 0 | 0 | 0 | 100% | 7.971 |
Class | Tests | Errors | Failures | Skipped | Success Rate | Time | |
---|---|---|---|---|---|---|---|
FunctionsTest | 7 | 0 | 0 | 0 | 100% | 0.001 | |
PredicatedResourceVisitorTest | 2 | 0 | 0 | 0 | 100% | 0 | |
ResourceTreeWalkerTest | 2 | 0 | 0 | 0 | 100% | 0.002 |
Class | Tests | Errors | Failures | Skipped | Success Rate | Time | |
---|---|---|---|---|---|---|---|
DummyResourceOriginTest | 9 | 0 | 0 | 0 | 100% | 0.031 |
[Summary] [Package List] [Test Cases]
createdResourceIsDetected | 1.407 | |
modifiedResourceIsDetected | 1.067 | |
exceptionsThrownByCallbacksDontKillTheSystem | 1.07 | |
deletedFileIsDetected | 0 | |
Currently does not detect deletions, would need to keep a cache of last scanned resources. |
testWatchForFileChanges | 0 | |
skipped | ||
testRegisterNewDirecotryToWatch | 0 | |
skipped |
createdFileInNewDirectoryIsDetected | 20.041 | |
watchingFileIsNotPossible | 0.002 | |
supportsMultipleRootFolders | 20.01 | |
modifiedFileIsDetected | 20.012 | |
exceptionsThrownByCallbacksDontKillTheSystem | 20.023 | |
deletedFileIsDetected | 20.014 | |
createdFileIsDetected | 10.009 |
watchForChangesTriggersFunctionForChangesToConfigFiles | 0.366 | |
mgnlBootstrapWhateverFoldersAreExcluded | 0.173 | |
lastModifiedReturnsTimeOfLastModification | 0.159 | |
hasPathReturnsTrueForExistingResourcesAndTheirParents | 0.12 | |
getRootReturnsResourceForRoot | 0.122 | |
getByPathReturnsResourceForDirectoriesIfPatternMatchesDirectories | 0.12 | |
openInputStreamForResource | 0.12 | |
excludesNativeLibsAndOtherFunkyThingsByDefault | 0.272 | |
getByPathReturnsResourceForFile | 0.124 | |
getByPathThrowsExceptionWhenPathDoesNotExistOrDoesNotMatchPattern | 0.133 | |
getParentReturnsNullForRootPath | 0.125 | |
getParentReturnsTheParentFolderForPathToFolder | 0.12 | |
listChildrenThrowsExceptionWhenGivenPathIsAFile | 0.126 | |
mgnlResourcesIsExcludedByDefault | 0.121 | |
watchForChangesTriggersNothingIfServiceNotEnabled | 0.124 | |
getParentReturnsTheParentFolderForPathToFile | 0.12 | |
reflectionsURLsFiltersNativeLibsOut | 0.137 | |
listChildrenReturnsVirtualDirectoryStructure | 0.124 | |
traverseWithCallsFunctionForEveryResource | 0.128 |
mgnlResourcesAreNotAvailableAtMgnlResources | 0.069 | |
whatsInRoot | 0.071 | |
mgnlResourcesAreAvailableAtRoot | 0.064 |
singleOriginPassesGivenReaderOnlyToThatOneResource | 0.02 | |
singleOriginFakesParents | 0.001 | |
pathsMustStartWithLeadingSlash | 0.001 | |
nameIsStupidSubstringButThisIsGoodEnoughHere | 0 | |
singleOriginPassesGivenStreamOnlyToThatOneResource | 0.003 | |
parentsMustBeSpecified | 0.001 | |
traverseWithAppliesPredicateAndFunctionOnBothFilesAndFoldersButPredicateIsNotUsedToDriveTraversal | 0.001 | |
pathsAreInInsertionOrder | 0.001 | |
parsesPathsAndInfersParentChildRelationShipsCorrectly | 0.003 |
directoryAndExtensionExcludesAreEscapedSoThatDotsCanAppearInExcludeWithNoSpecialMeaning | 0.003 | |
testApplyToRootDirectory | 0 | |
excludeWithPattern | 0 | |
excludedDirectoryNameIsCompleteMatch | 0.001 | |
excludedDirectoryAreExcludedEveryWhereNotJustInRoot | 0 |
newResourceReturnsFSRPForPathToFolder | 0.022 | |
getByPathReturnsResourceForGivenStringPath | 0.004 | |
defaultExcludeListPatternIsCorrect | 0.005 | |
excludesAreAppliedEverywhere | 0.017 | |
listChildrenDoesntIncludeGivenFolder | 0.007 | |
newResourceReturnsFSRPForAbsolutePathToFile | 0.004 | |
lastModifiedReturnsTimeOfLastModification | 0.004 | |
getRootWrapsRootPathInResource | 0.004 | |
traverseWithCallsFunctionForEveryMatchingResource | 0.008 | |
openStreamReturnStreamForGivenPath | 0.004 | |
getParentReturnsNullForRootPath | 0.004 | |
hasPathTellsIfOriginCanProvideAResourceForTheGivenPath | 0.004 | |
listChildrenThrowsExceptionWhenGivenPathIsAFile | 0.004 | |
newResourceThrowsExceptionWhenResourceIsNotBelowRoot | 0.004 | |
listChildrenReturnsDirectChildren | 0.006 | |
newResourceThrowsExceptionWhenPathDoesNotExist | 0.003 | |
getByPathThrowsExceptionForNonExistingPath | 0.003 | |
newResourceReturnsFSRPForRelativePathToFile | 0.004 | |
watchForChangesTriggersCallbackForGivenPattern | 0.005 |
getByPathThrowsExceptionWhenPathDoesNotExist | 2.39 | |
lastModifiedReturnsTimeOfLastModification | 0.8 | |
getRootReturnsResourceForRoot | 0.448 | |
traverseWithCallsFunctionForEveryMatchingResource | 0.36 | |
getByPathReturnsResourceForPathToDirectory | 0.331 | |
listChildrenReturnsChildren | 0.336 | |
openInputStreamForResource | 0.317 | |
getParentReturnsNullForRootPath | 0.31 | |
getParentReturnsTheParentFolderForPathToFolder | 0.293 | |
hasPathTellsIfOriginCanProvideAResourceForTheGivenPath | 0.283 | |
listChildrenThrowsExceptionWhenGivenPathIsAFile | 0.287 | |
getParentReturnsTheParentFolderForPathToFile | 0.27 | |
callbackIsCalledAfterResourceBecomesBypassed | 1.307 | |
getByPathReturnsResourceForPathToFile | 0.239 |
traverseWithReturnsResourcesFromAllLayersInAlphabeticalOrder | 0.03 | |
listChildrenAggregatesCorrectly | 0.002 | |
isEditableIsThatOfCorrectLayer | 0 | |
traverseWithCanFilterWhatTheFunctionIsAppliedOnIndependentlyOfTheTraversal | 0.001 | |
lastModifiedIsThatOfCorrectLayer | 0.002 | |
navigationThroughParentAggregatesCorrectly | 0 | |
watchForChangesForwardsLayeredResourceToVisitor | 0.025 | |
doNotFailIfOneResourceIsFileAndSecondIsDirectoryIfBothHaveSamePath | 0.002 | |
byPathThrowsExceptionIfResourceIsNowhereToBeFound | 0.001 | |
newValidatesThatPathsMatch | 0 | |
byPathFindsResourcesInTheDifferentLayers | 0.001 | |
newValidatesThatTypeMatch | 0.001 | |
hasPathFindsResourcesInTheDifferentLayers | 0 | |
getRootLayersAllOrigins | 0.001 |
collectorCollects | 0.001 | |
collectorCanBeAssignedToVoidFunction | 0 | |
patternBasedPredicatesOperateOnPartialPathByDefault | 0 | |
pathEqualsChecksResourcePath | 0 | |
sanityCheckForGuavaRegexPredicate | 0 | |
canPassPredicateToPathEqualsPredicate | 0 | |
collectorCollectsToGivenCollection | 0 |
traversalAppliesIndependentlyFromFunction | 0 | |
traversalPredicateIgnoresRoot | 0 |
[Summary] [Package List] [Test Cases]