magnolia-module-groovy Version: 2.0.2 Last Published: Jul 9, 2013

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
4300393.023%5.791

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.064
info.magnolia.module.groovy.servlets1000100%0.008
info.magnolia.module.groovy.support.nodes14000100%0.035
info.magnolia.module.groovy.console1000100%0.543
info.magnolia.module.groovy.setup300166.667%4.536
info.magnolia.module.groovy.support.classes1900289.474%0.605

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

info.magnolia.module.groovy.servlets

ClassTestsErrors FailuresSkippedSuccess RateTime
MgnlGroovyRescueServletTest1000100%0.008

info.magnolia.module.groovy.support.nodes

ClassTestsErrors FailuresSkippedSuccess RateTime
MgnlGroovyJCRNodeTest8000100%0.006
MgnlGroovyNodeTest6000100%0.029

info.magnolia.module.groovy.console

ClassTestsErrors FailuresSkippedSuccess RateTime
MgnlGroovyInteractiveConsoleTest1000100%0.543

info.magnolia.module.groovy.setup

ClassTestsErrors FailuresSkippedSuccess RateTime
GroovyModuleVersionHandlerTest2000100%4.53
InstallGroovyFileTest10010%0.006

info.magnolia.module.groovy.support.classes

ClassTestsErrors FailuresSkippedSuccess RateTime
GroovyClassFactoryTest1100190.909%0.567
GroovyModuleTest10010%0.001
MgnlGroovyClassLoaderTest7000100%0.037

Test Cases

[Summary] [Package List] [Test Cases]

MgnlGroovyInteractiveConsoleTest

testOnlyAuthorizedUsersCanExecuteGroovyCode0.543

MgnlGroovyRescueServletTest

testInitMethodSetRescueSecuritySupport0.008

GroovyModuleVersionHandlerTest

testUpdateTo2_0_2WithExistingLegacyApp3.41
testUpdateTo2_0_2WithNoExistingLegacyApp1.12

InstallGroovyFileTest

testInstallGroovyFiles0.006
skipped

GroovyClassFactoryTest

testRepoHasPriorityOverClasspathIfScriptInRepoIsEnabled0.277
testThrowsRegularCNFEWhenClassExistsForNeitherCFs0.015
testRecompilesOnNewInstanceIfScriptInRepoWasModified0.033
testCanLoadClassFromRepo0.033
skipped
testFallsBackToClassPathIfScriptInRepoIsDisabledEvenIfScriptInRepoIsNewer0.024
testRecompilesIfScriptInRepoWasModified0.039
testLoadedGroovyClassesCanUseClassesFoundThroughTheDefaultClassLoader0.1
testFallsBackToClassPathIfScriptInRepoIsDisabled0.019
testCanLoadFromClassPath0.019
testDelegatesToDefaultClassFactoryToLoadJavaClasses0.001
testThrowsCNFEWithCompilationErrorWhenGroovyClassCanNotBeCompiled0.007

GroovyModuleTest

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

MgnlGroovyClassLoaderTest

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

MgnlGroovyJCRNodeTest

testIteratorWithContentNode0.001
testGetChildren0
testShowProperty0.001
testGetChildrenWithContentNode0
testLookUpName0.003
testShowNode0.001
testIterator0
testLookUpPropertyWithAndWithoutAtNotationReturnsSameValue0

MgnlGroovyNodeTest

testIteratorWithContentNode0.029
testGetChildren0
testGetChildrenWithContentNode0
testLookUpName0
testIterator0
testLookUpPropertyWithAndWithoutAtNotationReturnsSameValue0

ExecuteGroovyFileTaskTest

testInputFileHappyFlow0.044
testInputFileNotExisting0
testInputFileEmpty0.011
testInputFileNull0
testInputFileGeneratingGroovyException0.009

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 ?