Skip to content

Merge pull request #34 from huangliang992/feature/zfj/take_test_code_… #138

Merge pull request #34 from huangliang992/feature/zfj/take_test_code_…

Merge pull request #34 from huangliang992/feature/zfj/take_test_code_… #138

GitHub Actions / Test Results (LATEST-EAP-SNAPSHOT,false) succeeded Apr 25, 2024 in 1s

353 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
build/test-results/integrationTest/TEST-com.weirddev.testme.intellij.action.GotoTestOrCodeHandlerExtTest.xml 1✅ 2s
build/test-results/integrationTest/TEST-com.weirddev.testme.intellij.action.TestMeActionHandlerTest.xml 1✅ 3s
build/test-results/integrationTest/TEST-com.weirddev.testme.intellij.action.TestMeActionTest.xml 1✅ 2s
build/test-results/integrationTest/TEST-com.weirddev.testme.intellij.generator.MockBuilderFactoryTest.xml 4✅ 1s
build/test-results/integrationTest/TEST-com.weirddev.testme.intellij.generator.TestMeGeneratorGroovyJunit4Test.xml 54✅ 83s
build/test-results/integrationTest/TEST-com.weirddev.testme.intellij.generator.TestMeGeneratorJunit4PowerMockTest.xml 9✅ 25s
build/test-results/integrationTest/TEST-com.weirddev.testme.intellij.generator.TestMeGeneratorJunit4Test.xml 45✅ 93s
build/test-results/integrationTest/TEST-com.weirddev.testme.intellij.generator.TestMeGeneratorJunit5Test.xml 10✅ 22s
build/test-results/integrationTest/TEST-com.weirddev.testme.intellij.generator.TestMeGeneratorSpecs2Test.xml 16✅ 5s
build/test-results/integrationTest/TEST-com.weirddev.testme.intellij.generator.TestMeGeneratorSpockParameterizedTest.xml 1✅ 2s
build/test-results/integrationTest/TEST-com.weirddev.testme.intellij.generator.TestMeGeneratorSpockTest.xml 8✅ 12s
build/test-results/integrationTest/TEST-com.weirddev.testme.intellij.generator.TestMeGeneratorTestNgTest.xml 10✅ 22s
build/test-results/integrationTest/TEST-com.weirddev.testme.intellij.generator.TestTemplateContextBuilderTest.xml 2✅ 91ms
build/test-results/integrationTest/TEST-com.weirddev.testme.intellij.icon.TemplateNameFormatterTest.xml 3✅ 11ms
build/test-results/integrationTest/TEST-com.weirddev.testme.intellij.IconTokensReplacerTest.xml 5✅ 540ms
build/test-results/integrationTest/TEST-com.weirddev.testme.intellij.template.context.GroovyTestBuilderImplTest.xml 2✅ 44ms
build/test-results/integrationTest/TEST-com.weirddev.testme.intellij.template.context.JavaTestBuilderImplTest.xml 21✅ 56ms
build/test-results/integrationTest/TEST-com.weirddev.testme.intellij.template.context.LanguageTest.xml 3✅ 8ms
build/test-results/integrationTest/TEST-com.weirddev.testme.intellij.template.context.MockitoMockBuilderTest.xml 13✅ 70ms
build/test-results/integrationTest/TEST-com.weirddev.testme.intellij.template.context.StringUtilsTest.xml 5✅ 27ms
build/test-results/integrationTest/TEST-com.weirddev.testme.intellij.template.context.TypeTest.xml 2✅ 10ms
build/test-results/integrationTest/TEST-com.weirddev.testme.intellij.template.TemplateRegistryTest.xml 1✅ 39ms
build/test-results/integrationTest/TEST-com.weirddev.testme.intellij.TestMeAdditionalActionJunit4Test.xml 6✅ 78s
build/test-results/integrationTest/TEST-com.weirddev.testme.intellij.utils.ClassNameUtilsSpec.xml 6✅ 6ms
build/test-results/integrationTest/TEST-com.weirddev.testme.intellij.utils.ClassNameUtilsTest.xml 15✅ 7ms
build/test-results/integrationTest/TEST-com.weirddev.testme.intellij.utils.TemplateFileNameFormatterTest.xml 2✅ 4ms
build/test-results/integrationTest/TEST-com.weirddev.testme.intellij.utils.TestSubjectResolverUtilsTest.xml 1✅ 2s
build/test-results/integrationTest/TEST-com.weirddev.testme.intellij.utils.TypeUtilsTest.xml 11✅ 13ms
build/test-results/test/TEST-com.weirddev.testme.intellij.generator.MockBuilderFactoryTest.xml 4✅ 982ms
build/test-results/test/TEST-com.weirddev.testme.intellij.generator.TestTemplateContextBuilderTest.xml 2✅ 85ms
build/test-results/test/TEST-com.weirddev.testme.intellij.icon.TemplateNameFormatterTest.xml 3✅ 8ms
build/test-results/test/TEST-com.weirddev.testme.intellij.IconTokensReplacerTest.xml 5✅ 516ms
build/test-results/test/TEST-com.weirddev.testme.intellij.template.context.GroovyTestBuilderImplTest.xml 2✅ 42ms
build/test-results/test/TEST-com.weirddev.testme.intellij.template.context.JavaTestBuilderImplTest.xml 21✅ 67ms
build/test-results/test/TEST-com.weirddev.testme.intellij.template.context.LanguageTest.xml 3✅ 8ms
build/test-results/test/TEST-com.weirddev.testme.intellij.template.context.MockitoMockBuilderTest.xml 13✅ 105ms
build/test-results/test/TEST-com.weirddev.testme.intellij.template.context.StringUtilsTest.xml 5✅ 26ms
build/test-results/test/TEST-com.weirddev.testme.intellij.template.context.TypeTest.xml 2✅ 15ms
build/test-results/test/TEST-com.weirddev.testme.intellij.template.TemplateRegistryTest.xml 1✅ 41ms
build/test-results/test/TEST-com.weirddev.testme.intellij.utils.ClassNameUtilsSpec.xml 6✅ 5ms
build/test-results/test/TEST-com.weirddev.testme.intellij.utils.ClassNameUtilsTest.xml 15✅ 13ms
build/test-results/test/TEST-com.weirddev.testme.intellij.utils.TemplateFileNameFormatterTest.xml 2✅ 7ms
build/test-results/test/TEST-com.weirddev.testme.intellij.utils.TypeUtilsTest.xml 11✅ 32ms

