Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
4400393.182%4.736

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.039
info.magnolia.module.groovy.servlets1000100%0.006
info.magnolia.module.groovy.support.nodes14000100%0.03
info.magnolia.module.groovy.console1000100%0.418
info.magnolia.module.groovy.setup300166.667%3.756
info.magnolia.module.groovy.support.classes2000290%0.487

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

info.magnolia.module.groovy.servlets

ClassTestsErrors FailuresSkippedSuccess RateTime
MgnlGroovyRescueServletTest1000100%0.006

info.magnolia.module.groovy.support.nodes

ClassTestsErrors FailuresSkippedSuccess RateTime
MgnlGroovyJCRNodeTest8000100%0.016
MgnlGroovyNodeTest6000100%0.014

info.magnolia.module.groovy.console

ClassTestsErrors FailuresSkippedSuccess RateTime
MgnlGroovyInteractiveConsoleTest1000100%0.418

info.magnolia.module.groovy.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
GroovyModuleVersionHandlerTest2000100%3.756
InstallGroovyFileTest10010%0

info.magnolia.module.groovy.support.classes

ClassTestsErrors FailuresSkippedSuccess RateTime
GroovyClassFactoryTest1100190.909%0.444
GroovyModuleTest10010%0
MgnlGroovyClassLoaderTest8000100%0.043

Test Cases

[Summary] [Package List] [Test Cases]

MgnlGroovyInteractiveConsoleTest

testOnlyAuthorizedUsersCanExecuteGroovyCode0.418

MgnlGroovyRescueServletTest

testInitMethodSetRescueSecuritySupport0.006

GroovyModuleVersionHandlerTest

testUpdateTo2_0_2WithExistingLegacyApp2.683
testUpdateTo2_0_2WithNoExistingLegacyApp1.073

InstallGroovyFileTest

testInstallGroovyFiles0
skipped

GroovyClassFactoryTest

testRepoHasPriorityOverClasspathIfScriptInRepoIsEnabled0.209
testThrowsRegularCNFEWhenClassExistsForNeitherCFs0.018
testRecompilesOnNewInstanceIfScriptInRepoWasModified0.023
testCanLoadClassFromRepo0.023
skipped
testFallsBackToClassPathIfScriptInRepoIsDisabledEvenIfScriptInRepoIsNewer0.018
testRecompilesIfScriptInRepoWasModified0.031
testLoadedGroovyClassesCanUseClassesFoundThroughTheDefaultClassLoader0.085
testFallsBackToClassPathIfScriptInRepoIsDisabled0.017
testCanLoadFromClassPath0.014
testDelegatesToDefaultClassFactoryToLoadJavaClasses0
testThrowsCNFEWithCompilationErrorWhenGroovyClassCanNotBeCompiled0.006

GroovyModuleTest

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

MgnlGroovyClassLoaderTest

testDoNotThrowCFEWhenCompileChecksAreOffAndPackageDeclarationIsWrong0.005
testThrowCFEWhenCompileChecksAreOnAndClassDeclarationIsNotFound0.002
testDoNotThrowCFEWhenCompileChecksAreOnAndClassDeclarationIsFound0.01
testDoNotThrowCFEWhenCompileChecksAreOnAndPackageDeclarationIsEmptyAndMgnlPathIsRoot0.004
testDoNotThrowCFEWhenCompileChecksAreOnAndPackageDeclarationIsCorrect0.004
testThrowCFEWhenCompileChecksAreOnAndPackageDeclarationIsMissing0.001
testMgnlGroovyClassLoaderCallMethod0.016
testThrowCFEWhenCompileChecksAreOnAndPackageDeclarationIsWrong0.001

MgnlGroovyJCRNodeTest

testIteratorWithContentNode0.009
testGetChildren0.004
testShowProperty0
testGetChildrenWithContentNode0
testLookUpName0.002
testShowNode0.001
testIterator0
testLookUpPropertyWithAndWithoutAtNotationReturnsSameValue0

MgnlGroovyNodeTest

testIteratorWithContentNode0.014
testGetChildren0
testGetChildrenWithContentNode0
testLookUpName0
testIterator0
testLookUpPropertyWithAndWithoutAtNotationReturnsSameValue0

ExecuteGroovyFileTaskTest

testInputFileHappyFlow0.024
testInputFileNotExisting0.001
testInputFileEmpty0.008
testInputFileNull0
testInputFileGeneratingGroovyException0.006

Failure Details

[Summary] [Package List] [Test Cases]


testInstallGroovyFiles
skipped: skipped
testCanLoadClassFromRepo
skipped: skipped
testGroovyClassFactoryIsSetupAndModuleLifecycleCanBeAGroovyScript
skipped: fails with java.lang.AssertionError: Groovy Module class wasn't loaded ?