Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
235 0 0 0 100% 4.937

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


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
org.codehaus.gmavenplus.mojo 156 0 0 0 100% 4.573
org.codehaus.gmavenplus.util 31 0 0 0 100% 0.076
org.codehaus.gmavenplus.model 21 0 0 0 100% 0.003
org.codehaus.gmavenplus.plexus 15 0 0 0 100% 0.184
org.codehaus.gmavenplus.groovyworkarounds 12 0 0 0 100% 0.101

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

org.codehaus.gmavenplus.mojo

Class Tests Errors Failures Skipped Success Rate Time
AbstractCompileMojoTest 35 0 0 0 100% 1.348
AbstractGenerateStubsMojoTest 36 0 0 0 100% 0.314
AbstractGroovyDocMojoTest 2 0 0 0 100% 0.602
AbstractGroovyMojoTest 5 0 0 0 100% 0.036
AbstractGroovyStubSourcesMojoTest 1 0 0 0 100% 0.001
AbstractToolsMojoTest 3 0 0 0 100% 0.378
AddSourcesMojoTest 2 0 0 0 100% 0
AddStubSourcesMojoTest 1 0 0 0 100% 0.001
AddTestSourcesMojoTest 2 0 0 0 100% 0.001
AddTestStubSourcesMojoTest 2 0 0 0 100% 0.001
CompileMojoTest 9 0 0 0 100% 0.166
CompileTestsMojoTest 10 0 0 0 100% 0.072
ExecuteMojoTest 5 0 0 0 100% 1.361
GenerateStubsMojoTest 9 0 0 0 100% 0.083
GenerateTestStubsMojoTest 10 0 0 0 100% 0.091
GroovyDocMojoTest 9 0 0 0 100% 0.078
GroovyDocTestsMojoTest 9 0 0 0 100% 0.039
LinkTest 1 0 0 0 100% 0
RemoveStubsMojoTest 2 0 0 0 100% 0
RemoveTestStubsMojoTest 3 0 0 0 100% 0.001

org.codehaus.gmavenplus.util

Class Tests Errors Failures Skipped Success Rate Time
ClassWranglerTest 7 0 0 0 100% 0.014
FileUtilsTest 6 0 0 0 100% 0.062
ReflectionUtilsTest 18 0 0 0 100% 0

org.codehaus.gmavenplus.model

Class Tests Errors Failures Skipped Success Rate Time
ScopesTest 1 0 0 0 100% 0.001
VersionTest 20 0 0 0 100% 0.002

org.codehaus.gmavenplus.plexus

Class Tests Errors Failures Skipped Success Rate Time
IncludeProjectCompileDependenciesComponentConfiguratorTest 5 0 0 0 100% 0.127
IncludeProjectRuntimeDependenciesComponentConfiguratorTest 5 0 0 0 100% 0.019
IncludeProjectTestDependenciesComponentConfiguratorTest 5 0 0 0 100% 0.038

org.codehaus.gmavenplus.groovyworkarounds

Class Tests Errors Failures Skipped Success Rate Time
DotGroovyFileTest 3 0 0 0 100% 0.1
GroovyDocTemplateInfoTest 9 0 0 0 100% 0.001

Test Cases

[Summary] [Package List] [Test Cases]

DotGroovyFileTest

testGettersAndSetters 0.004
testNonGroovyFile 0
testGroovyWithCustomExtension 0.001

GroovyDocTemplateInfoTest

testDefaultDocTemplatesWithGroovy1_6_0_RC2 0
testDefaultClassTemplatesWithGroovy1_5_0 0
testDefaultClassTemplatesWithGroovy1_6_2 0
testDefaultPackageTemplatesWithGroovy1_5_0 0
testDefaultPackageTemplatesWithGroovy1_6_2 0
testDefaultDocTemplatesWithGroovy1_5_0 0
testDefaultDocTemplatesWithGroovy1_6_0 0
testDefaultDocTemplatesWithGroovy1_6_2 0
testDefaultDocTemplatesWithGroovy2_5_0 0

ScopesTest

test 0

VersionTest

