Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
4900491.837%11.829

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.052
info.magnolia.module.groovy.support.nodes14000100%0.032
info.magnolia.module.groovy.rescue10010%0.035
info.magnolia.module.groovy.setup800187.5%10.905
info.magnolia.module.groovy.terminal1000100%0.033
info.magnolia.module.groovy.support.classes2000290%0.772

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.052

info.magnolia.module.groovy.support.nodes

ClassTestsErrors FailuresSkippedSuccess RateTime
MgnlGroovyJCRNodeTest8000100%0.016
MgnlGroovyNodeTest6000100%0.016

info.magnolia.module.groovy.rescue

ClassTestsErrors FailuresSkippedSuccess RateTime
MgnlGroovyRescueAppTest10010%0.035

info.magnolia.module.groovy.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
GroovyModuleVersionHandlerTest7000100%10.905
InstallGroovyFileTest10010%0

info.magnolia.module.groovy.terminal

ClassTestsErrors FailuresSkippedSuccess RateTime
GroovyTerminalTest1000100%0.033

info.magnolia.module.groovy.support.classes

ClassTestsErrors FailuresSkippedSuccess RateTime
GroovyClassFactoryTest1100190.909%0.715
GroovyModuleTest10010%0.001
MgnlGroovyClassLoaderTest8000100%0.056

Test Cases

[Summary] [Package List] [Test Cases]

MgnlGroovyRescueAppTest

testInitMethodSetRescueSecuritySupport0.035
info.magnolia.objectfactory.MgnlInstantiationException: java.lang.NoSuchMethodException: info.magnolia.context.SystemRepositoryStrategy.<init>()

GroovyModuleVersionHandlerTest

testUpdateTo22ReordersGroovyInDevGroup4.403
testUpgradeFrom101.913
testUpdateTo221AddsDuplicateAction0.729
testUpgradeTo22SetsAppPermissions1.307
testUpdateTo22WithNoExistingLegacyApp1.063
testUpdateTo22WithExistingLegacyApp0.878
testUpgradeFrom2220.612

InstallGroovyFileTest

testInstallGroovyFiles0
skipped

GroovyClassFactoryTest

testRepoHasPriorityOverClasspathIfScriptInRepoIsEnabled0.441
testThrowsRegularCNFEWhenClassExistsForNeitherCFs0.024
testRecompilesOnNewInstanceIfScriptInRepoWasModified0.026
testCanLoadClassFromRepo0.026
skipped
testFallsBackToClassPathIfScriptInRepoIsDisabledEvenIfScriptInRepoIsNewer0.027
testRecompilesIfScriptInRepoWasModified0.038
testLoadedGroovyClassesCanUseClassesFoundThroughTheDefaultClassLoader0.096
testFallsBackToClassPathIfScriptInRepoIsDisabled0.016
testCanLoadFromClassPath0.013
testDelegatesToDefaultClassFactoryToLoadJavaClasses0.001
testThrowsCNFEWithCompilationErrorWhenGroovyClassCanNotBeCompiled0.007

GroovyModuleTest

testGroovyClassFactoryIsSetupAndModuleLifecycleCanBeAGroovyScript0.001
fails with java.lang.AssertionError: Groovy Module class wasn't loaded ?

MgnlGroovyClassLoaderTest

testDoNotThrowCFEWhenCompileChecksAreOffAndPackageDeclarationIsWrong0.006
testThrowCFEWhenCompileChecksAreOnAndClassDeclarationIsNotFound0.002
testDoNotThrowCFEWhenCompileChecksAreOnAndClassDeclarationIsFound0.011
testDoNotThrowCFEWhenCompileChecksAreOnAndPackageDeclarationIsEmptyAndMgnlPathIsRoot0.004
testDoNotThrowCFEWhenCompileChecksAreOnAndPackageDeclarationIsCorrect0.004
testThrowCFEWhenCompileChecksAreOnAndPackageDeclarationIsMissing0.002
testMgnlGroovyClassLoaderCallMethod0.025
testThrowCFEWhenCompileChecksAreOnAndPackageDeclarationIsWrong0.002

MgnlGroovyJCRNodeTest

testIteratorWithContentNode0.011
testGetChildren0.004
testShowProperty0
testLookUpName0.001
testGetChildrenOrNodesWithContentNode0
testShowNode0
testIterator0
testLookUpPropertyWithAndWithoutAtNotationReturnsSameValue0

MgnlGroovyNodeTest

testIteratorWithContentNode0.013
testGetChildren0
testGetChildrenWithContentNode0
testLookUpName0.002
testIterator0
testLookUpPropertyWithAndWithoutAtNotationReturnsSameValue0.001

ExecuteGroovyFileTaskTest

testInputFileHappyFlow0.034
testInputFileNotExisting0
testInputFileEmpty0.01
testInputFileNull0
testInputFileGeneratingGroovyException0.008

GroovyTerminalTest

testOnlyAuthorizedUsersCanExecuteGroovyCode0.033

Failure Details

[Summary] [Package List] [Test Cases]


testInitMethodSetRescueSecuritySupport
skipped: info.magnolia.objectfactory.MgnlInstantiationException: java.lang.NoSuchMethodException: info.magnolia.context.SystemRepositoryStrategy.<init>()
testInstallGroovyFiles
skipped: skipped
testCanLoadClassFromRepo
skipped: skipped
testGroovyClassFactoryIsSetupAndModuleLifecycleCanBeAGroovyScript
skipped: fails with java.lang.AssertionError: Groovy Module class wasn't loaded ?