magnolia-module-groovy Version: 2.0.1 Last Published: Jun 18, 2013

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
3300390.909%1.614

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.074
info.magnolia.module.groovy.servlets1000100%0.007
info.magnolia.module.groovy.support.nodes6000100%0.046
info.magnolia.module.groovy.console1000100%0.581
info.magnolia.module.groovy.setup10010%0.001
info.magnolia.module.groovy.support.classes1900289.474%0.905

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

info.magnolia.module.groovy.servlets

ClassTestsErrors FailuresSkippedSuccess RateTime
MgnlGroovyRescueServletTest1000100%0.007

info.magnolia.module.groovy.support.nodes

ClassTestsErrors FailuresSkippedSuccess RateTime
MgnlGroovyNodeTest6000100%0.046

info.magnolia.module.groovy.console

ClassTestsErrors FailuresSkippedSuccess RateTime
MgnlGroovyInteractiveConsoleTest1000100%0.581

info.magnolia.module.groovy.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
InstallGroovyFileTest10010%0.001

info.magnolia.module.groovy.support.classes

ClassTestsErrors FailuresSkippedSuccess RateTime
GroovyClassFactoryTest1100190.909%0.846
GroovyModuleTest10010%0.001
MgnlGroovyClassLoaderTest7000100%0.058

Test Cases

[Summary] [Package List] [Test Cases]

MgnlGroovyInteractiveConsoleTest

testOnlyAuthorizedUsersCanExecuteGroovyCode0.581

MgnlGroovyRescueServletTest

testInitMethodSetRescueSecuritySupport0.007

InstallGroovyFileTest

testInstallGroovyFiles0.001
skipped

GroovyClassFactoryTest

testRepoHasPriorityOverClasspathIfScriptInRepoIsEnabled0.452
testThrowsRegularCNFEWhenClassExistsForNeitherCFs0.021
testRecompilesOnNewInstanceIfScriptInRepoWasModified0.043
testCanLoadClassFromRepo0.043
skipped
testFallsBackToClassPathIfScriptInRepoIsDisabledEvenIfScriptInRepoIsNewer0.035
testRecompilesIfScriptInRepoWasModified0.046
testLoadedGroovyClassesCanUseClassesFoundThroughTheDefaultClassLoader0.145
testFallsBackToClassPathIfScriptInRepoIsDisabled0.025
testCanLoadFromClassPath0.024
testDelegatesToDefaultClassFactoryToLoadJavaClasses0.001
testThrowsCNFEWithCompilationErrorWhenGroovyClassCanNotBeCompiled0.011

GroovyModuleTest

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

MgnlGroovyClassLoaderTest

testDoNotThrowCFEWhenCompileChecksAreOffAndPackageDeclarationIsWrong0.012
testThrowCFEWhenCompileChecksAreOnAndClassDeclarationIsNotFound0.002
testDoNotThrowCFEWhenCompileChecksAreOnAndClassDeclarationIsFound0.016
testDoNotThrowCFEWhenCompileChecksAreOnAndPackageDeclarationIsEmptyAndMgnlPathIsRoot0.008
testDoNotThrowCFEWhenCompileChecksAreOnAndPackageDeclarationIsCorrect0.013
testThrowCFEWhenCompileChecksAreOnAndPackageDeclarationIsMissing0.004
testThrowCFEWhenCompileChecksAreOnAndPackageDeclarationIsWrong0.003

MgnlGroovyNodeTest

testIteratorWithContentNode0.037
testGetChildren0
testGetChildrenWithContentNode0.001
testLookUpName0.007
testIterator0.001
testLookUpPropertyWithAndWithoutAtNotationReturnsSameValue0

ExecuteGroovyFileTaskTest

testInputFileHappyFlow0.049
testInputFileNotExisting0.001
testInputFileEmpty0.014
testInputFileNull0
testInputFileGeneratingGroovyException0.01

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 ?