Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
280 0 0 0 100% 8.797 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% 8.193 s
org.codehaus.gmavenplus.util 31 0 0 0 100% 0.504 s
org.codehaus.gmavenplus.model.internal 21 0 0 0 100% 0.003 s
org.codehaus.gmavenplus.model 2 0 0 0 100% 0.001 s
org.codehaus.gmavenplus.groovyworkarounds 12 0 0 0 100% 0.096 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.594 s
AbstractGenerateStubsMojoTest 59 0 0 0 100% 0.744 s
AbstractGroovyDocMojoTest 2 0 0 0 100% 1.140 s
AbstractGroovyMojoTest 5 0 0 0 100% 0.064 s
AbstractGroovySourcesMojoTest 8 0 0 0 100% 0.023 s
AbstractGroovyStubSourcesMojoTest 1 0 0 0 100% 0 s
AbstractToolsMojoTest 8 0 0 0 100% 1.007 s
AddSourcesMojoTest 2 0 0 0 100% 0.005 s
AddStubSourcesMojoTest 1 0 0 0 100% 0.004 s
AddTestSourcesMojoTest 2 0 0 0 100% 0.003 s
AddTestStubSourcesMojoTest 2 0 0 0 100% 0.004 s
CompileMojoTest 9 0 0 0 100% 0.380 s
CompileTestsMojoTest 10 0 0 0 100% 0.092 s
ExecuteMojoTest 5 0 0 0 100% 2.561 s
GenerateStubsMojoTest 9 0 0 0 100% 0.179 s
GenerateTestStubsMojoTest 10 0 0 0 100% 0.101 s
GroovyDocMojoTest 9 0 0 0 100% 0.193 s
GroovyDocTestsMojoTest 9 0 0 0 100% 0.098 s
RemoveStubsMojoTest 2 0 0 0 100% 0 s
RemoveTestStubsMojoTest 3 0 0 0 100% 0.001 s

org.codehaus.gmavenplus.util

- Class Tests Errors Failures Skipped Success Rate Time
ClassWranglerTest 7 0 0 0 100% 0.140 s
FileUtilsTest 6 0 0 0 100% 0.352 s
ReflectionUtilsTest 18 0 0 0 100% 0.012 s

org.codehaus.gmavenplus.model.internal

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

org.codehaus.gmavenplus.model

- Class Tests Errors Failures Skipped Success Rate Time
LinkTest 1 0 0 0 100% 0.001 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.094 s
GroovyDocTemplateInfoTest 9 0 0 0 100% 0.002 s

Test Cases

[Summary] [Package List] [Test Cases]

DotGroovyFileTest

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

AbstractGenerateStubsMojoTest

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

AbstractGroovyDocMojoTest

testSkipGroovyDoc 0.292 s
testDontSkipGroovyDoc 0.847 s

AbstractGroovyMojoTest

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

AbstractGroovySourcesMojoTest

testWithSpecifiedPatternAndJavaPattern 0 s
mainWithSpecifiedPatternAndJavaPattern 0 s
mainWithSpecifiedPattern 0 s
mainWithJavaPattern 0.003 s
testDefaultPattern 0.007 s
testWithJavaPattern 0.002 s
testWithSpecifiedPattern 0.004 s
mainDefaultPattern 0.006 s

AbstractGroovyStubSourcesMojoTest

testGetStubsEmpty 0 s

AbstractToolsMojoTest

testInitializeProperties 0.929 s
testSessionPropertiesOverrideProjectProperties 0.013 s
testAddAllSessionUserProperties 0.010 s
testBindAllProjectPropertiesAndBindSessionUserOverridePropertiesWhenEmpty 0.005 s
testAddAllProjectProperties 0.005 s
testInitializePropertiesNull 0.018 s
testInitializePropertiesAlreadyInProps 0.016 s
testSessionPropertiesOverrideProjectPropertiesAndIncludesOthers 0.009 s

AddSourcesMojoTest

testAddSourcePathContainsPath 0.001 s
testAddSourcePathNotContainsPath 0.003 s

AddStubSourcesMojoTest

testAddsStubsToSources 0.004 s

AddTestSourcesMojoTest

testAddSourcePathContainsPath 0 s
testAddSourcePathNotContainsPath 0.003 s

AddTestStubSourcesMojoTest

testDoesNothingWhenSkipFlagIsSet 0 s
testAddsTestStubsToSources 0.003 s

CompileMojoTest

testIllegalAccessExceptionThrowsMojoExecutionException 0.190 s
testClassNotFoundExceptionThrowsMojoExecutionException 0.011 s
testCallsExpectedMethods 0.008 s
testGroovyVersionSupportsActionFalse 0.003 s
testGroovyVersionSupportsActionTrue 0.006 s
testMalformedURLExceptionThrowsMojoExecutionException 0.010 s
testInvocationTargetExceptionThrowsMojoExecutionException 0.077 s
testDependencyResolutionRequiredExceptionThrowsMojoExecutionException 0.059 s
testInstantiationExceptionThrowsMojoExecutionException 0.007 s

