magnolia-module-groovy Version: 1.2.4 Last Published: Dec 11, 2012

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
2900293.103%1.44

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.063
info.magnolia.module.groovy.servlets1000100%0
info.magnolia.module.groovy.support.nodes2000100%0.035
info.magnolia.module.groovy.console1000100%0.552
info.magnolia.module.groovy.setup10010%0.001
info.magnolia.module.groovy.support.classes1900194.737%0.789

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

info.magnolia.module.groovy.servlets

ClassTestsErrors FailuresSkippedSuccess RateTime
MgnlGroovyRescueServletTest1000100%0

info.magnolia.module.groovy.support.nodes

ClassTestsErrors FailuresSkippedSuccess RateTime
MgnlGroovyNodeTest2000100%0.035

info.magnolia.module.groovy.console

ClassTestsErrors FailuresSkippedSuccess RateTime
MgnlGroovyInteractiveConsoleTest1000100%0.552

info.magnolia.module.groovy.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
InstallGroovyFileTest10010%0.001

info.magnolia.module.groovy.support.classes

ClassTestsErrors FailuresSkippedSuccess RateTime
GroovyClassFactoryTest11000100%0.744
GroovyModuleTest10010%0.001
MgnlGroovyClassLoaderTest7000100%0.044

Test Cases

[Summary] [Package List] [Test Cases]

MgnlGroovyInteractiveConsoleTest

testOnlyAuthorizedUsersCanExecuteGroovyCode0.552

MgnlGroovyRescueServletTest

testInitMethodSetRescueSecuritySupport0

InstallGroovyFileTest

testInstallGroovyFiles0
skipped

GroovyClassFactoryTest

testDelegatesToDefaultClassFactoryToLoadJavaClasses0.028
testThrowsRegularCNFEWhenClassExistsForNeitherCFs0.004
testThrowsCNFEWithCompilationErrorWhenGroovyClassCanNotBeCompiled0.194
testLoadedGroovyClassesCanUseClassesFoundThroughTheDefaultClassLoader0.216
testCanLoadFromClassPath0.025
testCanLoadClassFromRepo0.144
testRepoHasPriorityOverClasspathIfScriptInRepoIsEnabled0.015
testFallsBackToClassPathIfScriptInRepoIsDisabled0.023
testFallsBackToClassPathIfScriptInRepoIsDisabledEvenIfScriptInRepoIsNewer0.023
testRecompilesIfScriptInRepoWasModified0.041
testRecompilesOnNewInstanceIfScriptInRepoWasModified0.031

MgnlGroovyClassLoaderTest

testThrowCFEWhenCompileChecksAreOnAndPackageDeclarationIsMissing0
testThrowCFEWhenCompileChecksAreOnAndPackageDeclarationIsWrong0.002
testDoNotThrowCFEWhenCompileChecksAreOnAndPackageDeclarationIsCorrect0.007
testDoNotThrowCFEWhenCompileChecksAreOnAndPackageDeclarationIsEmptyAndMgnlPathIsRoot0.007
testDoNotThrowCFEWhenCompileChecksAreOffAndPackageDeclarationIsWrong0.011
testDoNotThrowCFEWhenCompileChecksAreOnAndClassDeclarationIsFound0.015
testThrowCFEWhenCompileChecksAreOnAndClassDeclarationIsNotFound0.002

MgnlGroovyNodeTest

testLookUpName0.025
testLookUpPropertyWithAndWithoutAtNotationReturnsSameValue0.01

ExecuteGroovyFileTaskTest

testInputFileNotExisting0.015
testInputFileNull0
testInputFileEmpty0.018
testInputFileGeneratingGroovyException0.009
testInputFileHappyFlow0.021

Failure Details

[Summary] [Package List] [Test Cases]


testInstallGroovyFiles
skipped: skipped
testGroovyClassFactoryIsSetupAndModuleLifecycleCanBeAGroovyScript
skipped: skipped