Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
304 0 0 0 100% 4.932 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 238 0 0 0 100% 4.618 s
org.codehaus.gmavenplus.util 31 0 0 0 100% 0.169 s
org.codehaus.gmavenplus.model.internal 21 0 0 0 100% 0.002 s
org.codehaus.gmavenplus.model 2 0 0 0 100% 0.001 s
org.codehaus.gmavenplus.groovyworkarounds 12 0 0 0 100% 0.142 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 70 0 0 0 100% 1.259 s
AbstractGenerateStubsMojoTest 71 0 0 0 100% 0.468 s
AbstractGroovyDocMojoTest 2 0 0 0 100% 0.707 s
AbstractGroovyMojoTest 5 0 0 0 100% 0.015 s
AbstractGroovySourcesMojoTest 8 0 0 0 100% 0.006 s
AbstractGroovyStubSourcesMojoTest 1 0 0 0 100% 0 s
AbstractToolsMojoTest 8 0 0 0 100% 0.456 s
AddSourcesMojoTest 2 0 0 0 100% 0.002 s
AddStubSourcesMojoTest 1 0 0 0 100% 0.001 s
AddTestSourcesMojoTest 2 0 0 0 100% 0.001 s
AddTestStubSourcesMojoTest 2 0 0 0 100% 0.001 s
CompileMojoTest 9 0 0 0 100% 0.144 s
CompileTestsMojoTest 10 0 0 0 100% 0.045 s
ExecuteMojoTest 5 0 0 0 100% 1.334 s
GenerateStubsMojoTest 9 0 0 0 100% 0.060 s
GenerateTestStubsMojoTest 10 0 0 0 100% 0.041 s
GroovyDocMojoTest 9 0 0 0 100% 0.041 s
GroovyDocTestsMojoTest 9 0 0 0 100% 0.037 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.040 s
FileUtilsTest 6 0 0 0 100% 0.121 s
ReflectionUtilsTest 18 0 0 0 100% 0.008 s

org.codehaus.gmavenplus.model.internal

- Class Tests Errors Failures Skipped Success Rate Time
VersionTest 21 0 0 0 100% 0.002 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.001 s

org.codehaus.gmavenplus.groovyworkarounds

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

Test Cases

[Summary] [Package List] [Test Cases]

DotGroovyFileTest

testGettersAndSetters 0.012 s
testNonGroovyFile 0 s
testGroovyWithCustomExtension 0.003 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 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.174 s
testJava22WithSupportedGroovy5 0.001 s
testJava20WithSupportedGroovy 0.002 s
testJava10WithUnsupportedGroovy 0.001 s
testJava7WithUnsupportedGroovy 0.002 s
testJava23WithSupportedGroovy5 0.001 s
testJava25WithUnsupportedGroovy5 0.002 s
testJava12WithUnsupportedGroovy 0.001 s
testJava9WithSupportedGroovy3Indy 0.001 s
testJava19WithSupportedGroovy 0.001 s
testJava24WithSupportedGroovy5 0.001 s
testBytecodeTranslation 0.001 s
testJava14WithUnsupportedGroovy 0.001 s
testJava9WithUnsupportedGroovy2_5 0.002 s
testJava9WithUnsupportedGroovy2_6 0.001 s
testJava25WithSupportedGroovy5 0.001 s
testJava16WithUnsupportedGroovy 0.001 s
testJava22WithUnsupportedGroovy5 0.002 s
testJava18WithSupportedGroovy 0.001 s
testJava12WithUnsupportedGroovy3 0.002 s
testJava18WithUnsupportedGroovy 0.001 s
testJava9WithUnsupportedGroovy3Indy 0.001 s
testJava17WithSupportedGroovy 0.001 s
testJava9WithUnsupportedGroovyIndy 0.001 s
testJava20WithUnsupportedGroovy 0.001 s
testJava22WithUnsupportedGroovy 0.001 s
testJava10WithSupportedGroovy3 0.002 s
testJava16WithSupportedGroovy 0.001 s
testGroovyVersionSupportsActionFalse 0.001 s
testJava24WithUnsupportedGroovy 0.001 s
testJava11WithSupportedGroovy3 0.001 s
testGroovyVersionSupportsActionTrue 0.002 s
testJava23WithUnsupportedGroovy5 0.002 s
testJava12WithSupportedGroovy3 0 s
testJava15WithSupportedGroovy 0.001 s
testJava13WithUnsupportedGroovy3 0.001 s
testJava6WithUnsupportedGroovy 0.001 s
testJava13WithSupportedGroovy3 0.002 s
testJava25WithSupportedGroovy 0.002 s
testJava11WithUnsupportedGroovy 0.001 s
testJava8WithUnsupportedGroovy 0.001 s
testJava14WithSupportedGroovy 0.001 s
testJava13WithUnsupportedGroovy 0.001 s
testJava9WithSupportedGroovy3 0.001 s
testJava10WithUnsupportedGroovy3 0.001 s
testJava24WithSupportedGroovy 0.001 s
testJava17WithUnsupportedGroovy4 0.001 s
testJava15WithUnsupportedGroovy 0.001 s
testUnrecognizedJava 0.001 s
testJava13WithSupportedGroovy 0.001 s
testJava17WithUnsupportedGroovy 0.001 s
testJava23WithSupportedGroovy 0.001 s
testJava17WithSupportedGroovy4 0.001 s
testJava19WithUnsupportedGroovy 0.001 s
testJava24WithUnsupportedGroovy5 0.001 s
testJava12WithSupportedGroovy 0.001 s
testJava8WithSupportedGroovy 0.001 s
testJava22WithSupportedGroovy 0 s
testJava21WithUnsupportedGroovy 0 s
testJava9WithUnsupportedGroovy3 0.001 s
testJava11WithSupportedGroovy 0.001 s
testJava23WithUnsupportedGroovy 0.001 s
testJava7WithSupportedGroovy 0.001 s
testJava11WithUnsupportedGroovy3 0.001 s
testJava21WithSupportedGroovy 0.001 s
testJava9WithSupportedGroovyIndy 0.001 s
testJava25WithUnsupportedGroovy 0.001 s
testJava10WithSupportedGroovy 0.001 s
testJava9WithSupportedGroovy2_5 0.002 s
testJava9WithSupportedGroovy2_6 0.001 s