testParseFromStringMinorIsNotInteger 0
testCompareWithSnapshotTagOtherHasRevision 0
testParseFromStringEmpty 0
testGettersAndSetters 0
testParseFromStringNull 0
testHashCodeSame 0
testCompareWithTwoTagsOneSnapshot 0
testSort 0
testParseFromStringAndToStringWithMultiPartTag 0
testParsingJavaVersion 0
testCompareWithTwoTagsDifferentStartLowercase 0
testParseFromStringMajorIsNotInteger 0
testCompare 0
testCompareWithTwoTags 0
testCompareWithTag 0
testCompareWithSnapshotTag 0
testCompareWithTwoTagsDifferentStartUppercase 0
testConstructorWithNegatives 0
testNotEqualsWithNonVersion 0.001
testBetaIsNewerThanAlpha 0

AbstractCompileMojoTest

testJava6WithSupportedGroovy 1.278
testJava10WithUnsupportedGroovy 0.002
testJava7WithUnsupportedGroovy 0.002
testJava12WithUnsupportedGroovy 0.002
testJava9WithSupportedGroovy3Indy 0.002
testJava9WithUnsupportedGroovy2_5 0.001
testJava9WithUnsupportedGroovy2_6 0.001
testJava12WithUnsupportedGroovy3 0.004
testJava9WithUnsupportedGroovy3Indy 0.002
testJava9WithUnsupportedGroovyIndy 0.004
testJava10WithSupportedGroovy3 0.003
testGroovyVersionSupportsActionFalse 0.002
testJava11WithSupportedGroovy3 0.002
testGroovyVersionSupportsActionTrue 0.002
testJava12WithSupportedGroovy3 0.003
testJava13WithUnsupportedGroovy3 0.002
testJava6WithUnsupportedGroovy 0.002
testJava13WithSupportedGroovy3 0.002
testJava11WithUnsupportedGroovy 0.002
testJava8WithUnsupportedGroovy 0.001
testJava13WithUnsupportedGroovy 0.002
testJava9WithSupportedGroovy3 0.002
testJava10WithUnsupportedGroovy3 0.002
testUnrecognizedJava 0.002
testJava13WithSupportedGroovy 0.001
testJava12WithSupportedGroovy 0.001
testJava8WithSupportedGroovy 0.002
testJava9WithUnsupportedGroovy3 0.002
testJava11WithSupportedGroovy 0.001
testJava7WithSupportedGroovy 0.002
testJava11WithUnsupportedGroovy3 0.002
testJava9WithSupportedGroovyIndy 0.002
testJava10WithSupportedGroovy 0.002
testJava9WithSupportedGroovy2_5 0.002
testJava9WithSupportedGroovy2_6 0.002

AbstractGenerateStubsMojoTest

testJava6WithSupportedGroovy 0.169
testJava10WithUnsupportedGroovy 0.011
testJava7WithUnsupportedGroovy 0.006
testJava12WithUnsupportedGroovy 0.002
testJava9WithSupportedGroovy3Indy 0.003
testGetStubs 0.008
testJava9WithUnsupportedGroovy2_5 0.002
testJava9WithUnsupportedGroovy2_6 0.004
testResetStubModifiedDates 0.017
testJava12WithUnsupportedGroovy3 0.003
testJava9WithUnsupportedGroovy3Indy 0.005
testJava9WithUnsupportedGroovyIndy 0.004
testJava10WithSupportedGroovy3 0.005
testGroovyVersionSupportsActionFalse 0.007
testJava11WithSupportedGroovy3 0.003
testGroovyVersionSupportsActionTrue 0.003
testJava12WithSupportedGroovy3 0.004
testJava13WithUnsupportedGroovy3 0.003
testJava6WithUnsupportedGroovy 0.004
testJava13WithSupportedGroovy3 0.003
testJava11WithUnsupportedGroovy 0.002
testJava8WithUnsupportedGroovy 0.003
testJava13WithUnsupportedGroovy 0.003
testJava9WithSupportedGroovy3 0.005
testJava10WithUnsupportedGroovy3 0.003
testJava13WithSupportedGroovy 0.003
testJava12WithSupportedGroovy 0.003
testJava8WithSupportedGroovy 0.002
testJava9WithUnsupportedGroovy3 0.003
testJava11WithSupportedGroovy 0.003
testJava7WithSupportedGroovy 0.003
testJava11WithUnsupportedGroovy3 0.003
testJava9WithSupportedGroovyIndy 0.002
testJava10WithSupportedGroovy 0.004
testJava9WithSupportedGroovy2_5 0.002
testJava9WithSupportedGroovy2_6 0.003

