magnolia-module-groovy Version: 1.2-RC4 Last Published: Mar 1, 2012

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
2600196.154%1.323

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.servlets1000100%0.013
info.magnolia.module.groovy.console1000100%0.537
info.magnolia.module.groovy.support.classes1900194.737%0.713

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

ClassTestsErrors FailuresSkippedSuccess RateTime
MgnlGroovyRescueServletTest1000100%0.013

info.magnolia.module.groovy.console

ClassTestsErrors FailuresSkippedSuccess RateTime
MgnlGroovyInteractiveConsoleTest1000100%0.537

info.magnolia.module.groovy.support.classes

ClassTestsErrors FailuresSkippedSuccess RateTime
GroovyClassFactoryTest11000100%0.668
GroovyModuleTest10010%0.002
MgnlGroovyClassLoaderTest7000100%0.043

Test Cases

[Summary] [Package List] [Test Cases]

MgnlGroovyInteractiveConsoleTest

testOnlyAuthorizedUsersCanExecuteGroovyCode0.492

MgnlGroovyRescueServletTest

testInitMethodSetRescueSecuritySupport0.012

GroovyClassFactoryTest

testDelegatesToDefaultClassFactoryToLoadJavaClasses0.024
testThrowsRegularCNFEWhenClassExistsForNeitherCFs0.003
testThrowsCNFEWithCompilationErrorWhenGroovyClassCanNotBeCompiled0.174
testLoadedGroovyClassesCanUseClassesFoundThroughTheDefaultClassLoader0.196
testCanLoadFromClassPath0.02
testCanLoadClassFromRepo0.129
testRepoHasPriorityOverClasspathIfScriptInRepoIsEnabled0.012
testFallsBackToClassPathIfScriptInRepoIsDisabled0.02
testFallsBackToClassPathIfScriptInRepoIsDisabledEvenIfScriptInRepoIsNewer0.019
testRecompilesIfScriptInRepoWasModified0.036
testRecompilesOnNewInstanceIfScriptInRepoWasModified0.027

MgnlGroovyClassLoaderTest

testThrowCFEWhenCompileChecksAreOnAndPackageDeclarationIsMissing0.002
testThrowCFEWhenCompileChecksAreOnAndPackageDeclarationIsWrong0.002
testDoNotThrowCFEWhenCompileChecksAreOnAndPackageDeclarationIsCorrect0.005
testDoNotThrowCFEWhenCompileChecksAreOnAndPackageDeclarationIsEmptyAndMgnlPathIsRoot0.006
testDoNotThrowCFEWhenCompileChecksAreOffAndPackageDeclarationIsWrong0.009
testDoNotThrowCFEWhenCompileChecksAreOnAndClassDeclarationIsFound0.012
testThrowCFEWhenCompileChecksAreOnAndClassDeclarationIsNotFound0.001

ExecuteGroovyFileTaskTest

testInputFileNotExisting0.016
testInputFileNull0
testInputFileEmpty0.016
testInputFileGeneratingGroovyException0.008
testInputFileHappyFlow0.019

Failure Details

[Summary] [Package List] [Test Cases]


testGroovyClassFactoryIsSetupAndModuleLifecycleCanBeAGroovyScript
skipped: skipped