Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
280 0 0 0 100% 15.20 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% 14.47 s
org.codehaus.gmavenplus.util 31 0 0 0 100% 0.498 s
org.codehaus.gmavenplus.model.internal 21 0 0 0 100% 0.005 s
org.codehaus.gmavenplus.model 2 0 0 0 100% 0.005 s
org.codehaus.gmavenplus.groovyworkarounds 12 0 0 0 100% 0.221 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% 3.260 s
AbstractGenerateStubsMojoTest 59 0 0 0 100% 2.429 s
AbstractGroovyDocMojoTest 2 0 0 0 100% 1.747 s
AbstractGroovyMojoTest 5 0 0 0 100% 0.026 s
AbstractGroovySourcesMojoTest 8 0 0 0 100% 0.016 s
AbstractGroovyStubSourcesMojoTest 1 0 0 0 100% 0 s
AbstractToolsMojoTest 8 0 0 0 100% 1.690 s
AddSourcesMojoTest 2 0 0 0 100% 0.007 s
AddStubSourcesMojoTest 1 0 0 0 100% 0.004 s
AddTestSourcesMojoTest 2 0 0 0 100% 0.006 s
AddTestStubSourcesMojoTest 2 0 0 0 100% 0.004 s
CompileMojoTest 9 0 0 0 100% 0.486 s
CompileTestsMojoTest 10 0 0 0 100% 0.108 s
ExecuteMojoTest 5 0 0 0 100% 4.298 s
GenerateStubsMojoTest 9 0 0 0 100% 0.166 s
GenerateTestStubsMojoTest 10 0 0 0 100% 0.079 s
GroovyDocMojoTest 9 0 0 0 100% 0.073 s
GroovyDocTestsMojoTest 9 0 0 0 100% 0.072 s
RemoveStubsMojoTest 2 0 0 0 100% 0.001 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.099 s
FileUtilsTest 6 0 0 0 100% 0.380 s
ReflectionUtilsTest 18 0 0 0 100% 0.019 s

org.codehaus.gmavenplus.model.internal

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

org.codehaus.gmavenplus.model

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

Test Cases

[Summary] [Package List] [Test Cases]

DotGroovyFileTest

testGettersAndSetters 0.018 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.001 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.001 s
testBetaIsNewerThanAlpha 0 s

LinkTest

testGettersAndSetters 0 s

ScopesTest

test 0 s

AbstractCompileMojoTest

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

AbstractGenerateStubsMojoTest

testJava6WithSupportedGroovy 1.760 s
testJava20WithSupportedGroovy 0.033 s
testJava10WithUnsupportedGroovy 0.020 s
testJava7WithUnsupportedGroovy 0.017 s
testJava12WithUnsupportedGroovy 0.025 s
testJava9WithSupportedGroovy3Indy 0.020 s
testGetStubs 0.029 s
testJava19WithSupportedGroovy 0.013 s
testJava14WithUnsupportedGroovy 0.014 s
testJava9WithUnsupportedGroovy2_5 0.020 s
testJava9WithUnsupportedGroovy2_6 0.010 s
testResetStubModifiedDates 0.095 s
testJava16WithUnsupportedGroovy 0.005 s
testJava18WithSupportedGroovy 0.005 s
testJava12WithUnsupportedGroovy3 0.006 s
testJava18WithUnsupportedGroovy 0.006 s
testJava9WithUnsupportedGroovy3Indy 0.010 s
testJava17WithSupportedGroovy 0.007 s
testJava9WithUnsupportedGroovyIndy 0.009 s
testJava20WithUnsupportedGroovy 0.007 s
testJava22WithUnsupportedGroovy 0.007 s
testJava10WithSupportedGroovy3 0.006 s
testJava16WithSupportedGroovy 0.012 s
testGroovyVersionSupportsActionFalse 0.009 s
testJava11WithSupportedGroovy3 0.007 s
testGroovyVersionSupportsActionTrue 0.006 s
testJava12WithSupportedGroovy3 0.005 s
testJava15WithSupportedGroovy 0.006 s
testJava13WithUnsupportedGroovy3 0.007 s
testJava6WithUnsupportedGroovy 0.006 s
testJava13WithSupportedGroovy3 0.007 s
testJava11WithUnsupportedGroovy 0.006 s
testJava8WithUnsupportedGroovy 0.007 s
testJava14WithSupportedGroovy 0.005 s
testJava13WithUnsupportedGroovy 0.006 s
testJava9WithSupportedGroovy3 0.006 s
testJava10WithUnsupportedGroovy3 0.005 s
testJava17WithUnsupportedGroovy4 0.006 s
testJava15WithUnsupportedGroovy 0.006 s
testUnrecognizedJava 0.004 s
testJava13WithSupportedGroovy 0.005 s
testJava17WithUnsupportedGroovy 0.005 s
testJava23WithSupportedGroovy 0.005 s
testJava17WithSupportedGroovy4 0.004 s
testJava19WithUnsupportedGroovy 0.006 s
testJava12WithSupportedGroovy 0.004 s
testJava8WithSupportedGroovy 0.003 s
testJava22WithSupportedGroovy 0.006 s
testJava21WithUnsupportedGroovy 0.005 s
testJava9WithUnsupportedGroovy3 0.005 s
testJava11WithSupportedGroovy 0.005 s
testJava23WithUnsupportedGroovy 0.005 s
testJava7WithSupportedGroovy 0.004 s
testJava11WithUnsupportedGroovy3 0.005 s
testJava21WithSupportedGroovy 0.005 s
testJava9WithSupportedGroovyIndy 0.005 s
testJava10WithSupportedGroovy 0.015 s
testJava9WithSupportedGroovy2_5 0.016 s
testJava9WithSupportedGroovy2_6 0.010 s