✅ build/test-results/integrationTest/TEST-com.weirddev.testme.intellij.action.GotoTestOrCodeHandlerExtTest.xml

1 tests were completed in 2s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.weirddev.testme.intellij.action.GotoTestOrCodeHandlerExtTest 1✅ 2s

✅ com.weirddev.testme.intellij.action.GotoTestOrCodeHandlerExtTest

✅ testNestedClassParams

✅ build/test-results/integrationTest/TEST-com.weirddev.testme.intellij.action.TestMeActionHandlerTest.xml

1 tests were completed in 3s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.weirddev.testme.intellij.action.TestMeActionHandlerTest 1✅ 3s

✅ com.weirddev.testme.intellij.action.TestMeActionHandlerTest

✅ testNestedClassParams

✅ build/test-results/integrationTest/TEST-com.weirddev.testme.intellij.action.TestMeActionTest.xml

1 tests were completed in 2s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.weirddev.testme.intellij.action.TestMeActionTest 1✅ 2s

✅ com.weirddev.testme.intellij.action.TestMeActionTest

✅ testSimpleClass

✅ build/test-results/integrationTest/TEST-com.weirddev.testme.intellij.generator.MockBuilderFactoryTest.xml

4 tests were completed in 1s with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.weirddev.testme.intellij.generator.MockBuilderFactoryTest 4✅ 1s

✅ com.weirddev.testme.intellij.generator.MockBuilderFactoryTest

✅ resolve Mockito Version where classpathJars=null then expect: null
✅ resolve Mockito Version where classpathJars=[] then expect: null
✅ resolve Mockito Version where classpathJars=[c:/path/to/mockito-all-4.3.1.jar, c:/path/to/another-2.1.2.jar] then expect: null
✅ resolve Mockito Version where classpathJars=[c:/path/to/mockito-core-4.3.1.jar, c:/path/to/another-2.1.2.jar] then expect: 4.3.1

✅ build/test-results/integrationTest/TEST-com.weirddev.testme.intellij.generator.TestMeGeneratorGroovyJunit4Test.xml

54 tests were completed in 83s with 54 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.weirddev.testme.intellij.generator.TestMeGeneratorGroovyJunit4Test 54✅ 83s

✅ com.weirddev.testme.intellij.generator.TestMeGeneratorGroovyJunit4Test

✅ testDirectlyReferencedPropertiesNotIgnored
✅ testIgnoreUnusedProperties
✅ testIgnoreUnusedPropertiesInGroovy
✅ testDeclareSpecificTestMethodThrownExceptionTypes
✅ testBean
✅ testJavaCallsGroovy
✅ testCtorOverProps
✅ testIgnoreUnusedPropertiesWhenInherited
✅ testCtorOverSetters
✅ testSettersOverCtor
✅ testEnumSubject
✅ testSimpleClass
✅ testParamsConstructors
✅ testIgnoreUnusedCtorArgumentsIdentifyMethodReference
✅ testGenerics
✅ testNoFormatting
✅ testUtilWithoutAccessableCtor
✅ testDate
✅ testEnum
✅ testCtorWhenNoMocks
✅ testMiscReplacementTypes
✅ testConstructors
✅ testWithFinalTypeDependency
✅ testStaticFieldless
✅ testOverloading
✅ testIgnoreUnusedCtorArgumentsWhenDelegatedCalls
✅ testMockFieldsInDependencyInjection
✅ testParamsConstructorsNoFqnReplacement
✅ testDefaultPackage
✅ testMockFieldsInDiWithCtor
✅ testConstants
✅ testReplacedInterface
✅ testNestedClassParams
✅ testOverrideAbstractIgnoreInherited
✅ testOverrideAbstract
✅ testFileTemplateCustomization
✅ testVariousFieldTypes
✅ testCollections
✅ testArrays
✅ testIgnoreUnusedCtorArgumentsInGroovy
✅ testGroovy
✅ testVerifyMethodCall
✅ testTypeNameCollision
✅ testTypeInDefaultPackageCollision
✅ testInheritanceIgnored
✅ testInheritance
✅ testGenericsTypeCollision
✅ testPrimitiveCallTypes
✅ testStatic
✅ testMockFieldsInDiWithSetter
✅ testMockReturned
✅ testIgnoreUnusedCtorArguments
✅ testAvoidInfiniteRecursionSelfReferences
✅ testWithSetters

✅ build/test-results/integrationTest/TEST-com.weirddev.testme.intellij.generator.TestMeGeneratorJunit4PowerMockTest.xml

9 tests were completed in 25s with 9 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.weirddev.testme.intellij.generator.TestMeGeneratorJunit4PowerMockTest 9✅ 25s

✅ com.weirddev.testme.intellij.generator.TestMeGeneratorJunit4PowerMockTest

✅ testSimpleClass
✅ testRenderInternalMethodCallStubsIgnoredThrowExceptions
✅ testDeclareSpecificTestMethodThrownExceptionTypes
✅ testRenderInternalMethodCallStubs
✅ testMockFieldsInDependencyInjection
✅ testRenderInternalMethodCallStubsThrowExceptions
✅ testFileTemplateCustomization
✅ testVariousFieldTypes
✅ testRenderInternalMethodCallStubsIgnored

