Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
280 0 0 0 100% 5.885 s

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 214 0 0 0 100% 5.552 s
org.codehaus.gmavenplus.util 31 0 0 0 100% 0.254 s
org.codehaus.gmavenplus.model.internal 21 0 0 0 100% 0.001 s
org.codehaus.gmavenplus.model 2 0 0 0 100% 0 s
org.codehaus.gmavenplus.groovyworkarounds 12 0 0 0 100% 0.078 s

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 58 0 0 0 100% 1.603 s
AbstractGenerateStubsMojoTest 59 0 0 0 100% 0.676 s
AbstractGroovyDocMojoTest 2 0 0 0 100% 0.682 s
AbstractGroovyMojoTest 5 0 0 0 100% 0.035 s
AbstractGroovySourcesMojoTest 8 0 0 0 100% 0.027 s
AbstractGroovyStubSourcesMojoTest 1 0 0 0 100% 0 s
AbstractToolsMojoTest 8 0 0 0 100% 0.636 s
AddSourcesMojoTest 2 0 0 0 100% 0.001 s
AddStubSourcesMojoTest 1 0 0 0 100% 0.002 s
AddTestSourcesMojoTest 2 0 0 0 100% 0.003 s
AddTestStubSourcesMojoTest 2 0 0 0 100% 0.003 s
CompileMojoTest 9 0 0 0 100% 0.190 s
CompileTestsMojoTest 10 0 0 0 100% 0.058 s
ExecuteMojoTest 5 0 0 0 100% 1.436 s
GenerateStubsMojoTest 9 0 0 0 100% 0.067 s
GenerateTestStubsMojoTest 10 0 0 0 100% 0.052 s
GroovyDocMojoTest 9 0 0 0 100% 0.043 s
GroovyDocTestsMojoTest 9 0 0 0 100% 0.038 s
RemoveStubsMojoTest 2 0 0 0 100% 0 s
RemoveTestStubsMojoTest 3 0 0 0 100% 0 s

org.codehaus.gmavenplus.util

- Class Tests Errors Failures Skipped Success Rate Time
ClassWranglerTest 7 0 0 0 100% 0.053 s
FileUtilsTest 6 0 0 0 100% 0.195 s
ReflectionUtilsTest 18 0 0 0 100% 0.006 s

org.codehaus.gmavenplus.model.internal

- Class Tests Errors Failures Skipped Success Rate Time
VersionTest 21 0 0 0 100% 0.001 s

org.codehaus.gmavenplus.model

- Class Tests Errors Failures Skipped Success Rate Time
LinkTest 1 0 0 0 100% 0 s
ScopesTest 1 0 0 0 100% 0 s

org.codehaus.gmavenplus.groovyworkarounds

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

Test Cases

[Summary] [Package List] [Test Cases]

DotGroovyFileTest

testGettersAndSetters 0.005 s
testNonGroovyFile 0 s
testGroovyWithCustomExtension 0.001 s

GroovyDocTemplateInfoTest

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

VersionTest

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

LinkTest

testGettersAndSetters 0 s

ScopesTest

test 0 s

AbstractCompileMojoTest

