Surefire Report

Summary


Tests Errors Failures Skipped Success Rate Time
19 0 0 0 100% 2.312

Note: failures are anticipated and checked for with assertions while errors are unanticipated.

Package List


Package Tests Errors Failures Skipped Success Rate Time
info.magnolia.module.groovy.support.classes 19 0 0 0 100% 2.312

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

info.magnolia.module.groovy.support.classes

Class Tests Errors Failures Skipped Success Rate Time
GroovyClassFactoryTest 11 0 0 0 100% 0.461
GroovyModuleTest 1 0 0 0 100% 1.721
MgnlGroovyClassLoaderTest 7 0 0 0 100% 0.13

Test Cases

GroovyClassFactoryTest

testDelegatesToDefaultClassFactoryToLoadJavaClasses 0.058
testThrowsRegularCNFEWhenClassExistsForNeitherCFs 0.002
testThrowsCNFEWithCompilationErrorWhenGroovyClassCanNotBeCompiled 0.013
testLoadedGroovyClassesCanUseClassesFoundThroughTheDefaultClassLoader 0.066
testCanLoadFromClassPath 0.031
testCanLoadClassFromRepo 0.024
testRepoHasPriorityOverClasspathIfScriptInRepoIsEnabled 0.033
testFallsBackToClassPathIfScriptInRepoIsDisabled 0.045
testFallsBackToClassPathIfScriptInRepoIsDisabledEvenIfScriptInRepoIsNewer 0.041
testRecompilesIfScriptInRepoWasModified 0.074
testRecompilesOnNewInstanceIfScriptInRepoWasModified 0.065

GroovyModuleTest

testGroovyClassFactoryIsSetupAndModuleLifecycleCanBeAGroovyScript 1.699

MgnlGroovyClassLoaderTest

testThrowCFEWhenCompileChecksAreOnAndPackageDeclarationIsMissing 0.032
testThrowCFEWhenCompileChecksAreOnAndPackageDeclarationIsWrong 0.002
testDoNotThrowCFEWhenCompileChecksAreOnAndPackageDeclarationIsCorrect 0.008
testDoNotThrowCFEWhenCompileChecksAreOnAndPackageDeclarationIsEmptyAndMgnlPathIsRoot 0.006
testDoNotThrowCFEWhenCompileChecksAreOffAndPackageDeclarationIsWrong 0.063
testDoNotThrowCFEWhenCompileChecksAreOnAndClassDeclarationIsFound 0.013
testThrowCFEWhenCompileChecksAreOnAndClassDeclarationIsNotFound 0.002