✅ build/test-results/integrationTest/TEST-com.weirddev.testme.intellij.generator.TestMeGeneratorJunit4Test.xml

45 tests were completed in 93s with 45 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.weirddev.testme.intellij.generator.TestMeGeneratorJunit4Test 45✅ 93s

✅ com.weirddev.testme.intellij.generator.TestMeGeneratorJunit4Test

✅ testEnumSubject
✅ testSimpleClass
✅ testParamsConstructors
✅ testIgnoreUnusedCtorArgumentsIdentifyMethodReference
✅ testGenerics
✅ testNoFormatting
✅ testUtilWithoutAccessableCtor
✅ testDeclareSpecificTestMethodThrownExceptionTypes
✅ testDate
✅ testEnum
✅ testCtorWhenNoMocks
✅ testMiscReplacementTypes
✅ testConstructors
✅ testWithFinalTypeDependency
✅ testStaticFieldless
✅ testOverloading
✅ testIgnoreUnusedCtorArgumentsWhenDelegatedCalls
✅ testMockFieldsInDependencyInjection
✅ testParamsConstructorsNoFqnReplacement
✅ testDefaultPackage
✅ testMockFieldsInDiWithCtor
✅ testConstants
✅ testReplacedInterface
✅ testNestedClassParams
✅ testOverrideAbstractIgnoreInherited
✅ testOverrideAbstract
✅ testFileTemplateCustomization
✅ testVariousFieldTypes
✅ testCollections
✅ testArrays
✅ testIgnoreUnusedCtorArgumentsInGroovy
✅ testGroovy
✅ testVerifyMethodCall
✅ testTypeNameCollision
✅ testTypeInDefaultPackageCollision
✅ testInheritanceIgnored
✅ testInheritance
✅ testGenericsTypeCollision
✅ testPrimitiveCallTypes
✅ testStatic
✅ testMockFieldsInDiWithSetter
✅ testMockReturned
✅ testIgnoreUnusedCtorArguments
✅ testAvoidInfiniteRecursionSelfReferences
✅ testWithSetters

✅ build/test-results/integrationTest/TEST-com.weirddev.testme.intellij.generator.TestMeGeneratorJunit5Test.xml

10 tests were completed in 22s with 10 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.weirddev.testme.intellij.generator.TestMeGeneratorJunit5Test 10✅ 22s

✅ com.weirddev.testme.intellij.generator.TestMeGeneratorJunit5Test

✅ testSimpleClass
✅ testUtilWithoutAccessableCtor
✅ testMockFieldsInDependencyInjection
✅ testMockFieldsInDiWithCtor
✅ testFileTemplateCustomization
✅ testVariousFieldTypes
✅ testArrays
✅ testVerifyMethodCall
✅ testMockFieldsInDiWithSetter
✅ testMockReturned

✅ build/test-results/integrationTest/TEST-com.weirddev.testme.intellij.generator.TestMeGeneratorSpecs2Test.xml

16 tests were completed in 5s with 16 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.weirddev.testme.intellij.generator.TestMeGeneratorSpecs2Test 16✅ 5s

✅ com.weirddev.testme.intellij.generator.TestMeGeneratorSpecs2Test

✅ testSimpleClass
✅ testScalaWithDependencies
✅ testScalaSealedCaseClassEnum
✅ testScalaGenerics
✅ testScalaEnumeration
✅ testBean
✅ testScalaDependencyReturnsFuture
✅ testScalaFuture
✅ testScalaObject
✅ testConstants
✅ testScalaRequireExecutionContext
✅ testVariousTypesOfArguments
✅ testVariousFieldTypes
✅ testArrays
✅ testScalaCaseClass
✅ testMockReturned

✅ build/test-results/integrationTest/TEST-com.weirddev.testme.intellij.generator.TestMeGeneratorSpockParameterizedTest.xml

1 tests were completed in 2s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.weirddev.testme.intellij.generator.TestMeGeneratorSpockParameterizedTest 1✅ 2s

✅ com.weirddev.testme.intellij.generator.TestMeGeneratorSpockParameterizedTest

✅ testGenerics

✅ build/test-results/integrationTest/TEST-com.weirddev.testme.intellij.generator.TestMeGeneratorSpockTest.xml

8 tests were completed in 12s with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.weirddev.testme.intellij.generator.TestMeGeneratorSpockTest 8✅ 12s

✅ com.weirddev.testme.intellij.generator.TestMeGeneratorSpockTest

✅ testGenerics
✅ testBean
✅ testCtorOverProps
✅ testMockFieldsInDependencyInjection
✅ testMockFieldsInDiWithCtor
✅ testFileTemplateCustomization
✅ testMockFieldsInDiWithSetter
✅ testMockReturned

✅ build/test-results/integrationTest/TEST-com.weirddev.testme.intellij.generator.TestMeGeneratorTestNgTest.xml

10 tests were completed in 22s with 10 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.weirddev.testme.intellij.generator.TestMeGeneratorTestNgTest 10✅ 22s

✅ com.weirddev.testme.intellij.generator.TestMeGeneratorTestNgTest

✅ testSimpleClass
✅ testUtilWithoutAccessableCtor
✅ testMockFieldsInDependencyInjection
✅ testMockFieldsInDiWithCtor
✅ testFileTemplateCustomization
✅ testVariousFieldTypes
✅ testArrays
✅ testVerifyMethodCall
✅ testMockFieldsInDiWithSetter
✅ testMockReturned

✅ build/test-results/integrationTest/TEST-com.weirddev.testme.intellij.generator.TestTemplateContextBuilderTest.xml

2 tests were completed in 91ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.weirddev.testme.intellij.generator.TestTemplateContextBuilderTest 2✅ 91ms

✅ com.weirddev.testme.intellij.generator.TestTemplateContextBuilderTest

✅ testPopulateDateFieldsDoubleDigits
✅ testPopulateDateFieldsSingleDigits

