Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
4400490.909%9.464

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.06
info.magnolia.module.groovy.support.nodes14000100%0.044
info.magnolia.module.groovy.rescue10010%0.049
info.magnolia.module.groovy.setup300166.667%8.21
info.magnolia.module.groovy.terminal1000100%0.051
info.magnolia.module.groovy.support.classes2000290%1.05

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

info.magnolia.module.groovy.support.nodes

ClassTestsErrors FailuresSkippedSuccess RateTime
MgnlGroovyJCRNodeTest8000100%0.023
MgnlGroovyNodeTest6000100%0.021

info.magnolia.module.groovy.rescue

ClassTestsErrors FailuresSkippedSuccess RateTime
MgnlGroovyRescueAppTest10010%0.049

info.magnolia.module.groovy.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
GroovyModuleVersionHandlerTest2000100%8.209
InstallGroovyFileTest10010%0.001

info.magnolia.module.groovy.terminal

ClassTestsErrors FailuresSkippedSuccess RateTime
GroovyTerminalTest1000100%0.051

info.magnolia.module.groovy.support.classes

ClassTestsErrors FailuresSkippedSuccess RateTime
GroovyClassFactoryTest1100190.909%0.973
GroovyModuleTest10010%0.001
MgnlGroovyClassLoaderTest8000100%0.076

Test Cases

[Summary] [Package List] [Test Cases]

MgnlGroovyRescueAppTest

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

GroovyModuleVersionHandlerTest

testUpdateTo2_Dot_2WithNoExistingLegacyApp6.006
testUpdateTo2_Dot_2WithExistingLegacyApp2.203

InstallGroovyFileTest

testInstallGroovyFiles0.001
skipped

GroovyClassFactoryTest

testRepoHasPriorityOverClasspathIfScriptInRepoIsEnabled0.578
testThrowsRegularCNFEWhenClassExistsForNeitherCFs0.033
testRecompilesOnNewInstanceIfScriptInRepoWasModified0.035
testCanLoadClassFromRepo0.035
skipped
testFallsBackToClassPathIfScriptInRepoIsDisabledEvenIfScriptInRepoIsNewer0.031
testRecompilesIfScriptInRepoWasModified0.051
testLoadedGroovyClassesCanUseClassesFoundThroughTheDefaultClassLoader0.154
testFallsBackToClassPathIfScriptInRepoIsDisabled0.023
testCanLoadFromClassPath0.021
testDelegatesToDefaultClassFactoryToLoadJavaClasses0
testThrowsCNFEWithCompilationErrorWhenGroovyClassCanNotBeCompiled0.012

GroovyModuleTest

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

MgnlGroovyClassLoaderTest

testDoNotThrowCFEWhenCompileChecksAreOffAndPackageDeclarationIsWrong0.008
testThrowCFEWhenCompileChecksAreOnAndClassDeclarationIsNotFound0.003
testDoNotThrowCFEWhenCompileChecksAreOnAndClassDeclarationIsFound0.015
testDoNotThrowCFEWhenCompileChecksAreOnAndPackageDeclarationIsEmptyAndMgnlPathIsRoot0.006
testDoNotThrowCFEWhenCompileChecksAreOnAndPackageDeclarationIsCorrect0.007
testThrowCFEWhenCompileChecksAreOnAndPackageDeclarationIsMissing0.003
testMgnlGroovyClassLoaderCallMethod0.031
testThrowCFEWhenCompileChecksAreOnAndPackageDeclarationIsWrong0.003

MgnlGroovyJCRNodeTest

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

MgnlGroovyNodeTest

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

ExecuteGroovyFileTaskTest

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

GroovyTerminalTest

testOnlyAuthorizedUsersCanExecuteGroovyCode0.051

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 ?