Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
4200295.238%1.648

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


PackageTestsErrors FailuresSkippedSuccess RateTime
info.magnolia.module.groovy.task5000100%0.077
info.magnolia.module.groovy.servlets1000100%0.007
info.magnolia.module.groovy.support.nodes14000100%0.031
info.magnolia.module.groovy.console1000100%0.6
info.magnolia.module.groovy.setup10010%0.001
info.magnolia.module.groovy.support.classes2000195%0.932

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

info.magnolia.module.groovy.task

ClassTestsErrors FailuresSkippedSuccess RateTime
ExecuteGroovyFileTaskTest5000100%0.077

info.magnolia.module.groovy.servlets

ClassTestsErrors FailuresSkippedSuccess RateTime
MgnlGroovyRescueServletTest1000100%0.007

info.magnolia.module.groovy.support.nodes

ClassTestsErrors FailuresSkippedSuccess RateTime
MgnlGroovyJCRNodeTest8000100%0.014
MgnlGroovyNodeTest6000100%0.017

info.magnolia.module.groovy.console

ClassTestsErrors FailuresSkippedSuccess RateTime
MgnlGroovyInteractiveConsoleTest1000100%0.6

info.magnolia.module.groovy.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
InstallGroovyFileTest10010%0.001

info.magnolia.module.groovy.support.classes

ClassTestsErrors FailuresSkippedSuccess RateTime
GroovyClassFactoryTest11000100%0.851
GroovyModuleTest10010%0.001
MgnlGroovyClassLoaderTest8000100%0.08

Test Cases

[Summary] [Package List] [Test Cases]

MgnlGroovyInteractiveConsoleTest

testOnlyAuthorizedUsersCanExecuteGroovyCode0.6

MgnlGroovyRescueServletTest

testInitMethodSetRescueSecuritySupport0.007

InstallGroovyFileTest

testInstallGroovyFiles0
skipped

GroovyClassFactoryTest

testDelegatesToDefaultClassFactoryToLoadJavaClasses0.029
testThrowsRegularCNFEWhenClassExistsForNeitherCFs0.005
testThrowsCNFEWithCompilationErrorWhenGroovyClassCanNotBeCompiled0.204
testLoadedGroovyClassesCanUseClassesFoundThroughTheDefaultClassLoader0.252
testCanLoadFromClassPath0.026
testCanLoadClassFromRepo0.172
testRepoHasPriorityOverClasspathIfScriptInRepoIsEnabled0.016
testFallsBackToClassPathIfScriptInRepoIsDisabled0.03
testFallsBackToClassPathIfScriptInRepoIsDisabledEvenIfScriptInRepoIsNewer0.028
testRecompilesIfScriptInRepoWasModified0.05
testRecompilesOnNewInstanceIfScriptInRepoWasModified0.039

MgnlGroovyClassLoaderTest

testThrowCFEWhenCompileChecksAreOnAndPackageDeclarationIsMissing0
testThrowCFEWhenCompileChecksAreOnAndPackageDeclarationIsWrong0.002
testDoNotThrowCFEWhenCompileChecksAreOnAndPackageDeclarationIsCorrect0.009
testDoNotThrowCFEWhenCompileChecksAreOnAndPackageDeclarationIsEmptyAndMgnlPathIsRoot0.009
testDoNotThrowCFEWhenCompileChecksAreOffAndPackageDeclarationIsWrong0.012
testDoNotThrowCFEWhenCompileChecksAreOnAndClassDeclarationIsFound0.022
testThrowCFEWhenCompileChecksAreOnAndClassDeclarationIsNotFound0.003
testMgnlGroovyClassBDependsOnClassA0.023

MgnlGroovyJCRNodeTest

testLookUpName0.008
testLookUpPropertyWithAndWithoutAtNotationReturnsSameValue0
testGetChildren0
testGetChildrenWithContentNode0
testIterator0.006
testIteratorWithContentNode0
testShowNode0
testShowProperty0

MgnlGroovyNodeTest

testLookUpName0.012
testLookUpPropertyWithAndWithoutAtNotationReturnsSameValue0.005
testGetChildren0
testGetChildrenWithContentNode0
testIterator0
testIteratorWithContentNode0

ExecuteGroovyFileTaskTest

testInputFileNotExisting0.023
testInputFileNull0.001
testInputFileEmpty0.019
testInputFileGeneratingGroovyException0.01
testInputFileHappyFlow0.024

Failure Details

[Summary] [Package List] [Test Cases]


testInstallGroovyFiles
skipped: skipped
testGroovyClassFactoryIsSetupAndModuleLifecycleCanBeAGroovyScript
skipped: skipped