✅ build/test-results/integrationTest/TEST-com.weirddev.testme.intellij.icon.TemplateNameFormatterTest.xml

3 tests were completed in 11ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.weirddev.testme.intellij.icon.TemplateNameFormatterTest 3✅ 11ms

✅ com.weirddev.testme.intellij.icon.TemplateNameFormatterTest

✅ replace Html where html=<html><i>JUnit4</i><img src='/icons/junit.png'>& <i>Mockito</i><img src='/icons/mockito.png'></html> then expect: <html><i>JUnit4</i><img src='file:/home/runner/work/testme-idea/testme-idea/build/resources/main/icons/junit.png'>& <i>Mockito</i><img src='file:/home/runner/work/testme-idea/testme-idea/build/resources/main/icons/mockito.png'></html>
✅ add prefix to html content where html=<html><i>JUnit4</i><img src='/icons/junit.png'>& <i>Mockito</i><img src='/icons/mockito.png'></html> then expect: <html>Copy of <i>JUnit4</i><img src='/icons/junit.png'>& <i>Mockito</i><img src='/icons/mockito.png'></html>
✅ add prefix to html content where html=JUnit4 & Mockito then expect: Copy of JUnit4 & Mockito

✅ build/test-results/integrationTest/TEST-com.weirddev.testme.intellij.IconTokensReplacerTest.xml

5 tests were completed in 540ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.weirddev.testme.intellij.IconTokensReplacerTest 5✅ 540ms

✅ com.weirddev.testme.intellij.IconTokensReplacerTest

✅ testStripLastToken
✅ testStripTokens
✅ testTokenize
✅ testMultipleTokens
✅ testTokenizeLast

✅ build/test-results/integrationTest/TEST-com.weirddev.testme.intellij.template.context.GroovyTestBuilderImplTest.xml

2 tests were completed in 44ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.weirddev.testme.intellij.template.context.GroovyTestBuilderImplTest 2✅ 44ms

✅ com.weirddev.testme.intellij.template.context.GroovyTestBuilderImplTest

✅ test should Prefer Setters Over Ctor
✅ test should Optimize Constructor Optimization

✅ build/test-results/integrationTest/TEST-com.weirddev.testme.intellij.template.context.JavaTestBuilderImplTest.xml

21 tests were completed in 56ms with 21 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.weirddev.testme.intellij.template.context.JavaTestBuilderImplTest 21✅ 56ms

✅ com.weirddev.testme.intellij.template.context.JavaTestBuilderImplTest

✅ resolveType Output type where canonicalName=java.util.Set<Fire> and replacementMap=[java.util.Set:java.util.HashSet<TYPES>] then expect: java.util.HashSet<Fire>
✅ resolveType Output type where canonicalName=java.util.Set<List<Fire>> and replacementMap=[java.util.Set:java.util.HashSet<TYPES>] then expect: java.util.HashSet<List<Fire>>
✅ resolveType Output type where canonicalName=java.util.Set<List<Fire>> and replacementMap=[java.util.SetZ:java.util.HashSet<TYPES>] then expect: new java.util.HashSet<List<Fire>>(java.util.Arrays.asList(<VAL>))
✅ resolveType Output type where canonicalName=java.util.Set<List<Fire>> and replacementMap=[:] then expect: new java.util.HashSet<List<Fire>>(java.util.Arrays.asList(<VAL>))
✅ resolveType Output type where canonicalName=java.util.Set<List<Fire>> and replacementMap=[java.util.Set:java.util.HashSet] then expect: java.util.HashSet
✅ resolveType Output type where canonicalName=java.util.Set<Fire> and replacementMap=[java.util.Set:java.util.Arrays.asList] then expect: java.util.Arrays.asList
✅ resolveType Output type where canonicalName=Set<Fire> and replacementMap=[Set:HashSet<TYPES>] then expect: HashSet<Fire>
✅ resolveType Output type where canonicalName=java.util.concurrent.Future and replacementMap=[:] then expect: <VAL>
✅ resolveType JAVA 9 Output type where canonicalName=java.util.Set<Fire> and replacementMap=[java.util.Set:java.util.HashSet<TYPES>] then expect: java.util.HashSet<Fire>
✅ resolveType JAVA 9 Output type where canonicalName=java.util.Set<List<Fire>> and replacementMap=[java.util.Set:java.util.HashSet<TYPES>] then expect: java.util.HashSet<List<Fire>>
✅ resolveType JAVA 9 Output type where canonicalName=java.util.Set.of(<VAL>) and replacementMap=[java.util.SetZ:java.util.HashSet<TYPES>] then expect: java.util.Set.of(<VAL>)
✅ resolveType JAVA 9 Output type where canonicalName=java.util.Set.of(<VAL>) and replacementMap=[:] then expect: java.util.Set.of(<VAL>)
✅ resolveType JAVA 9 Output type where canonicalName=java.util.Set<List<Fire>> and replacementMap=[java.util.Set:java.util.HashSet] then expect: java.util.HashSet
✅ resolveType JAVA 9 Output type where canonicalName=java.util.Set<Fire> and replacementMap=[java.util.Set:java.util.Arrays.asList] then expect: java.util.Arrays.asList
✅ resolveType JAVA 9 Output type where canonicalName=Set<Fire> and replacementMap=[Set:HashSet<TYPES>] then expect: HashSet<Fire>
✅ resolveType JAVA 9 Output type where canonicalName=java.util.concurrent.Future and replacementMap=[:] then expect: <VAL>
✅ resolveType Input type where canonicalName=java.util.Set<List<Fire>> and replacementMap=[java.util.Set:java.util.HashSet<TYPES>] then expect: java.util.HashSet<List<Fire>>
✅ resolveType Input type where canonicalName=java.util.Set<List<Fire>> and replacementMap=[java.util.SetZ:java.util.HashSet<TYPES>] then expect: new java.util.HashSet<List<Fire>>(java.util.Arrays.asList(<VAL>))
✅ resolveType Input type where canonicalName=java.util.concurrent.Future and replacementMap=[] then expect: java.util.concurrent.CompletableFuture.completedFuture(<VAL>)
✅ renderJavaCallParam - generic collection
✅ renderJavaCallParam - JAVA 9 generic collection