AbstractGroovyDocMojoTest

testSkipGroovyDoc 0.193
testDontSkipGroovyDoc 0.409

AbstractGroovyMojoTest

testIsJavaSupportPreviewFeaturesNo 0.032
testIsJavaSupportIndyNo 0.001
testGetJavaVersion 0
testIsJavaSupportPreviewFeatures 0.001
testIsJavaSupportIndy 0.001

AbstractGroovyStubSourcesMojoTest

testGetStubsEmpty 0

AbstractToolsMojoTest

testInitializeProperties 0.365
testInitializePropertiesNull 0.005
testInitializePropertiesAlreadyInProps 0.008

AddSourcesMojoTest

testAddSourcePathContainsPath 0
testAddSourcePathNotContainsPath 0

AddStubSourcesMojoTest

testAddsStubsToSources 0

AddTestSourcesMojoTest

testAddSourcePathContainsPath 0
testAddSourcePathNotContainsPath 0

AddTestStubSourcesMojoTest

testDoesNothingWhenSkipFlagIsSet 0
testAddsTestStubsToSources 0

CompileMojoTest

testIllegalAccessExceptionThrowsMojoExecutionException 0.084
testClassNotFoundExceptionThrowsMojoExecutionException 0.004
testCallsExpectedMethods 0.005
testGroovyVersionSupportsActionFalse 0.01
testGroovyVersionSupportsActionTrue 0.002
testMalformedURLExceptionThrowsMojoExecutionException 0.005
testInvocationTargetExceptionThrowsMojoExecutionException 0.027
testDependencyResolutionRequiredExceptionThrowsMojoExecutionException 0.024
testInstantiationExceptionThrowsMojoExecutionException 0.005

CompileTestsMojoTest

testIllegalAccessExceptionThrowsMojoExecutionException 0.035
testClassNotFoundExceptionThrowsMojoExecutionException 0.004
testCallsExpectedMethods 0.005
testGroovyVersionSupportsActionFalse 0.002
testGroovyVersionSupportsActionTrue 0.002
testMalformedURLExceptionThrowsMojoExecutionException 0.006
testInvocationTargetExceptionThrowsMojoExecutionException 0.006
testDependencyResolutionRequiredExceptionThrowsMojoExecutionException 0.004
testInstantiationExceptionThrowsMojoExecutionException 0.005
testSkipped 0.002

ExecuteMojoTest

testScriptPath 1.29
testScriptString 0.029
testGroovyVersionSupportsActionFalse 0.003
testGroovyVersionSupportsActionTrue 0.003
testScriptURL 0.035

GenerateStubsMojoTest

testIllegalAccessExceptionThrowsMojoExecutionException 0.04
testClassNotFoundExceptionThrowsMojoExecutionException 0.006
testCallsExpectedMethods 0.007
testGroovyVersionSupportsActionFalse 0.004
testGroovyVersionSupportsActionTrue 0.003
testMalformedURLExceptionThrowsMojoExecutionException 0.005
testInvocationTargetExceptionThrowsMojoExecutionException 0.005
testDependencyResolutionRequiredExceptionThrowsMojoExecutionException 0.005
testInstantiationExceptionThrowsMojoExecutionException 0.004

GenerateTestStubsMojoTest

testIllegalAccessExceptionThrowsMojoExecutionException 0.048
testClassNotFoundExceptionThrowsMojoExecutionException 0.004
testCallsExpectedMethods 0.008
testGroovyVersionSupportsActionFalse 0.003
testGroovyVersionSupportsActionTrue 0.001
testMalformedURLExceptionThrowsMojoExecutionException 0.005
testInvocationTargetExceptionThrowsMojoExecutionException 0.005
testDependencyResolutionRequiredExceptionThrowsMojoExecutionException 0.005
testInstantiationExceptionThrowsMojoExecutionException 0.008
testSkipped 0.003