AbstractGenerateStubsMojoTest

testJava6WithSupportedGroovy 0.323 s
testJava22WithSupportedGroovy5 0.002 s
testJava20WithSupportedGroovy 0.002 s
testJava10WithUnsupportedGroovy 0.002 s
testJava7WithUnsupportedGroovy 0.002 s
testJava23WithSupportedGroovy5 0.002 s
testJava25WithUnsupportedGroovy5 0.001 s
testJava12WithUnsupportedGroovy 0.002 s
testJava9WithSupportedGroovy3Indy 0.002 s
testGetStubs 0.003 s
testJava19WithSupportedGroovy 0.002 s
testJava24WithSupportedGroovy5 0.002 s
testJava14WithUnsupportedGroovy 0.002 s
testJava9WithUnsupportedGroovy2_5 0.002 s
testJava9WithUnsupportedGroovy2_6 0.001 s
testJava25WithSupportedGroovy5 0.002 s
testResetStubModifiedDates 0.043 s
testJava16WithUnsupportedGroovy 0 s
testJava22WithUnsupportedGroovy5 0 s
testJava18WithSupportedGroovy 0 s
testJava12WithUnsupportedGroovy3 0 s
testJava18WithUnsupportedGroovy 0 s
testJava9WithUnsupportedGroovy3Indy 0 s
testJava17WithSupportedGroovy 0 s
testJava9WithUnsupportedGroovyIndy 0 s
testJava20WithUnsupportedGroovy 0 s
testJava22WithUnsupportedGroovy 0.001 s
testJava10WithSupportedGroovy3 0.001 s
testJava16WithSupportedGroovy 0.001 s
testGroovyVersionSupportsActionFalse 0.002 s
testJava24WithUnsupportedGroovy 0.001 s
testJava11WithSupportedGroovy3 0.001 s
testGroovyVersionSupportsActionTrue 0.002 s
testJava23WithUnsupportedGroovy5 0.001 s
testJava12WithSupportedGroovy3 0.002 s
testJava15WithSupportedGroovy 0.002 s
testJava13WithUnsupportedGroovy3 0.002 s
testJava6WithUnsupportedGroovy 0.001 s
testJava13WithSupportedGroovy3 0.001 s
testJava25WithSupportedGroovy 0.001 s
testJava11WithUnsupportedGroovy 0.002 s
testJava8WithUnsupportedGroovy 0.001 s
testJava14WithSupportedGroovy 0.002 s
testJava13WithUnsupportedGroovy 0.001 s
testJava9WithSupportedGroovy3 0.002 s
testJava10WithUnsupportedGroovy3 0.002 s
testJava24WithSupportedGroovy 0.001 s
testJava17WithUnsupportedGroovy4 0.002 s
testJava15WithUnsupportedGroovy 0.001 s
testUnrecognizedJava 0.001 s
testJava13WithSupportedGroovy 0.001 s
testJava17WithUnsupportedGroovy 0.002 s
testJava23WithSupportedGroovy 0.001 s
testJava17WithSupportedGroovy4 0.001 s
testJava19WithUnsupportedGroovy 0.002 s
testJava24WithUnsupportedGroovy5 0.001 s
testJava12WithSupportedGroovy 0.001 s
testJava8WithSupportedGroovy 0.001 s
testJava22WithSupportedGroovy 0.002 s
testJava21WithUnsupportedGroovy 0.001 s
testJava9WithUnsupportedGroovy3 0.001 s
testJava11WithSupportedGroovy 0.001 s
testJava23WithUnsupportedGroovy 0.001 s
testJava7WithSupportedGroovy 0.001 s
testJava11WithUnsupportedGroovy3 0.001 s
testJava21WithSupportedGroovy 0.001 s
testJava9WithSupportedGroovyIndy 0.001 s
testJava25WithUnsupportedGroovy 0.001 s
testJava10WithSupportedGroovy 0.001 s
testJava9WithSupportedGroovy2_5 0.001 s
testJava9WithSupportedGroovy2_6 0.002 s

