Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
4800491.667%14.422

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.085
info.magnolia.module.groovy.support.nodes14000100%0.056
info.magnolia.module.groovy.rescue10010%0.051
info.magnolia.module.groovy.setup700185.714%12.668
info.magnolia.module.groovy.terminal1000100%0.053
info.magnolia.module.groovy.support.classes2000290%1.509

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

info.magnolia.module.groovy.support.nodes

ClassTestsErrors FailuresSkippedSuccess RateTime
MgnlGroovyJCRNodeTest8000100%0.029
MgnlGroovyNodeTest6000100%0.027

info.magnolia.module.groovy.rescue

ClassTestsErrors FailuresSkippedSuccess RateTime
MgnlGroovyRescueAppTest10010%0.051

info.magnolia.module.groovy.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
GroovyModuleVersionHandlerTest6000100%12.667
InstallGroovyFileTest10010%0.001

info.magnolia.module.groovy.terminal

ClassTestsErrors FailuresSkippedSuccess RateTime
GroovyTerminalTest1000100%0.053

info.magnolia.module.groovy.support.classes

ClassTestsErrors FailuresSkippedSuccess RateTime
GroovyClassFactoryTest1100190.909%1.428
GroovyModuleTest10010%0.001
MgnlGroovyClassLoaderTest8000100%0.08

Test Cases

[Summary] [Package List] [Test Cases]

MgnlGroovyRescueAppTest

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

GroovyModuleVersionHandlerTest

testUpdateTo22ReordersGroovyInDevGroup5.709
testUpgradeFrom102.404
testUpdateTo221AddsDuplicateAction0.97
testUpgradeTo22SetsAppPermissions1.244
testUpdateTo22WithNoExistingLegacyApp1.086
testUpdateTo22WithExistingLegacyApp1.254

InstallGroovyFileTest

testInstallGroovyFiles0.001
skipped

GroovyClassFactoryTest

testRepoHasPriorityOverClasspathIfScriptInRepoIsEnabled0.787
testThrowsRegularCNFEWhenClassExistsForNeitherCFs0.047
testRecompilesOnNewInstanceIfScriptInRepoWasModified0.043
testCanLoadClassFromRepo0.043
skipped
testFallsBackToClassPathIfScriptInRepoIsDisabledEvenIfScriptInRepoIsNewer0.111
testRecompilesIfScriptInRepoWasModified0.203
testLoadedGroovyClassesCanUseClassesFoundThroughTheDefaultClassLoader0.138
testFallsBackToClassPathIfScriptInRepoIsDisabled0.02
testCanLoadFromClassPath0.021
testDelegatesToDefaultClassFactoryToLoadJavaClasses0
testThrowsCNFEWithCompilationErrorWhenGroovyClassCanNotBeCompiled0.015

GroovyModuleTest

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

MgnlGroovyClassLoaderTest

testDoNotThrowCFEWhenCompileChecksAreOffAndPackageDeclarationIsWrong0.014
testThrowCFEWhenCompileChecksAreOnAndClassDeclarationIsNotFound0.003
testDoNotThrowCFEWhenCompileChecksAreOnAndClassDeclarationIsFound0.016
testDoNotThrowCFEWhenCompileChecksAreOnAndPackageDeclarationIsEmptyAndMgnlPathIsRoot0.006
testDoNotThrowCFEWhenCompileChecksAreOnAndPackageDeclarationIsCorrect0.014
testThrowCFEWhenCompileChecksAreOnAndPackageDeclarationIsMissing0.003
testMgnlGroovyClassLoaderCallMethod0.021
testThrowCFEWhenCompileChecksAreOnAndPackageDeclarationIsWrong0.003

MgnlGroovyJCRNodeTest

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

MgnlGroovyNodeTest

testIteratorWithContentNode0.018
testGetChildren0
testGetChildrenWithContentNode0.001
testLookUpName0.008
testIterator0
testLookUpPropertyWithAndWithoutAtNotationReturnsSameValue0

ExecuteGroovyFileTaskTest

testInputFileHappyFlow0.054
testInputFileNotExisting0.001
testInputFileEmpty0.018
testInputFileNull0
testInputFileGeneratingGroovyException0.012

GroovyTerminalTest

testOnlyAuthorizedUsersCanExecuteGroovyCode0.053

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 ?