CompileTestsMojoTest

testIllegalAccessExceptionThrowsMojoExecutionException 0.039 s
testClassNotFoundExceptionThrowsMojoExecutionException 0.003 s
testCallsExpectedMethods 0.006 s
testGroovyVersionSupportsActionFalse 0.002 s
testGroovyVersionSupportsActionTrue 0.005 s
testMalformedURLExceptionThrowsMojoExecutionException 0.006 s
testInvocationTargetExceptionThrowsMojoExecutionException 0.008 s
testDependencyResolutionRequiredExceptionThrowsMojoExecutionException 0.005 s
testInstantiationExceptionThrowsMojoExecutionException 0.006 s
testSkipped 0.006 s

ExecuteMojoTest

testScriptPath 2.367 s
testScriptString 0.111 s
testGroovyVersionSupportsActionFalse 0.008 s
testGroovyVersionSupportsActionTrue 0.006 s
testScriptURL 0.064 s

GenerateStubsMojoTest

testIllegalAccessExceptionThrowsMojoExecutionException 0.103 s
testClassNotFoundExceptionThrowsMojoExecutionException 0.011 s
testCallsExpectedMethods 0.013 s
testGroovyVersionSupportsActionFalse 0.004 s
testGroovyVersionSupportsActionTrue 0.005 s
testMalformedURLExceptionThrowsMojoExecutionException 0.011 s
testInvocationTargetExceptionThrowsMojoExecutionException 0.007 s
testDependencyResolutionRequiredExceptionThrowsMojoExecutionException 0.006 s
testInstantiationExceptionThrowsMojoExecutionException 0.011 s

GenerateTestStubsMojoTest

testIllegalAccessExceptionThrowsMojoExecutionException 0.040 s
testClassNotFoundExceptionThrowsMojoExecutionException 0.006 s
testCallsExpectedMethods 0.007 s
testGroovyVersionSupportsActionFalse 0.006 s
testGroovyVersionSupportsActionTrue 0.004 s
testMalformedURLExceptionThrowsMojoExecutionException 0.009 s
testInvocationTargetExceptionThrowsMojoExecutionException 0.007 s
testDependencyResolutionRequiredExceptionThrowsMojoExecutionException 0.006 s
testInstantiationExceptionThrowsMojoExecutionException 0.007 s
testSkipped 0.004 s

GroovyDocMojoTest

testIllegalAccessExceptionThrowsMojoExecutionException 0.050 s
testClassNotFoundExceptionThrowsMojoExecutionException 0.016 s
testCallsExpectedMethods 0.009 s
testGroovyVersionSupportsActionFalse 0.008 s
testGroovyVersionSupportsActionTrue 0.006 s
testMalformedURLExceptionThrowsMojoExecutionException 0.013 s
testInvocationTargetExceptionThrowsMojoExecutionException 0.025 s
testDependencyResolutionRequiredExceptionThrowsMojoExecutionException 0.018 s
testInstantiationExceptionThrowsMojoExecutionException 0.028 s

GroovyDocTestsMojoTest

testIllegalAccessExceptionThrowsMojoExecutionException 0.033 s
testClassNotFoundExceptionThrowsMojoExecutionException 0.010 s
testCallsExpectedMethods 0.008 s
testGroovyVersionSupportsActionFalse 0.005 s
testGroovyVersionSupportsActionTrue 0.004 s
testMalformedURLExceptionThrowsMojoExecutionException 0.007 s
testInvocationTargetExceptionThrowsMojoExecutionException 0.008 s
testDependencyResolutionRequiredExceptionThrowsMojoExecutionException 0.007 s
testInstantiationExceptionThrowsMojoExecutionException 0.007 s

RemoveStubsMojoTest

testRemoveSourcePathContainsPath 0 s
testRemoveSourcePathNotContainsPath 0 s

RemoveTestStubsMojoTest

testDoesNothingWhenSkipFlagIsSet 0 s
testRemoveTestSourcePathContainsPath 0 s
testRemoveTestSourcePathNotContainsPath 0 s

ClassWranglerTest

testIsGroovyIndyFalse 0.111 s
testGetGroovyVersionWithIndyFromJar 0.008 s
testGetGroovyJar 0.001 s
testGetGroovyVersionStringFromJar 0.005 s
testIsGroovyIndyTrue 0.001 s
testGetGroovyVersionWithGrooidFromJar 0.004 s
testGetGroovyVersionStringFromGroovySystemThenFromInvokerHelper 0.008 s

FileUtilsTest

testCloseReaderQuietly 0.090 s
testGetNameWithoutExtension 0 s
testGetFileExtension 0 s
testCloseInputStreamQuietly 0.099 s
testCloseWriterQuietly 0.093 s
testCloseOutputStreamQuietly 0.069 s

ReflectionUtilsTest

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