testJava6WithSupportedGroovy 1.464 s
testJava20WithSupportedGroovy 0.005 s
testJava10WithUnsupportedGroovy 0.005 s
testJava7WithUnsupportedGroovy 0.004 s
testJava12WithUnsupportedGroovy 0.005 s
testJava9WithSupportedGroovy3Indy 0.005 s
testJava19WithSupportedGroovy 0.003 s
testBytecodeTranslation 0.001 s
testJava14WithUnsupportedGroovy 0.003 s
testJava9WithUnsupportedGroovy2_5 0.003 s
testJava9WithUnsupportedGroovy2_6 0.003 s
testJava16WithUnsupportedGroovy 0.002 s
testJava18WithSupportedGroovy 0.002 s
testJava12WithUnsupportedGroovy3 0.003 s
testJava18WithUnsupportedGroovy 0.002 s
testJava9WithUnsupportedGroovy3Indy 0.003 s
testJava17WithSupportedGroovy 0.002 s
testJava9WithUnsupportedGroovyIndy 0.002 s
testJava20WithUnsupportedGroovy 0.002 s
testJava22WithUnsupportedGroovy 0.002 s
testJava10WithSupportedGroovy3 0.003 s
testJava16WithSupportedGroovy 0.002 s
testGroovyVersionSupportsActionFalse 0.002 s
testJava11WithSupportedGroovy3 0.002 s
testGroovyVersionSupportsActionTrue 0.002 s
testJava12WithSupportedGroovy3 0.003 s
testJava15WithSupportedGroovy 0.002 s
testJava13WithUnsupportedGroovy3 0.002 s
testJava6WithUnsupportedGroovy 0.002 s
testJava13WithSupportedGroovy3 0.003 s
testJava11WithUnsupportedGroovy 0.002 s
testJava8WithUnsupportedGroovy 0.003 s
testJava14WithSupportedGroovy 0.005 s
testJava13WithUnsupportedGroovy 0.001 s
testJava9WithSupportedGroovy3 0.002 s
testJava10WithUnsupportedGroovy3 0.002 s
testJava17WithUnsupportedGroovy4 0.002 s
testJava15WithUnsupportedGroovy 0.002 s
testUnrecognizedJava 0.001 s
testJava13WithSupportedGroovy 0.002 s
testJava17WithUnsupportedGroovy 0.002 s
testJava23WithSupportedGroovy 0.001 s
testJava17WithSupportedGroovy4 0.002 s
testJava19WithUnsupportedGroovy 0.002 s
testJava12WithSupportedGroovy 0.002 s
testJava8WithSupportedGroovy 0.001 s
testJava22WithSupportedGroovy 0.001 s
testJava21WithUnsupportedGroovy 0.001 s
testJava9WithUnsupportedGroovy3 0.002 s
testJava11WithSupportedGroovy 0.002 s
testJava23WithUnsupportedGroovy 0.001 s
testJava7WithSupportedGroovy 0.001 s
testJava11WithUnsupportedGroovy3 0.002 s
testJava21WithSupportedGroovy 0.002 s
testJava9WithSupportedGroovyIndy 0.004 s
testJava10WithSupportedGroovy 0.002 s
testJava9WithSupportedGroovy2_5 0.003 s
testJava9WithSupportedGroovy2_6 0.002 s

AbstractGenerateStubsMojoTest

testJava6WithSupportedGroovy 0.438 s
testJava20WithSupportedGroovy 0.003 s
testJava10WithUnsupportedGroovy 0.003 s
testJava7WithUnsupportedGroovy 0.002 s
testJava12WithUnsupportedGroovy 0.002 s
testJava9WithSupportedGroovy3Indy 0.003 s
testGetStubs 0.022 s
testJava19WithSupportedGroovy 0.002 s
testJava14WithUnsupportedGroovy 0.008 s
testJava9WithUnsupportedGroovy2_5 0.009 s
testJava9WithUnsupportedGroovy2_6 0.004 s
testResetStubModifiedDates 0.046 s
testJava16WithUnsupportedGroovy 0.003 s
testJava18WithSupportedGroovy 0.003 s
testJava12WithUnsupportedGroovy3 0.003 s
testJava18WithUnsupportedGroovy 0.004 s
testJava9WithUnsupportedGroovy3Indy 0.004 s
testJava17WithSupportedGroovy 0.006 s
testJava9WithUnsupportedGroovyIndy 0.004 s
testJava20WithUnsupportedGroovy 0.003 s
testJava22WithUnsupportedGroovy 0.003 s
testJava10WithSupportedGroovy3 0.003 s
testJava16WithSupportedGroovy 0.005 s
testGroovyVersionSupportsActionFalse 0.002 s
testJava11WithSupportedGroovy3 0.002 s
testGroovyVersionSupportsActionTrue 0.002 s
testJava12WithSupportedGroovy3 0.002 s
testJava15WithSupportedGroovy 0.001 s
testJava13WithUnsupportedGroovy3 0.002 s
testJava6WithUnsupportedGroovy 0.002 s
testJava13WithSupportedGroovy3 0.003 s
testJava11WithUnsupportedGroovy 0.002 s
testJava8WithUnsupportedGroovy 0.002 s
testJava14WithSupportedGroovy 0.003 s
testJava13WithUnsupportedGroovy 0.002 s
testJava9WithSupportedGroovy3 0.004 s
testJava10WithUnsupportedGroovy3 0.003 s
testJava17WithUnsupportedGroovy4 0.002 s
testJava15WithUnsupportedGroovy 0.001 s
testUnrecognizedJava 0.002 s
testJava13WithSupportedGroovy 0.001 s
testJava17WithUnsupportedGroovy 0.002 s
testJava23WithSupportedGroovy 0.001 s
testJava17WithSupportedGroovy4 0.002 s
testJava19WithUnsupportedGroovy 0.001 s
testJava12WithSupportedGroovy 0.001 s
testJava8WithSupportedGroovy 0.002 s
testJava22WithSupportedGroovy 0.001 s
testJava21WithUnsupportedGroovy 0.001 s
testJava9WithUnsupportedGroovy3 0.001 s
testJava11WithSupportedGroovy 0.001 s
testJava23WithUnsupportedGroovy 0.001 s
testJava7WithSupportedGroovy 0.002 s
testJava11WithUnsupportedGroovy3 0.001 s
testJava21WithSupportedGroovy 0.002 s
testJava9WithSupportedGroovyIndy 0.002 s
testJava10WithSupportedGroovy 0.001 s
testJava9WithSupportedGroovy2_5 0.002 s
testJava9WithSupportedGroovy2_6 0.001 s

