Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
4600491.304%12.916

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.074
info.magnolia.module.groovy.support.nodes14000100%0.048
info.magnolia.module.groovy.rescue10010%0.051
info.magnolia.module.groovy.setup500180%11.527
info.magnolia.module.groovy.terminal1000100%0.047
info.magnolia.module.groovy.support.classes2000290%1.169

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

info.magnolia.module.groovy.support.nodes

ClassTestsErrors FailuresSkippedSuccess RateTime
MgnlGroovyJCRNodeTest8000100%0.023
MgnlGroovyNodeTest6000100%0.025

info.magnolia.module.groovy.rescue

ClassTestsErrors FailuresSkippedSuccess RateTime
MgnlGroovyRescueAppTest10010%0.051

info.magnolia.module.groovy.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
GroovyModuleVersionHandlerTest4000100%11.526
InstallGroovyFileTest10010%0.001

info.magnolia.module.groovy.terminal

ClassTestsErrors FailuresSkippedSuccess RateTime
GroovyTerminalTest1000100%0.047

info.magnolia.module.groovy.support.classes

ClassTestsErrors FailuresSkippedSuccess RateTime
GroovyClassFactoryTest1100190.909%1.061
GroovyModuleTest10010%0
MgnlGroovyClassLoaderTest8000100%0.108

Test Cases

[Summary] [Package List] [Test Cases]

MgnlGroovyRescueAppTest

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

GroovyModuleVersionHandlerTest

testUpdateTo22ReordersGroovyInDevGroup6.369
testUpdateTo2_Dot_2WithNoExistingLegacyApp2.365
testUpgradeTo2_Dot_2SetsAppPermissions1.473
testUpdateTo2_Dot_2WithExistingLegacyApp1.319

InstallGroovyFileTest

testInstallGroovyFiles0
skipped

GroovyClassFactoryTest

testRepoHasPriorityOverClasspathIfScriptInRepoIsEnabled0.632
testThrowsRegularCNFEWhenClassExistsForNeitherCFs0.033
testRecompilesOnNewInstanceIfScriptInRepoWasModified0.04
testCanLoadClassFromRepo0.04
skipped
testFallsBackToClassPathIfScriptInRepoIsDisabledEvenIfScriptInRepoIsNewer0.033
testRecompilesIfScriptInRepoWasModified0.051
testLoadedGroovyClassesCanUseClassesFoundThroughTheDefaultClassLoader0.158
testFallsBackToClassPathIfScriptInRepoIsDisabled0.025
testCanLoadFromClassPath0.031
testDelegatesToDefaultClassFactoryToLoadJavaClasses0
testThrowsCNFEWithCompilationErrorWhenGroovyClassCanNotBeCompiled0.018

GroovyModuleTest

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

MgnlGroovyClassLoaderTest

testDoNotThrowCFEWhenCompileChecksAreOffAndPackageDeclarationIsWrong0.011
testThrowCFEWhenCompileChecksAreOnAndClassDeclarationIsNotFound0.005
testDoNotThrowCFEWhenCompileChecksAreOnAndClassDeclarationIsFound0.023
testDoNotThrowCFEWhenCompileChecksAreOnAndPackageDeclarationIsEmptyAndMgnlPathIsRoot0.01
testDoNotThrowCFEWhenCompileChecksAreOnAndPackageDeclarationIsCorrect0.009
testThrowCFEWhenCompileChecksAreOnAndPackageDeclarationIsMissing0.004
testMgnlGroovyClassLoaderCallMethod0.043
testThrowCFEWhenCompileChecksAreOnAndPackageDeclarationIsWrong0.003

MgnlGroovyJCRNodeTest

testIteratorWithContentNode0.013
testGetChildren0.008
testShowProperty0
testLookUpName0
testGetChildrenOrNodesWithContentNode0
testShowNode0.001
testIterator0
testLookUpPropertyWithAndWithoutAtNotationReturnsSameValue0.001

MgnlGroovyNodeTest

testIteratorWithContentNode0.02
testGetChildren0.001
testGetChildrenWithContentNode0
testLookUpName0.003
testIterator0
testLookUpPropertyWithAndWithoutAtNotationReturnsSameValue0.001

ExecuteGroovyFileTaskTest

testInputFileHappyFlow0.045
testInputFileNotExisting0
testInputFileEmpty0.015
testInputFileNull0.001
testInputFileGeneratingGroovyException0.013

GroovyTerminalTest

testOnlyAuthorizedUsersCanExecuteGroovyCode0.047

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 ?