GroovyDocMojoTest

testIllegalAccessExceptionThrowsMojoExecutionException 0.044
testClassNotFoundExceptionThrowsMojoExecutionException 0.005
testCallsExpectedMethods 0.005
testGroovyVersionSupportsActionFalse 0.003
testGroovyVersionSupportsActionTrue 0.003
testMalformedURLExceptionThrowsMojoExecutionException 0.005
testInvocationTargetExceptionThrowsMojoExecutionException 0.004
testDependencyResolutionRequiredExceptionThrowsMojoExecutionException 0.004
testInstantiationExceptionThrowsMojoExecutionException 0.005

GroovyDocTestsMojoTest

testIllegalAccessExceptionThrowsMojoExecutionException 0.012
testClassNotFoundExceptionThrowsMojoExecutionException 0.004
testCallsExpectedMethods 0.003
testGroovyVersionSupportsActionFalse 0.003
testGroovyVersionSupportsActionTrue 0.002
testMalformedURLExceptionThrowsMojoExecutionException 0.004
testInvocationTargetExceptionThrowsMojoExecutionException 0.004
testDependencyResolutionRequiredExceptionThrowsMojoExecutionException 0.003
testInstantiationExceptionThrowsMojoExecutionException 0.004

LinkTest

testGettersAndSetters 0

RemoveStubsMojoTest

testRemoveSourcePathContainsPath 0
testRemoveSourcePathNotContainsPath 0

RemoveTestStubsMojoTest

testDoesNothingWhenSkipFlagIsSet 0.001
testRemoveTestSourcePathContainsPath 0
testRemoveTestSourcePathNotContainsPath 0

IncludeProjectCompileDependenciesComponentConfiguratorTest

testBuildURLs 0.006
testAddProjectCompileDependenciesToClassRealm 0.02
testConfigureComponent_1 0.091
testConfigureComponent_2 0.007
testAddProjectCompileDependenciesToPlexusClassRealm 0.002

IncludeProjectRuntimeDependenciesComponentConfiguratorTest

testBuildURLs 0.006
testAddProjectRuntimeDependenciesToPlexusClassRealm 0.002
testConfigureComponent_1 0.004
testConfigureComponent_2 0.004
testAddProjectRuntimeDependenciesToClassRealm 0.003

IncludeProjectTestDependenciesComponentConfiguratorTest

testAddProjectTestDependenciesToClassRealm 0.025
testBuildURLs 0.004
testConfigureComponent_1 0.003
testConfigureComponent_2 0.002
testAddProjectTestDependenciesToPlexusClassRealm 0.003

ClassWranglerTest

testIsGroovyIndyFalse 0
testGetGroovyVersionWithIndyFromJar 0.002
testGetGroovyJar 0.001
testGetGroovyVersionStringFromJar 0.003
testIsGroovyIndyTrue 0.001
testGetGroovyVersionWithGrooidFromJar 0.003
testGetGroovyVersionStringFromGroovySystemThenFromInvokerHelper 0.004

FileUtilsTest

testCloseReaderQuietly 0.007
testGetNameWithoutExtension 0
testGetFileExtension 0
testCloseInputStreamQuietly 0.024
testCloseWriterQuietly 0.019
testCloseOutputStreamQuietly 0.012

ReflectionUtilsTest

testHappyPaths 0
testFindMethodClassNull 0
testFindConstructorNotFound 0
testInvokeConstructorNull 0
testInvokeStaticMethodMethodNotStatic 0
testInvokeMethodMethodNull 0
testGetStaticFieldNotStatic 0
testGetEnumConstantNonEnumClass 0
testFindConstructorClassNull 0
testFindFieldNameAndTypeNull 0
testGetEnumConstantValueNotFound 0
testFindMethodNotFound 0
testInvokeMethodObjectNull 0
testFindMethodNameNull 0
testFindFieldClassNull 0
testFindFieldNotFound 0
testConstructor 0
testInvokeStaticMethodMethodNull 0