AbstractGroovyDocMojoTest

testSkipGroovyDoc 0.213 s
testDontSkipGroovyDoc 0.466 s

AbstractGroovyMojoTest

testIsJavaSupportPreviewFeaturesNo 0.027 s
testIsJavaSupportIndyNo 0.002 s
testGetJavaVersion 0.001 s
testIsJavaSupportPreviewFeatures 0 s
testIsJavaSupportIndy 0.001 s

AbstractGroovySourcesMojoTest

testWithSpecifiedPatternAndJavaPattern 0 s
mainWithSpecifiedPatternAndJavaPattern 0.001 s
mainWithSpecifiedPattern 0.002 s
mainWithJavaPattern 0.009 s
testDefaultPattern 0.010 s
testWithJavaPattern 0.001 s
testWithSpecifiedPattern 0.002 s
mainDefaultPattern 0 s

AbstractGroovyStubSourcesMojoTest

testGetStubsEmpty 0 s

AbstractToolsMojoTest

testInitializeProperties 0.598 s
testSessionPropertiesOverrideProjectProperties 0.007 s
testAddAllSessionUserProperties 0.004 s
testBindAllProjectPropertiesAndBindSessionUserOverridePropertiesWhenEmpty 0.003 s
testAddAllProjectProperties 0.003 s
testInitializePropertiesNull 0.010 s
testInitializePropertiesAlreadyInProps 0.009 s
testSessionPropertiesOverrideProjectPropertiesAndIncludesOthers 0.002 s

AddSourcesMojoTest

testAddSourcePathContainsPath 0 s
testAddSourcePathNotContainsPath 0.001 s

AddStubSourcesMojoTest

testAddsStubsToSources 0.002 s

AddTestSourcesMojoTest

testAddSourcePathContainsPath 0 s
testAddSourcePathNotContainsPath 0.003 s

AddTestStubSourcesMojoTest

testDoesNothingWhenSkipFlagIsSet 0 s
testAddsTestStubsToSources 0.001 s

CompileMojoTest

testIllegalAccessExceptionThrowsMojoExecutionException 0.101 s
testClassNotFoundExceptionThrowsMojoExecutionException 0.004 s
testCallsExpectedMethods 0.006 s
testGroovyVersionSupportsActionFalse 0 s
testGroovyVersionSupportsActionTrue 0.001 s
testMalformedURLExceptionThrowsMojoExecutionException 0.004 s
testInvocationTargetExceptionThrowsMojoExecutionException 0.044 s
testDependencyResolutionRequiredExceptionThrowsMojoExecutionException 0.025 s
testInstantiationExceptionThrowsMojoExecutionException 0.005 s

CompileTestsMojoTest

testIllegalAccessExceptionThrowsMojoExecutionException 0.021 s
testClassNotFoundExceptionThrowsMojoExecutionException 0.003 s
testCallsExpectedMethods 0.002 s
testGroovyVersionSupportsActionFalse 0.004 s
testGroovyVersionSupportsActionTrue 0.001 s
testMalformedURLExceptionThrowsMojoExecutionException 0.006 s
testInvocationTargetExceptionThrowsMojoExecutionException 0.005 s
testDependencyResolutionRequiredExceptionThrowsMojoExecutionException 0.004 s
testInstantiationExceptionThrowsMojoExecutionException 0.005 s
testSkipped 0.002 s

