Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
237 0 0 0 100% 4.463 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 103 0 0 0 100% 4.188 s
org.codehaus.gmavenplus.util 99 0 0 0 100% 0.190 s
org.codehaus.gmavenplus.model.internal 21 0 0 0 100% 0.001 s
org.codehaus.gmavenplus.model 2 0 0 0 100% 0.001 s
org.codehaus.gmavenplus.groovyworkarounds 12 0 0 0 100% 0.083 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 2 0 0 0 100% 1.108 s
AbstractGenerateStubsMojoTest 4 0 0 0 100% 0.320 s
AbstractGroovyDocMojoTest 2 0 0 0 100% 0.325 s
AbstractGroovyMojoTest 5 0 0 0 100% 0.019 s
AbstractGroovySourcesMojoTest 8 0 0 0 100% 0.011 s
AbstractGroovyStubSourcesMojoTest 1 0 0 0 100% 0 s
AbstractToolsMojoTest 8 0 0 0 100% 0.750 s
AddSourcesMojoTest 2 0 0 0 100% 0.001 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.153 s
CompileTestsMojoTest 10 0 0 0 100% 0.043 s
ExecuteMojoTest 5 0 0 0 100% 1.278 s
GenerateStubsMojoTest 9 0 0 0 100% 0.054 s
GenerateTestStubsMojoTest 10 0 0 0 100% 0.039 s
GroovyDocMojoTest 9 0 0 0 100% 0.039 s
GroovyDocTestsMojoTest 9 0 0 0 100% 0.041 s
RemoveStubsMojoTest 2 0 0 0 100% 0.002 s
RemoveTestStubsMojoTest 3 0 0 0 100% 0.002 s

org.codehaus.gmavenplus.util

- Class Tests Errors Failures Skipped Success Rate Time
ClassWranglerTest 7 0 0 0 100% 0.033 s
FileUtilsTest 6 0 0 0 100% 0.114 s
GroovyCompilerTest 68 0 0 0 100% 0.039 s
ReflectionUtilsTest 18 0 0 0 100% 0.004 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.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.083 s
GroovyDocTemplateInfoTest 9 0 0 0 100% 0 s

Test Cases

[Summary] [Package List] [Test Cases]

DotGroovyFileTest

testGettersAndSetters 0.007 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

testGroovyVersionSupportsActionFalse 1.106 s
testGroovyVersionSupportsActionTrue 0 s

AbstractGenerateStubsMojoTest

testGetStubs 0.283 s
testResetStubModifiedDates 0.032 s
testGroovyVersionSupportsActionFalse 0 s
testGroovyVersionSupportsActionTrue 0 s

AbstractGroovyDocMojoTest

testSkipGroovyDoc 0.310 s
testDontSkipGroovyDoc 0.004 s

AbstractGroovyMojoTest

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

AbstractGroovySourcesMojoTest

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

AbstractGroovyStubSourcesMojoTest

testGetStubsEmpty 0 s

AbstractToolsMojoTest

testInitializeProperties 0.717 s
testSessionPropertiesOverrideProjectProperties 0.007 s
testAddAllSessionUserProperties 0.003 s
testBindAllProjectPropertiesAndBindSessionUserOverridePropertiesWhenEmpty 0.002 s
testAddAllProjectProperties 0.003 s
testInitializePropertiesNull 0.006 s
testInitializePropertiesAlreadyInProps 0.008 s
testSessionPropertiesOverrideProjectPropertiesAndIncludesOthers 0.003 s

AddSourcesMojoTest

testAddSourcePathContainsPath 0 s
testAddSourcePathNotContainsPath 0.001 s

AddStubSourcesMojoTest

testAddsStubsToSources 0 s

AddTestSourcesMojoTest

testAddSourcePathContainsPath 0 s
testAddSourcePathNotContainsPath 0 s

AddTestStubSourcesMojoTest

testDoesNothingWhenSkipFlagIsSet 0 s
testAddsTestStubsToSources 0.001 s

CompileMojoTest

testIllegalAccessExceptionThrowsMojoExecutionException 0.095 s
testClassNotFoundExceptionThrowsMojoExecutionException 0.001 s
testCallsExpectedMethods 0.002 s
testGroovyVersionSupportsActionFalse 0.001 s
testGroovyVersionSupportsActionTrue 0.002 s
testMalformedURLExceptionThrowsMojoExecutionException 0.003 s
testInvocationTargetExceptionThrowsMojoExecutionException 0.026 s
testDependencyResolutionRequiredExceptionThrowsMojoExecutionException 0.017 s
testInstantiationExceptionThrowsMojoExecutionException 0.005 s

CompileTestsMojoTest

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

ExecuteMojoTest

testScriptPath 1.217 s
testScriptString 0.033 s
testGroovyVersionSupportsActionFalse 0.002 s
testGroovyVersionSupportsActionTrue 0.001 s
testScriptURL 0.024 s

GenerateStubsMojoTest

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

GenerateTestStubsMojoTest

testIllegalAccessExceptionThrowsMojoExecutionException 0.019 s
testClassNotFoundExceptionThrowsMojoExecutionException 0.003 s
testCallsExpectedMethods 0.003 s
testGroovyVersionSupportsActionFalse 0.001 s
testGroovyVersionSupportsActionTrue 0.001 s
testMalformedURLExceptionThrowsMojoExecutionException 0.003 s
testInvocationTargetExceptionThrowsMojoExecutionException 0.002 s
testDependencyResolutionRequiredExceptionThrowsMojoExecutionException 0.003 s
testInstantiationExceptionThrowsMojoExecutionException 0.001 s
testSkipped 0.001 s

GroovyDocMojoTest

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

GroovyDocTestsMojoTest

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

RemoveStubsMojoTest

testRemoveSourcePathContainsPath 0.002 s
testRemoveSourcePathNotContainsPath 0 s

RemoveTestStubsMojoTest

testDoesNothingWhenSkipFlagIsSet 0 s
testRemoveTestSourcePathContainsPath 0 s
testRemoveTestSourcePathNotContainsPath 0 s

ClassWranglerTest

testIsGroovyIndyFalse 0.025 s
testGetGroovyVersionWithIndyFromJar 0.001 s
testGetGroovyJar 0.001 s
testGetGroovyVersionStringFromJar 0.001 s
testIsGroovyIndyTrue 0 s
testGetGroovyVersionWithGrooidFromJar 0.001 s
testGetGroovyVersionStringFromGroovySystemThenFromInvokerHelper 0.004 s

FileUtilsTest

testCloseReaderQuietly 0.027 s
testGetNameWithoutExtension 0 s
testGetFileExtension 0 s
testCloseInputStreamQuietly 0.029 s
testCloseWriterQuietly 0.031 s
testCloseOutputStreamQuietly 0.027 s

GroovyCompilerTest

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

ReflectionUtilsTest

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