✅ build/test-results/integrationTest/TEST-com.weirddev.testme.intellij.template.context.LanguageTest.xml

3 tests were completed in 8ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.weirddev.testme.intellij.template.context.LanguageTest 3✅ 8ms

✅ com.weirddev.testme.intellij.template.context.LanguageTest

✅ safe Value Of where language=Scala then expect: Scala
✅ safe Value Of where language=scala then expect: Scala
✅ safe Value Of where language=unknown then expect: Java

✅ build/test-results/integrationTest/TEST-com.weirddev.testme.intellij.template.context.MockitoMockBuilderTest.xml

13 tests were completed in 70ms with 13 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.weirddev.testme.intellij.template.context.MockitoMockBuilderTest 13✅ 70ms

✅ com.weirddev.testme.intellij.template.context.MockitoMockBuilderTest

✅ get Init Mocks Method where mockitoCoreVersion=null
✅ get Init Mocks Method where mockitoCoreVersion=
✅ get Init Mocks Method where mockitoCoreVersion=1.3.ga
✅ get Init Mocks Method where mockitoCoreVersion=1.3.0
✅ get Init Mocks Method where mockitoCoreVersion=3.3.0
✅ get Init Mocks Method where mockitoCoreVersion=3.3cust.0
✅ get Init Mocks Method where mockitoCoreVersion=3.4.0
✅ get Init Mocks Method where mockitoCoreVersion=3.4misc.0
✅ get Init Mocks Method where mockitoCoreVersion=4.1.0
✅ get Init Mocks Method where mockitoCoreVersion=4.1.ga
✅ get Init Mocks Method where mockitoCoreVersion=4.6.0
✅ get Init Mocks Method where mockitoCoreVersion=4.12.0
✅ get Init Mocks Method where mockitoCoreVersion=11.1.0

✅ build/test-results/integrationTest/TEST-com.weirddev.testme.intellij.template.context.StringUtilsTest.xml

5 tests were completed in 27ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.weirddev.testme.intellij.template.context.StringUtilsTest 5✅ 27ms

✅ com.weirddev.testme.intellij.template.context.StringUtilsTest

✅ testCapitalizeFirstLetter
✅ testCamelCaseToWords
✅ testRemoveSuffix
✅ testHasLine
✅ testDeCapitalizeFirstLetter

✅ build/test-results/integrationTest/TEST-com.weirddev.testme.intellij.template.context.TypeTest.xml

2 tests were completed in 10ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.weirddev.testme.intellij.template.context.TypeTest 2✅ 10ms

✅ com.weirddev.testme.intellij.template.context.TypeTest

✅ testGenericTypeCreation
✅ testComplexGenericTypeCreation

✅ build/test-results/integrationTest/TEST-com.weirddev.testme.intellij.template.TemplateRegistryTest.xml

1 tests were completed in 39ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.weirddev.testme.intellij.template.TemplateRegistryTest 1✅ 39ms

✅ com.weirddev.testme.intellij.template.TemplateRegistryTest

✅ testTemplateRegistry

✅ build/test-results/integrationTest/TEST-com.weirddev.testme.intellij.TestMeAdditionalActionJunit4Test.xml

6 tests were completed in 78s with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.weirddev.testme.intellij.TestMeAdditionalActionJunit4Test 6✅ 78s

✅ com.weirddev.testme.intellij.TestMeAdditionalActionJunit4Test

✅ testInnerOfInnerStaticClass
✅ testInnerOfInnerClass
✅ testInnerClass
✅ testInnerStaticClass
✅ testInnerStaticClassWithMember
✅ testInnerStaticOfInnerStaticClass

✅ build/test-results/integrationTest/TEST-com.weirddev.testme.intellij.utils.ClassNameUtilsSpec.xml

6 tests were completed in 6ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.weirddev.testme.intellij.utils.ClassNameUtilsSpec 6✅ 6ms

✅ com.weirddev.testme.intellij.utils.ClassNameUtilsSpec

✅ stripGenerics
✅ extractGenerics
✅ array Dimensions where canonicalName=canonicalName then expect: 0
✅ array Dimensions where canonicalName=java.lang.String[] then expect: 1
✅ array Dimensions where canonicalName=java.lang.String[][] then expect: 2
✅ array Dimensions where canonicalName=java.lang.String[][][] then expect: 3

✅ build/test-results/integrationTest/TEST-com.weirddev.testme.intellij.utils.ClassNameUtilsTest.xml

15 tests were completed in 7ms with 15 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.weirddev.testme.intellij.utils.ClassNameUtilsTest 15✅ 7ms

✅ com.weirddev.testme.intellij.utils.ClassNameUtilsTest

✅ testExtractTargetPropertyNameForGetter
✅ testRemoveFromCamelCaseName
✅ testExtractTargetPropertyNameForSetter
✅ testStripArrayVarargsDesignatorRemoveArray
✅ testExtractContainerType
✅ testRemoveFromCamelCaseNameReturnNullWhenInvalid
✅ testVarargsTrue
✅ testStripArrayVarargsDesignatorRemoveVarargs
✅ testExtractTargetPropertyNameForIsGetter
✅ testExtractClassName
✅ testStripArrayVarargsDesignator
✅ testExtractPackageName
✅ testExtractPackageNameWhenNull
✅ testIsArray
✅ testVarargsFalse

✅ build/test-results/integrationTest/TEST-com.weirddev.testme.intellij.utils.TemplateFileNameFormatterTest.xml