AbstractGroovyDocMojoTest

testSkipGroovyDoc 0.239 s
testDontSkipGroovyDoc 0.467 s

AbstractGroovyMojoTest

testIsJavaSupportPreviewFeaturesNo 0.012 s
testIsJavaSupportIndyNo 0.001 s
testGetJavaVersion 0 s
testIsJavaSupportPreviewFeatures 0.001 s
testIsJavaSupportIndy 0.001 s

AbstractGroovySourcesMojoTest

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

AbstractGroovyStubSourcesMojoTest

testGetStubsEmpty 0 s

AbstractToolsMojoTest

testInitializeProperties 0.431 s
testSessionPropertiesOverrideProjectProperties 0.005 s
testAddAllSessionUserProperties 0.002 s
testBindAllProjectPropertiesAndBindSessionUserOverridePropertiesWhenEmpty 0.002 s
testAddAllProjectProperties 0.001 s
testInitializePropertiesNull 0.006 s
testInitializePropertiesAlreadyInProps 0.006 s
testSessionPropertiesOverrideProjectPropertiesAndIncludesOthers 0.002 s

AddSourcesMojoTest

testAddSourcePathContainsPath 0 s
testAddSourcePathNotContainsPath 0.002 s

AddStubSourcesMojoTest

testAddsStubsToSources 0.001 s

AddTestSourcesMojoTest

testAddSourcePathContainsPath 0 s
testAddSourcePathNotContainsPath 0.001 s

AddTestStubSourcesMojoTest

testDoesNothingWhenSkipFlagIsSet 0 s
testAddsTestStubsToSources 0.001 s

CompileMojoTest

testIllegalAccessExceptionThrowsMojoExecutionException 0.095 s
testClassNotFoundExceptionThrowsMojoExecutionException 0.001 s
testCallsExpectedMethods 0 s
testGroovyVersionSupportsActionFalse 0 s
testGroovyVersionSupportsActionTrue 0 s
testMalformedURLExceptionThrowsMojoExecutionException 0.001 s
testInvocationTargetExceptionThrowsMojoExecutionException 0.022 s
testDependencyResolutionRequiredExceptionThrowsMojoExecutionException 0.021 s
testInstantiationExceptionThrowsMojoExecutionException 0.004 s

CompileTestsMojoTest

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

ExecuteMojoTest

testScriptPath 1.272 s
testScriptString 0.031 s
testGroovyVersionSupportsActionFalse 0.001 s
testGroovyVersionSupportsActionTrue 0.003 s
testScriptURL 0.024 s

GenerateStubsMojoTest

testIllegalAccessExceptionThrowsMojoExecutionException 0.037 s
testClassNotFoundExceptionThrowsMojoExecutionException 0.003 s
testCallsExpectedMethods 0.002 s
testGroovyVersionSupportsActionFalse 0.001 s
testGroovyVersionSupportsActionTrue 0.001 s
testMalformedURLExceptionThrowsMojoExecutionException 0.005 s
testInvocationTargetExceptionThrowsMojoExecutionException 0.006 s
testDependencyResolutionRequiredExceptionThrowsMojoExecutionException 0.001 s
testInstantiationExceptionThrowsMojoExecutionException 0.003 s

GenerateTestStubsMojoTest

testIllegalAccessExceptionThrowsMojoExecutionException 0.022 s
testClassNotFoundExceptionThrowsMojoExecutionException 0.002 s
testCallsExpectedMethods 0.002 s
testGroovyVersionSupportsActionFalse 0 s
testGroovyVersionSupportsActionTrue 0.001 s
testMalformedURLExceptionThrowsMojoExecutionException 0.003 s
testInvocationTargetExceptionThrowsMojoExecutionException 0.004 s
testDependencyResolutionRequiredExceptionThrowsMojoExecutionException 0.001 s
testInstantiationExceptionThrowsMojoExecutionException 0.003 s
testSkipped 0.001 s

GroovyDocMojoTest

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

GroovyDocTestsMojoTest

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

RemoveStubsMojoTest

testRemoveSourcePathContainsPath 0 s
testRemoveSourcePathNotContainsPath 0 s

RemoveTestStubsMojoTest

testDoesNothingWhenSkipFlagIsSet 0 s
testRemoveTestSourcePathContainsPath 0 s
testRemoveTestSourcePathNotContainsPath 0 s

ClassWranglerTest

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

FileUtilsTest

testCloseReaderQuietly 0.034 s
testGetNameWithoutExtension 0 s
testGetFileExtension 0 s
testCloseInputStreamQuietly 0.029 s
testCloseWriterQuietly 0.030 s
testCloseOutputStreamQuietly 0.028 s

ReflectionUtilsTest

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