magnolia-module-groovy Version: 1.2.3 Last Published: May 30, 2012

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
2900293.103%1.391

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.066
info.magnolia.module.groovy.servlets1000100%0.014
info.magnolia.module.groovy.support.nodes2000100%0.034
info.magnolia.module.groovy.console1000100%0.537
info.magnolia.module.groovy.setup10010%0.002
info.magnolia.module.groovy.support.classes1900194.737%0.738

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

info.magnolia.module.groovy.servlets

ClassTestsErrors FailuresSkippedSuccess RateTime
MgnlGroovyRescueServletTest1000100%0.014

info.magnolia.module.groovy.support.nodes

ClassTestsErrors FailuresSkippedSuccess RateTime
MgnlGroovyNodeTest2000100%0.034

info.magnolia.module.groovy.console

ClassTestsErrors FailuresSkippedSuccess RateTime
MgnlGroovyInteractiveConsoleTest1000100%0.537

info.magnolia.module.groovy.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
InstallGroovyFileTest10010%0.002

info.magnolia.module.groovy.support.classes

ClassTestsErrors FailuresSkippedSuccess RateTime
GroovyClassFactoryTest11000100%0.694
GroovyModuleTest10010%0.001
MgnlGroovyClassLoaderTest7000100%0.043

Test Cases

[Summary] [Package List] [Test Cases]

MgnlGroovyInteractiveConsoleTest

testOnlyAuthorizedUsersCanExecuteGroovyCode0.491

MgnlGroovyRescueServletTest

testInitMethodSetRescueSecuritySupport0.012

InstallGroovyFileTest

testInstallGroovyFiles0.018
skipped

GroovyClassFactoryTest

testDelegatesToDefaultClassFactoryToLoadJavaClasses0.025
testThrowsRegularCNFEWhenClassExistsForNeitherCFs0.004
testThrowsCNFEWithCompilationErrorWhenGroovyClassCanNotBeCompiled0.18
testLoadedGroovyClassesCanUseClassesFoundThroughTheDefaultClassLoader0.205
testCanLoadFromClassPath0.021
testCanLoadClassFromRepo0.135
testRepoHasPriorityOverClasspathIfScriptInRepoIsEnabled0.013
testFallsBackToClassPathIfScriptInRepoIsDisabled0.02
testFallsBackToClassPathIfScriptInRepoIsDisabledEvenIfScriptInRepoIsNewer0.019
testRecompilesIfScriptInRepoWasModified0.037
testRecompilesOnNewInstanceIfScriptInRepoWasModified0.028

MgnlGroovyClassLoaderTest

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

MgnlGroovyNodeTest

testLookUpName0.024
testLookUpPropertyWithAndWithoutAtNotationReturnsSameValue0.009

ExecuteGroovyFileTaskTest

testInputFileNotExisting0.015
testInputFileNull0
testInputFileEmpty0.016
testInputFileGeneratingGroovyException0.009
testInputFileHappyFlow0.025

Failure Details

[Summary] [Package List] [Test Cases]


testInstallGroovyFiles
skipped: skipped
testGroovyClassFactoryIsSetupAndModuleLifecycleCanBeAGroovyScript
skipped: skipped