2 tests were completed in 4ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.weirddev.testme.intellij.utils.TemplateFileNameFormatterTest 2✅ 4ms

✅ com.weirddev.testme.intellij.utils.TemplateFileNameFormatterTest

✅ template Name To File where name=<html>Copy of <i>Spock</i><img src='/icons/groovy.png'> & <i>Mockito</i><img src='/icons/mockito.png'></html>.groovy then expect: %3Chtml%3ECopy+of+%3Ci%3ESpock%3C%2Fi%3E%3Cimg+src%3D%27%2Ficons%2Fgroovy.png%27%3E+%26+%3Ci%3EMockito%3C%2Fi%3E%3Cimg+src%3D%27%2Ficons%2Fmockito.png%27%3E%3C%2Fhtml%3E.groovy
✅ file Name To template name where name=%3Chtml%3ECopy+of+%3Ci%3ESpock%3C%2Fi%3E%3Cimg+src%3D%27%2Ficons%2Fgroovy.png%27%3E+%26+%3Ci%3EMockito%3C%2Fi%3E%3Cimg+src%3D%27%2Ficons%2Fmockito.png%27%3E%3C%2Fhtml%3E.groovy then expect: <html>Copy of <i>Spock</i><img src='/icons/groovy.png'> & <i>Mockito</i><img src='/icons/mockito.png'></html>.groovy

✅ build/test-results/integrationTest/TEST-com.weirddev.testme.intellij.utils.TestSubjectResolverUtilsTest.xml

1 tests were completed in 2s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.weirddev.testme.intellij.utils.TestSubjectResolverUtilsTest 1✅ 2s

✅ com.weirddev.testme.intellij.utils.TestSubjectResolverUtilsTest

✅ testIsValidForTesting

✅ build/test-results/integrationTest/TEST-com.weirddev.testme.intellij.utils.TypeUtilsTest.xml

11 tests were completed in 13ms with 11 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.weirddev.testme.intellij.utils.TypeUtilsTest 11✅ 13ms

✅ com.weirddev.testme.intellij.utils.TypeUtilsTest

✅ is Language Base Class where typeCanonicalName=java.lang.Object then expect: true
✅ is Language Base Class where typeCanonicalName=java.lang.Class then expect: true
✅ is Language Base Class where typeCanonicalName=groovy.lang.GroovyObjectSupport then expect: true
✅ is Language Base Class where typeCanonicalName=java.lang.Enum then expect: true
✅ is Language Base Class where typeCanonicalName=java.lang.String then expect: false
✅ is Language Base Class where typeCanonicalName=null then expect: false
✅ is Basic Type where qualifiedName=java.lang.String then expect: true
✅ is Basic Type where qualifiedName=scala.Predef.String then expect: true
✅ is Basic Type where qualifiedName=byte then expect: true
✅ is Basic Type where qualifiedName=java.lang.Object then expect: false
✅ is Basic Type where qualifiedName=null then expect: false

✅ build/test-results/test/TEST-com.weirddev.testme.intellij.generator.MockBuilderFactoryTest.xml

4 tests were completed in 982ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.weirddev.testme.intellij.generator.MockBuilderFactoryTest 4✅ 982ms

✅ com.weirddev.testme.intellij.generator.MockBuilderFactoryTest

✅ resolve Mockito Version where classpathJars=null then expect: null
✅ resolve Mockito Version where classpathJars=[] then expect: null
✅ resolve Mockito Version where classpathJars=[c:/path/to/mockito-all-4.3.1.jar, c:/path/to/another-2.1.2.jar] then expect: null
✅ resolve Mockito Version where classpathJars=[c:/path/to/mockito-core-4.3.1.jar, c:/path/to/another-2.1.2.jar] then expect: 4.3.1

✅ build/test-results/test/TEST-com.weirddev.testme.intellij.generator.TestTemplateContextBuilderTest.xml

2 tests were completed in 85ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.weirddev.testme.intellij.generator.TestTemplateContextBuilderTest 2✅ 85ms

✅ com.weirddev.testme.intellij.generator.TestTemplateContextBuilderTest

✅ testPopulateDateFieldsDoubleDigits
✅ testPopulateDateFieldsSingleDigits

✅ build/test-results/test/TEST-com.weirddev.testme.intellij.icon.TemplateNameFormatterTest.xml

3 tests were completed in 8ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.weirddev.testme.intellij.icon.TemplateNameFormatterTest 3✅ 8ms

✅ com.weirddev.testme.intellij.icon.TemplateNameFormatterTest

✅ replace Html where html=<html><i>JUnit4</i><img src='/icons/junit.png'>& <i>Mockito</i><img src='/icons/mockito.png'></html> then expect: <html><i>JUnit4</i><img src='file:/home/runner/work/testme-idea/testme-idea/build/resources/main/icons/junit.png'>& <i>Mockito</i><img src='file:/home/runner/work/testme-idea/testme-idea/build/resources/main/icons/mockito.png'></html>
✅ add prefix to html content where html=<html><i>JUnit4</i><img src='/icons/junit.png'>& <i>Mockito</i><img src='/icons/mockito.png'></html> then expect: <html>Copy of <i>JUnit4</i><img src='/icons/junit.png'>& <i>Mockito</i><img src='/icons/mockito.png'></html>
✅ add prefix to html content where html=JUnit4 & Mockito then expect: Copy of JUnit4 & Mockito

✅ build/test-results/test/TEST-com.weirddev.testme.intellij.IconTokensReplacerTest.xml

5 tests were completed in 516ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.weirddev.testme.intellij.IconTokensReplacerTest 5✅ 516ms

✅ com.weirddev.testme.intellij.IconTokensReplacerTest

✅ testStripLastToken
✅ testStripTokens
✅ testTokenize
✅ testMultipleTokens
✅ testTokenizeLast

✅ build/test-results/test/TEST-com.weirddev.testme.intellij.template.context.GroovyTestBuilderImplTest.xml

