magnolia-module-groovy Version: 1.2.1 Last Published: Mar 12, 2012

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
2600196.154%1.333

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

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

info.magnolia.module.groovy.servlets

ClassTestsErrors FailuresSkippedSuccess RateTime
MgnlGroovyRescueServletTest1000100%0.014

info.magnolia.module.groovy.console

ClassTestsErrors FailuresSkippedSuccess RateTime
MgnlGroovyInteractiveConsoleTest1000100%0.537

info.magnolia.module.groovy.support.classes

ClassTestsErrors FailuresSkippedSuccess RateTime
GroovyClassFactoryTest11000100%0.676
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.176
testLoadedGroovyClassesCanUseClassesFoundThroughTheDefaultClassLoader0.198
testCanLoadFromClassPath0.021
testCanLoadClassFromRepo0.129
testRepoHasPriorityOverClasspathIfScriptInRepoIsEnabled0.013
testFallsBackToClassPathIfScriptInRepoIsDisabled0.02
testFallsBackToClassPathIfScriptInRepoIsDisabledEvenIfScriptInRepoIsNewer0.019
testRecompilesIfScriptInRepoWasModified0.036
testRecompilesOnNewInstanceIfScriptInRepoWasModified0.028

MgnlGroovyClassLoaderTest

testThrowCFEWhenCompileChecksAreOnAndPackageDeclarationIsMissing0.002
testThrowCFEWhenCompileChecksAreOnAndPackageDeclarationIsWrong0.002
testDoNotThrowCFEWhenCompileChecksAreOnAndPackageDeclarationIsCorrect0.006
testDoNotThrowCFEWhenCompileChecksAreOnAndPackageDeclarationIsEmptyAndMgnlPathIsRoot0.006
testDoNotThrowCFEWhenCompileChecksAreOffAndPackageDeclarationIsWrong0.01
testDoNotThrowCFEWhenCompileChecksAreOnAndClassDeclarationIsFound0.013
testThrowCFEWhenCompileChecksAreOnAndClassDeclarationIsNotFound0.002

ExecuteGroovyFileTaskTest

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

Failure Details

[Summary] [Package List] [Test Cases]


testGroovyClassFactoryIsSetupAndModuleLifecycleCanBeAGroovyScript
skipped: skipped