AbstractGroovyDocMojoTest

testSkipGroovyDoc 0.522 s
testDontSkipGroovyDoc 1.221 s

AbstractGroovyMojoTest

testIsJavaSupportPreviewFeaturesNo 0.020 s
testIsJavaSupportIndyNo 0.001 s
testGetJavaVersion 0.002 s
testIsJavaSupportPreviewFeatures 0.001 s
testIsJavaSupportIndy 0.001 s

AbstractGroovySourcesMojoTest

testWithSpecifiedPatternAndJavaPattern 0 s
mainWithSpecifiedPatternAndJavaPattern 0 s
mainWithSpecifiedPattern 0.002 s
mainWithJavaPattern 0.003 s
testDefaultPattern 0.005 s
testWithJavaPattern 0.002 s
testWithSpecifiedPattern 0.002 s
mainDefaultPattern 0.002 s

AbstractGroovyStubSourcesMojoTest

testGetStubsEmpty 0 s

AbstractToolsMojoTest

testInitializeProperties 1.563 s
testSessionPropertiesOverrideProjectProperties 0.018 s
testAddAllSessionUserProperties 0.010 s
testBindAllProjectPropertiesAndBindSessionUserOverridePropertiesWhenEmpty 0.011 s
testAddAllProjectProperties 0.026 s
testInitializePropertiesNull 0.027 s
testInitializePropertiesAlreadyInProps 0.025 s
testSessionPropertiesOverrideProjectPropertiesAndIncludesOthers 0.009 s

AddSourcesMojoTest

testAddSourcePathContainsPath 0 s
testAddSourcePathNotContainsPath 0.005 s

AddStubSourcesMojoTest

testAddsStubsToSources 0.003 s

AddTestSourcesMojoTest

testAddSourcePathContainsPath 0 s
testAddSourcePathNotContainsPath 0.003 s

AddTestStubSourcesMojoTest

testDoesNothingWhenSkipFlagIsSet 0 s
testAddsTestStubsToSources 0.004 s

CompileMojoTest

testIllegalAccessExceptionThrowsMojoExecutionException 0.308 s
testClassNotFoundExceptionThrowsMojoExecutionException 0.009 s
testCallsExpectedMethods 0.007 s
testGroovyVersionSupportsActionFalse 0.002 s
testGroovyVersionSupportsActionTrue 0.003 s
testMalformedURLExceptionThrowsMojoExecutionException 0.013 s
testInvocationTargetExceptionThrowsMojoExecutionException 0.087 s
testDependencyResolutionRequiredExceptionThrowsMojoExecutionException 0.042 s
testInstantiationExceptionThrowsMojoExecutionException 0.009 s

CompileTestsMojoTest

testIllegalAccessExceptionThrowsMojoExecutionException 0.023 s
testClassNotFoundExceptionThrowsMojoExecutionException 0.010 s
testCallsExpectedMethods 0.008 s
testGroovyVersionSupportsActionFalse 0.002 s
testGroovyVersionSupportsActionTrue 0.007 s
testMalformedURLExceptionThrowsMojoExecutionException 0.011 s
testInvocationTargetExceptionThrowsMojoExecutionException 0.013 s
testDependencyResolutionRequiredExceptionThrowsMojoExecutionException 0.014 s
testInstantiationExceptionThrowsMojoExecutionException 0.006 s
testSkipped 0.008 s