ExecuteMojoTest

testScriptPath 1.358 s
testScriptString 0.049 s
testGroovyVersionSupportsActionFalse 0.003 s
testGroovyVersionSupportsActionTrue 0.002 s
testScriptURL 0.023 s

GenerateStubsMojoTest

testIllegalAccessExceptionThrowsMojoExecutionException 0.038 s
testClassNotFoundExceptionThrowsMojoExecutionException 0.003 s
testCallsExpectedMethods 0.007 s
testGroovyVersionSupportsActionFalse 0.001 s
testGroovyVersionSupportsActionTrue 0.002 s
testMalformedURLExceptionThrowsMojoExecutionException 0.003 s
testInvocationTargetExceptionThrowsMojoExecutionException 0.002 s
testDependencyResolutionRequiredExceptionThrowsMojoExecutionException 0.005 s
testInstantiationExceptionThrowsMojoExecutionException 0.004 s

GenerateTestStubsMojoTest

testIllegalAccessExceptionThrowsMojoExecutionException 0.024 s
testClassNotFoundExceptionThrowsMojoExecutionException 0.004 s
testCallsExpectedMethods 0.002 s
testGroovyVersionSupportsActionFalse 0.001 s
testGroovyVersionSupportsActionTrue 0.001 s
testMalformedURLExceptionThrowsMojoExecutionException 0.003 s
testInvocationTargetExceptionThrowsMojoExecutionException 0.003 s
testDependencyResolutionRequiredExceptionThrowsMojoExecutionException 0.006 s
testInstantiationExceptionThrowsMojoExecutionException 0.001 s
testSkipped 0.003 s

GroovyDocMojoTest

testIllegalAccessExceptionThrowsMojoExecutionException 0.026 s
testClassNotFoundExceptionThrowsMojoExecutionException 0.002 s
testCallsExpectedMethods 0.002 s
testGroovyVersionSupportsActionFalse 0 s
testGroovyVersionSupportsActionTrue 0 s
testMalformedURLExceptionThrowsMojoExecutionException 0.003 s
testInvocationTargetExceptionThrowsMojoExecutionException 0.003 s
testDependencyResolutionRequiredExceptionThrowsMojoExecutionException 0.002 s
testInstantiationExceptionThrowsMojoExecutionException 0.002 s

GroovyDocTestsMojoTest

testIllegalAccessExceptionThrowsMojoExecutionException 0.023 s
testClassNotFoundExceptionThrowsMojoExecutionException 0.002 s
testCallsExpectedMethods 0.001 s
testGroovyVersionSupportsActionFalse 0.001 s
testGroovyVersionSupportsActionTrue 0 s
testMalformedURLExceptionThrowsMojoExecutionException 0.003 s
testInvocationTargetExceptionThrowsMojoExecutionException 0.003 s
testDependencyResolutionRequiredExceptionThrowsMojoExecutionException 0 s
testInstantiationExceptionThrowsMojoExecutionException 0.001 s

RemoveStubsMojoTest

testRemoveSourcePathContainsPath 0 s
testRemoveSourcePathNotContainsPath 0 s

RemoveTestStubsMojoTest

testDoesNothingWhenSkipFlagIsSet 0 s
testRemoveTestSourcePathContainsPath 0 s
testRemoveTestSourcePathNotContainsPath 0 s

ClassWranglerTest

testIsGroovyIndyFalse 0.033 s
testGetGroovyVersionWithIndyFromJar 0.003 s
testGetGroovyJar 0.001 s
testGetGroovyVersionStringFromJar 0.002 s
testIsGroovyIndyTrue 0.001 s
testGetGroovyVersionWithGrooidFromJar 0.004 s
testGetGroovyVersionStringFromGroovySystemThenFromInvokerHelper 0.007 s

FileUtilsTest

testCloseReaderQuietly 0.044 s
testGetNameWithoutExtension 0 s
testGetFileExtension 0 s
testCloseInputStreamQuietly 0.042 s
testCloseWriterQuietly 0.044 s
testCloseOutputStreamQuietly 0.064 s

ReflectionUtilsTest

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