Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
4900491.837%15.433

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.062
info.magnolia.module.groovy.support.nodes14000100%0.066
info.magnolia.module.groovy.rescue10010%0.051
info.magnolia.module.groovy.setup800187.5%13.749
info.magnolia.module.groovy.terminal1000100%0.062
info.magnolia.module.groovy.support.classes2000290%1.443

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

info.magnolia.module.groovy.support.nodes

ClassTestsErrors FailuresSkippedSuccess RateTime
MgnlGroovyJCRNodeTest8000100%0.038
MgnlGroovyNodeTest6000100%0.028

info.magnolia.module.groovy.rescue

ClassTestsErrors FailuresSkippedSuccess RateTime
MgnlGroovyRescueAppTest10010%0.051

info.magnolia.module.groovy.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
GroovyModuleVersionHandlerTest7000100%13.748
InstallGroovyFileTest10010%0.001

info.magnolia.module.groovy.terminal

ClassTestsErrors FailuresSkippedSuccess RateTime
GroovyTerminalTest1000100%0.062

info.magnolia.module.groovy.support.classes

ClassTestsErrors FailuresSkippedSuccess RateTime
GroovyClassFactoryTest1100190.909%1.337
GroovyModuleTest10010%0
MgnlGroovyClassLoaderTest8000100%0.106

Test Cases

[Summary] [Package List] [Test Cases]

MgnlGroovyRescueAppTest

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

GroovyModuleVersionHandlerTest

testUpdateTo22ReordersGroovyInDevGroup6.073
testUpgradeFrom102.255
testUpdateTo221AddsDuplicateAction0.969
testUpgradeTo22SetsAppPermissions1.328
testUpdateTo22WithNoExistingLegacyApp1.158
testUpdateTo22WithExistingLegacyApp1.088
testUpgradeFrom2220.877

InstallGroovyFileTest

testInstallGroovyFiles0
skipped

GroovyClassFactoryTest

testRepoHasPriorityOverClasspathIfScriptInRepoIsEnabled0.795
testThrowsRegularCNFEWhenClassExistsForNeitherCFs0.051
testRecompilesOnNewInstanceIfScriptInRepoWasModified0.043
testCanLoadClassFromRepo0.043
skipped
testFallsBackToClassPathIfScriptInRepoIsDisabledEvenIfScriptInRepoIsNewer0.04
testRecompilesIfScriptInRepoWasModified0.062
testLoadedGroovyClassesCanUseClassesFoundThroughTheDefaultClassLoader0.216
testFallsBackToClassPathIfScriptInRepoIsDisabled0.036
testCanLoadFromClassPath0.031
testDelegatesToDefaultClassFactoryToLoadJavaClasses0.001
testThrowsCNFEWithCompilationErrorWhenGroovyClassCanNotBeCompiled0.019

GroovyModuleTest

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

MgnlGroovyClassLoaderTest

testDoNotThrowCFEWhenCompileChecksAreOffAndPackageDeclarationIsWrong0.016
testThrowCFEWhenCompileChecksAreOnAndClassDeclarationIsNotFound0.003
testDoNotThrowCFEWhenCompileChecksAreOnAndClassDeclarationIsFound0.024
testDoNotThrowCFEWhenCompileChecksAreOnAndPackageDeclarationIsEmptyAndMgnlPathIsRoot0.012
testDoNotThrowCFEWhenCompileChecksAreOnAndPackageDeclarationIsCorrect0.01
testThrowCFEWhenCompileChecksAreOnAndPackageDeclarationIsMissing0.003
testMgnlGroovyClassLoaderCallMethod0.035
testThrowCFEWhenCompileChecksAreOnAndPackageDeclarationIsWrong0.003

MgnlGroovyJCRNodeTest

testIteratorWithContentNode0.022
testGetChildren0.014
testShowProperty0
testLookUpName0
testGetChildrenOrNodesWithContentNode0
testShowNode0.001
testIterator0
testLookUpPropertyWithAndWithoutAtNotationReturnsSameValue0.001

MgnlGroovyNodeTest

testIteratorWithContentNode0.023
testGetChildren0.001
testGetChildrenWithContentNode0
testLookUpName0.004
testIterator0
testLookUpPropertyWithAndWithoutAtNotationReturnsSameValue0

ExecuteGroovyFileTaskTest

testInputFileHappyFlow0.036
testInputFileNotExisting0.001
testInputFileEmpty0.011
testInputFileNull0
testInputFileGeneratingGroovyException0.014

GroovyTerminalTest

testOnlyAuthorizedUsersCanExecuteGroovyCode0.062

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 ?