2 tests were completed in 42ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.weirddev.testme.intellij.template.context.GroovyTestBuilderImplTest 2✅ 42ms

✅ com.weirddev.testme.intellij.template.context.GroovyTestBuilderImplTest

✅ test should Prefer Setters Over Ctor
✅ test should Optimize Constructor Optimization

✅ build/test-results/test/TEST-com.weirddev.testme.intellij.template.context.JavaTestBuilderImplTest.xml

21 tests were completed in 67ms with 21 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.weirddev.testme.intellij.template.context.JavaTestBuilderImplTest 21✅ 67ms

✅ com.weirddev.testme.intellij.template.context.JavaTestBuilderImplTest

✅ resolveType Output type where canonicalName=java.util.Set<Fire> and replacementMap=[java.util.Set:java.util.HashSet<TYPES>] then expect: java.util.HashSet<Fire>
✅ resolveType Output type where canonicalName=java.util.Set<List<Fire>> and replacementMap=[java.util.Set:java.util.HashSet<TYPES>] then expect: java.util.HashSet<List<Fire>>
✅ resolveType Output type where canonicalName=java.util.Set<List<Fire>> and replacementMap=[java.util.SetZ:java.util.HashSet<TYPES>] then expect: new java.util.HashSet<List<Fire>>(java.util.Arrays.asList(<VAL>))
✅ resolveType Output type where canonicalName=java.util.Set<List<Fire>> and replacementMap=[:] then expect: new java.util.HashSet<List<Fire>>(java.util.Arrays.asList(<VAL>))
✅ resolveType Output type where canonicalName=java.util.Set<List<Fire>> and replacementMap=[java.util.Set:java.util.HashSet] then expect: java.util.HashSet
✅ resolveType Output type where canonicalName=java.util.Set<Fire> and replacementMap=[java.util.Set:java.util.Arrays.asList] then expect: java.util.Arrays.asList
✅ resolveType Output type where canonicalName=Set<Fire> and replacementMap=[Set:HashSet<TYPES>] then expect: HashSet<Fire>
✅ resolveType Output type where canonicalName=java.util.concurrent.Future and replacementMap=[:] then expect: <VAL>
✅ resolveType JAVA 9 Output type where canonicalName=java.util.Set<Fire> and replacementMap=[java.util.Set:java.util.HashSet<TYPES>] then expect: java.util.HashSet<Fire>
✅ resolveType JAVA 9 Output type where canonicalName=java.util.Set<List<Fire>> and replacementMap=[java.util.Set:java.util.HashSet<TYPES>] then expect: java.util.HashSet<List<Fire>>
✅ resolveType JAVA 9 Output type where canonicalName=java.util.Set.of(<VAL>) and replacementMap=[java.util.SetZ:java.util.HashSet<TYPES>] then expect: java.util.Set.of(<VAL>)
✅ resolveType JAVA 9 Output type where canonicalName=java.util.Set.of(<VAL>) and replacementMap=[:] then expect: java.util.Set.of(<VAL>)
✅ resolveType JAVA 9 Output type where canonicalName=java.util.Set<List<Fire>> and replacementMap=[java.util.Set:java.util.HashSet] then expect: java.util.HashSet
✅ resolveType JAVA 9 Output type where canonicalName=java.util.Set<Fire> and replacementMap=[java.util.Set:java.util.Arrays.asList] then expect: java.util.Arrays.asList
✅ resolveType JAVA 9 Output type where canonicalName=Set<Fire> and replacementMap=[Set:HashSet<TYPES>] then expect: HashSet<Fire>
✅ resolveType JAVA 9 Output type where canonicalName=java.util.concurrent.Future and replacementMap=[:] then expect: <VAL>
✅ resolveType Input type where canonicalName=java.util.Set<List<Fire>> and replacementMap=[java.util.Set:java.util.HashSet<TYPES>] then expect: java.util.HashSet<List<Fire>>
✅ resolveType Input type where canonicalName=java.util.Set<List<Fire>> and replacementMap=[java.util.SetZ:java.util.HashSet<TYPES>] then expect: new java.util.HashSet<List<Fire>>(java.util.Arrays.asList(<VAL>))
✅ resolveType Input type where canonicalName=java.util.concurrent.Future and replacementMap=[] then expect: java.util.concurrent.CompletableFuture.completedFuture(<VAL>)
✅ renderJavaCallParam - generic collection
✅ renderJavaCallParam - JAVA 9 generic collection

✅ build/test-results/test/TEST-com.weirddev.testme.intellij.template.context.LanguageTest.xml

3 tests were completed in 8ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.weirddev.testme.intellij.template.context.LanguageTest 3✅ 8ms

✅ com.weirddev.testme.intellij.template.context.LanguageTest

✅ safe Value Of where language=Scala then expect: Scala
✅ safe Value Of where language=scala then expect: Scala
✅ safe Value Of where language=unknown then expect: Java

✅ build/test-results/test/TEST-com.weirddev.testme.intellij.template.context.MockitoMockBuilderTest.xml

13 tests were completed in 105ms with 13 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.weirddev.testme.intellij.template.context.MockitoMockBuilderTest 13✅ 105ms

✅ com.weirddev.testme.intellij.template.context.MockitoMockBuilderTest

✅ get Init Mocks Method where mockitoCoreVersion=null
✅ get Init Mocks Method where mockitoCoreVersion=
✅ get Init Mocks Method where mockitoCoreVersion=1.3.ga
✅ get Init Mocks Method where mockitoCoreVersion=1.3.0
✅ get Init Mocks Method where mockitoCoreVersion=3.3.0
✅ get Init Mocks Method where mockitoCoreVersion=3.3cust.0
✅ get Init Mocks Method where mockitoCoreVersion=3.4.0
✅ get Init Mocks Method where mockitoCoreVersion=3.4misc.0
✅ get Init Mocks Method where mockitoCoreVersion=4.1.0
✅ get Init Mocks Method where mockitoCoreVersion=4.1.ga
✅ get Init Mocks Method where mockitoCoreVersion=4.6.0
✅ get Init Mocks Method where mockitoCoreVersion=4.12.0
✅ get Init Mocks Method where mockitoCoreVersion=11.1.0