ExecuteMojoTest

testScriptPath 4.085 s
testScriptString 0.131 s
testGroovyVersionSupportsActionFalse 0.007 s
testGroovyVersionSupportsActionTrue 0.005 s
testScriptURL 0.068 s

GenerateStubsMojoTest

testIllegalAccessExceptionThrowsMojoExecutionException 0.089 s
testClassNotFoundExceptionThrowsMojoExecutionException 0.007 s
testCallsExpectedMethods 0.013 s
testGroovyVersionSupportsActionFalse 0.003 s
testGroovyVersionSupportsActionTrue 0.003 s
testMalformedURLExceptionThrowsMojoExecutionException 0.015 s
testInvocationTargetExceptionThrowsMojoExecutionException 0.013 s
testDependencyResolutionRequiredExceptionThrowsMojoExecutionException 0.009 s
testInstantiationExceptionThrowsMojoExecutionException 0.009 s

GenerateTestStubsMojoTest

testIllegalAccessExceptionThrowsMojoExecutionException 0.023 s
testClassNotFoundExceptionThrowsMojoExecutionException 0.005 s
testCallsExpectedMethods 0.007 s
testGroovyVersionSupportsActionFalse 0.001 s
testGroovyVersionSupportsActionTrue 0.003 s
testMalformedURLExceptionThrowsMojoExecutionException 0.008 s
testInvocationTargetExceptionThrowsMojoExecutionException 0.007 s
testDependencyResolutionRequiredExceptionThrowsMojoExecutionException 0.006 s
testInstantiationExceptionThrowsMojoExecutionException 0.006 s
testSkipped 0.005 s

GroovyDocMojoTest

testIllegalAccessExceptionThrowsMojoExecutionException 0.025 s
testClassNotFoundExceptionThrowsMojoExecutionException 0.008 s
testCallsExpectedMethods 0.006 s
testGroovyVersionSupportsActionFalse 0.001 s
testGroovyVersionSupportsActionTrue 0.003 s
testMalformedURLExceptionThrowsMojoExecutionException 0.008 s
testInvocationTargetExceptionThrowsMojoExecutionException 0.006 s
testDependencyResolutionRequiredExceptionThrowsMojoExecutionException 0.005 s
testInstantiationExceptionThrowsMojoExecutionException 0.006 s

GroovyDocTestsMojoTest

testIllegalAccessExceptionThrowsMojoExecutionException 0.021 s
testClassNotFoundExceptionThrowsMojoExecutionException 0.008 s
testCallsExpectedMethods 0.005 s
testGroovyVersionSupportsActionFalse 0.001 s
testGroovyVersionSupportsActionTrue 0.004 s
testMalformedURLExceptionThrowsMojoExecutionException 0.008 s
testInvocationTargetExceptionThrowsMojoExecutionException 0.007 s
testDependencyResolutionRequiredExceptionThrowsMojoExecutionException 0.006 s
testInstantiationExceptionThrowsMojoExecutionException 0.008 s

RemoveStubsMojoTest

testRemoveSourcePathContainsPath 0 s
testRemoveSourcePathNotContainsPath 0 s

RemoveTestStubsMojoTest

testDoesNothingWhenSkipFlagIsSet 0 s
testRemoveTestSourcePathContainsPath 0 s
testRemoveTestSourcePathNotContainsPath 0 s

ClassWranglerTest

testIsGroovyIndyFalse 0.052 s
testGetGroovyVersionWithIndyFromJar 0.012 s
testGetGroovyJar 0.002 s
testGetGroovyVersionStringFromJar 0.007 s
testIsGroovyIndyTrue 0.003 s
testGetGroovyVersionWithGrooidFromJar 0.007 s
testGetGroovyVersionStringFromGroovySystemThenFromInvokerHelper 0.013 s

FileUtilsTest

testCloseReaderQuietly 0.078 s
testGetNameWithoutExtension 0 s
testGetFileExtension 0 s
testCloseInputStreamQuietly 0.106 s
testCloseWriterQuietly 0.113 s
testCloseOutputStreamQuietly 0.081 s

ReflectionUtilsTest

testHappyPaths 0 s
testFindMethodClassNull 0 s
testFindConstructorNotFound 0.005 s
testInvokeConstructorNull 0 s
testInvokeStaticMethodMethodNotStatic 0.001 s
testInvokeMethodMethodNull 0.001 s
testGetStaticFieldNotStatic 0 s
testGetEnumConstantNonEnumClass 0.001 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.002 s
testConstructor 0.001 s
testInvokeStaticMethodMethodNull 0.001 s