✅ build/test-results/test/TEST-com.weirddev.testme.intellij.template.context.StringUtilsTest.xml

5 tests were completed in 26ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.weirddev.testme.intellij.template.context.StringUtilsTest 5✅ 26ms

✅ com.weirddev.testme.intellij.template.context.StringUtilsTest

✅ testCapitalizeFirstLetter
✅ testCamelCaseToWords
✅ testRemoveSuffix
✅ testHasLine
✅ testDeCapitalizeFirstLetter

✅ build/test-results/test/TEST-com.weirddev.testme.intellij.template.context.TypeTest.xml

2 tests were completed in 15ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.weirddev.testme.intellij.template.context.TypeTest 2✅ 15ms

✅ com.weirddev.testme.intellij.template.context.TypeTest

✅ testGenericTypeCreation
✅ testComplexGenericTypeCreation

✅ build/test-results/test/TEST-com.weirddev.testme.intellij.template.TemplateRegistryTest.xml

1 tests were completed in 41ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.weirddev.testme.intellij.template.TemplateRegistryTest 1✅ 41ms

✅ com.weirddev.testme.intellij.template.TemplateRegistryTest

✅ testTemplateRegistry

✅ build/test-results/test/TEST-com.weirddev.testme.intellij.utils.ClassNameUtilsSpec.xml

6 tests were completed in 5ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.weirddev.testme.intellij.utils.ClassNameUtilsSpec 6✅ 5ms

✅ com.weirddev.testme.intellij.utils.ClassNameUtilsSpec

✅ stripGenerics
✅ extractGenerics
✅ array Dimensions where canonicalName=canonicalName then expect: 0
✅ array Dimensions where canonicalName=java.lang.String[] then expect: 1
✅ array Dimensions where canonicalName=java.lang.String[][] then expect: 2
✅ array Dimensions where canonicalName=java.lang.String[][][] then expect: 3

✅ build/test-results/test/TEST-com.weirddev.testme.intellij.utils.ClassNameUtilsTest.xml

15 tests were completed in 13ms with 15 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.weirddev.testme.intellij.utils.ClassNameUtilsTest 15✅ 13ms

✅ com.weirddev.testme.intellij.utils.ClassNameUtilsTest

✅ testExtractTargetPropertyNameForGetter
✅ testRemoveFromCamelCaseName
✅ testExtractTargetPropertyNameForSetter
✅ testStripArrayVarargsDesignatorRemoveArray
✅ testExtractContainerType
✅ testRemoveFromCamelCaseNameReturnNullWhenInvalid
✅ testVarargsTrue
✅ testStripArrayVarargsDesignatorRemoveVarargs
✅ testExtractTargetPropertyNameForIsGetter
✅ testExtractClassName
✅ testStripArrayVarargsDesignator
✅ testExtractPackageName
✅ testExtractPackageNameWhenNull
✅ testIsArray
✅ testVarargsFalse

✅ build/test-results/test/TEST-com.weirddev.testme.intellij.utils.TemplateFileNameFormatterTest.xml

2 tests were completed in 7ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.weirddev.testme.intellij.utils.TemplateFileNameFormatterTest 2✅ 7ms

✅ com.weirddev.testme.intellij.utils.TemplateFileNameFormatterTest

✅ template Name To File where name=<html>Copy of <i>Spock</i><img src='/icons/groovy.png'> & <i>Mockito</i><img src='/icons/mockito.png'></html>.groovy then expect: %3Chtml%3ECopy+of+%3Ci%3ESpock%3C%2Fi%3E%3Cimg+src%3D%27%2Ficons%2Fgroovy.png%27%3E+%26+%3Ci%3EMockito%3C%2Fi%3E%3Cimg+src%3D%27%2Ficons%2Fmockito.png%27%3E%3C%2Fhtml%3E.groovy
✅ file Name To template name where name=%3Chtml%3ECopy+of+%3Ci%3ESpock%3C%2Fi%3E%3Cimg+src%3D%27%2Ficons%2Fgroovy.png%27%3E+%26+%3Ci%3EMockito%3C%2Fi%3E%3Cimg+src%3D%27%2Ficons%2Fmockito.png%27%3E%3C%2Fhtml%3E.groovy then expect: <html>Copy of <i>Spock</i><img src='/icons/groovy.png'> & <i>Mockito</i><img src='/icons/mockito.png'></html>.groovy

✅ build/test-results/test/TEST-com.weirddev.testme.intellij.utils.TypeUtilsTest.xml

11 tests were completed in 32ms with 11 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.weirddev.testme.intellij.utils.TypeUtilsTest 11✅ 32ms

✅ com.weirddev.testme.intellij.utils.TypeUtilsTest

✅ is Language Base Class where typeCanonicalName=java.lang.Object then expect: true
✅ is Language Base Class where typeCanonicalName=java.lang.Class then expect: true
✅ is Language Base Class where typeCanonicalName=groovy.lang.GroovyObjectSupport then expect: true
✅ is Language Base Class where typeCanonicalName=java.lang.Enum then expect: true
✅ is Language Base Class where typeCanonicalName=java.lang.String then expect: false
✅ is Language Base Class where typeCanonicalName=null then expect: false
✅ is Basic Type where qualifiedName=java.lang.String then expect: true
✅ is Basic Type where qualifiedName=scala.Predef.String then expect: true
✅ is Basic Type where qualifiedName=byte then expect: true
✅ is Basic Type where qualifiedName=java.lang.Object then expect: false
✅ is Basic Type where qualifiedName=null then expect: false