[jbosstools-issues] [JBoss JIRA] (JBIDE-17185) org.jboss.tools.cdi.core.test failures on Windows

Viacheslav Kabanovich (JIRA) issues at jboss.org
Fri May 16 19:55:56 EDT 2014


    [ https://issues.jboss.org/browse/JBIDE-17185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12968554#comment-12968554 ] 

Viacheslav Kabanovich commented on JBIDE-17185:
-----------------------------------------------

Test DefenitionErrorsValidationTest.testParameterizedTypeWithWildcard fails with Resource '/tck1.1/JavaSource/org/jboss/jsr299/tck/tests/implementation/producer/field/definition/broken/parameterizedReturnTypeWithWildcard/SpiderProducerWildCardType_Broken.java' does not exist.
I could not understand why. [~dazarov] could you please check in debugger, what happens to that file on Windows as well as check 2 new PRs?

> org.jboss.tools.cdi.core.test failures on Windows
> -------------------------------------------------
>
>                 Key: JBIDE-17185
>                 URL: https://issues.jboss.org/browse/JBIDE-17185
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: cdi
>    Affects Versions: 4.2.0.Beta1
>         Environment: Windows
>            Reporter: Daniel Azarov
>            Assignee: Viacheslav Kabanovich
>             Fix For: 4.2.0.Beta2
>
>         Attachments: org.jboss.tools.cdi.core.test.CDICoreAllTests-New.txt, org.jboss.tools.cdi.core.test.CDICoreAllTests-New2.txt, org.jboss.tools.cdi.core.test.CDICoreAllTests.txt
>
>
> Results :
> *Failed tests:*
>   1. testRemoveJarFromClasspath(org.jboss.tools.cdi.core.test.RemoveJarFromClasspathTest): cdi-simple.jar should be included into XModel.
>   2. testDependentProjects(org.jboss.tools.cdi.core.test.tck.validation.DependentProjectValidationTest): Marker matches the 'Injection point declares a primitive type boolean that cannot be proxied by the container resolves to a bean TestBean3.foo\(\) with a normal scope \[JSR-299 º5.4.1\]' pattern wasn't found. Here is the list of found markers in \CDITest3\src\cdi\test3\TestBean3.java : []
>   3. testAbstractApiType(org.jboss.tools.cdi.core.test.tck.BeanDefinitionTest): Location [start position=842, lengt=16] has not been found among the following locations: ([start position=885, length=16], [start position=860, length=16], )
>   4. testBeanTypes(org.jboss.tools.cdi.core.test.tck.BeanDefinitionTest): Location [start position=841, lengt=9] has not be
> en found among the following locations: ([start position=895, length=12], [start position=877, length=6], [start position=859, length=9], )
>   5. testBeanTypesNonEmpty(org.jboss.tools.cdi.core.test.tck.BeanDefinitionTest): Location [start position=914, lengt=10] has not been found among the following locations: ([start position=958, length=6], [start position=936, length=10], )
>   6. testNamedWithConstant(org.jboss.tools.cdi.core.test.tck.NameDefinitionTest): Wrong start position expected:<897> but was:<918>
>   7. testNonDefaultNamed(org.jboss.tools.cdi.core.test.tck.NameDefinitionTest): Wrong start position expected:<897> but was:<918>
>   8. testFieldInjectedFromProducerMethod(org.jboss.tools.cdi.core.test.tck.QualifierDefinitionTest): Location [start position=891, lengt=5] has not been found among the following locations: ([start position=914, length=5], )
>   9. testQualifiersDeclaredInJava(org.jboss.tools.cdi.core.test.tck.QualifierDefinitionTest): Location [start position=836, lengt=12] has not been found among the following locations: ([start position=856, length=12], )
>   10. testMultipleQualifiers(org.jboss.tools.cdi.core.test.tck.QualifierDefinitionTest): Location [start position=862, lengt=10] has not been found among the following locations: ([start position=882, length=10], [start position=894, length=24], [start position=920, length=19], )
>   11. testMultipleIncompatibleScopeStereotypesWithScopeSpecified (org.jboss.tools.cdi.core.test.tck.ScopeDefinitionTest): Location [start position=908, lengt=10] has not been found among the following locations: ([start position=930, length=10], )
>   12. testScopeDeclaredInJava(org.jboss.tools.cdi.core.test.tck.ScopeDefinitionTest): Location [start position=878, lengt=14] has not been found among the following locations: ([start position=898, length=14], )
>   13. testScopeSpecifiedAndStereotyped(org.jboss.tools.cdi.core.test.tck.ScopeDefinitionTest): Location [start position=899, lengt=14] has not been found among the following locations: ([start position=920, length=14], )
>   14. testScopeTypesAreExtensible(org.jboss.tools.cdi.core.test.tck.ScopeDefinitionTest): Location [start position=830, lengt=17] has not been found among the following locations: ([start position=848, length=17], )
>   15. testWebBeanScopeTypeOverridesStereotype(org.jboss.tools.cdi.core.test.tck.ScopeDefinitionTest): Location [start position=894, lengt=14] has not been found among the following locations: ([start position=915, length=14], )
>   16. testMultipleStereotypesAllowed(org.jboss.tools.cdi.core.test.tck.StereotypeDefinitionTest): Location [start position=877, lengt=5] has not been found among the following locations: ([start position=897, length=5], )
>   17. testStereotypeWithScopeType(org.jboss.tools.cdi.core.test.tck.StereotypeDefinitionTest): Location [start position=835, lengt=17] has not been found among the following locations: ([start position=853, length=17], )
>   18. testBindingTypesAppliedToProducerMethodParameters (org.jboss.tools.cdi.core.test.tck.ProducerMethodDefinitionTest): Location [start position=1287, lengt=29] has not been found among the following locations: ([start position=1319, length=29], [start position=1361, length=19], )
>   19. testInitializerMethodHasParameterAnnotatedDisposes (org.jboss.tools.cdi.core.test.tck.validation.DefenitionErrorsValidationTest): Marker matches the 'Disposer method cannot be annotated @Inject \[JSR-299 º3.3.6\]' pattern wasn't found for line - 25, start - 979, end - 986. Found markers for given patern: [line number - 25, start - 1003, end - 1010; line number - 26, start - 1048, end - 1057]
>   20. testRestrictedType(org.jboss.tools.cdi.core.test.tck.validation.IncrementalValidationTest): Marker matches the 'Bean specifies a type restriction which does not correspond to a type in the unrestricted set of bean types of a bean \[JSR-299 º2.2.2\]' pattern was found
>   21. testInjectionsWithInterface(org.jboss.tools.cdi.core.test.tck.validation.IncrementalValidationTest): Marker matches the 'No bean is eligible for injection to the injection point \[JSR-299 º5.2.1\]' pattern wasn't found. Here is the list of found markers in \tck\JavaSource\org\jboss\jsr299\tck\tests\jbt\validation\inject\incremental\ExtensionManager.java :[]
>   22. testAlternativesInBeansXml(org.jboss.tools.cdi.core.test.tck.validation.IncrementalValidationTest): Marker matches the 'No bean is eligible for injection to the injection point \[JSR-299 º5.2.1\]' pattern wasn't found. Here is the list of found markers in \tck\JavaSource\org\jboss\jsr299\tck\tests\jbt\validation\beansxml\incremental\Test3.java : []
>   23. testInjectionPointRevalidation(org.jboss.tools.cdi.core.test.tck.validation.IncrementalValidationTest): Marker matches the 'Multiple beans are eligible for injection to the injection point \[JSR-299 º5.2.1\]' pattern was found
>   24. testInjectionPointResolvedToProducerRevalidation (org.jboss.tools.cdi.core.test.tck.validation.IncrementalValidationTest): Marker matches the 'Multiple beans are eligible for injection to the injection point \[JSR-299 º5.2.1\]' pattern was found
>   25. testNamedBeanClassRename(org.jboss.tools.cdi.core.test.tck.NamedBeanRefactoringTest): There is unexpected change in resource - Gamme.java expected:<[abcde]> but was:<[ed
>   26. testAbstractApiType(org.jboss.tools.cdi.core.test.tck11.BeanDefinitionCDI11Test): Location [start position=842, lengt=16] has not been found among the following locations: ([start position=885, length=16], [start position=860, length=16], )
>   27. testBeanTypes(org.jboss.tools.cdi.core.test.tck11.BeanDefinitionCDI11Test): Location [start position=841, lengt=9] has not been found among the following locations: ([start position=859, length=9], [start position=877, length=6], [start position=895, length=12], )
>   28. testBeanTypesNonEmpty(org.jboss.tools.cdi.core.test.tck11.BeanDefinitionCDI11Test): Location [start position=914, lengt=10] has not been found among the following locations: ([start position=958, length=6], [start position=936, length=10], )
>   29. testNamedWithConstant(org.jboss.tools.cdi.core.test.tck11.NameDefinitionCDI11Test): Wrong start position expected:<897> but was:<918>
>   30. testNonDefaultNamed(org.jboss.tools.cdi.core.test.tck11.NameDefinitionCDI11Test): Wrong start position expected:<897> but was:<918>
>   31. testFieldInjectedFromProducerMethod(org.jboss.tools.cdi.core.test.tck11.QualifierDefinitionCDI11Test): Location [start position=891, lengt=5] has not been found among the following locations: ([start position=914, length=5], )
>   32. testQualifiersDeclaredInJava(org.jboss.tools.cdi.core.test.tck11.QualifierDefinitionCDI11Test): Location [start position=836, lengt=12] has not been found among the following locations: ([start position=856, length=12], )
>   33. testMultipleQualifiers(org.jboss.tools.cdi.core.test.tck11.QualifierDefinitionCDI11Test): Location [start position=862, lengt=10] has not been found among the following locations: ([start position=882, length=10], [start position=894, length=24], [start position=920, length=19], )
>   34. testMultipleIncompatibleScopeStereotypesWithScopeSpecified (org.jboss.tools.cdi.core.test.tck11.ScopeDefinitionCDI11Test): Location [start position=908, lengt=10] has not been found among the following locations: ([start position=930, length=10], )
>   35. testScopeDeclaredInJava(org.jboss.tools.cdi.core.test.tck11.ScopeDefinitionCDI11Test): Location [start position=878, lengt=14] has not been found among the following locations: ([start position=898, length=14], )
>   36. testScopeSpecifiedAndStereotyped(org.jboss.tools.cdi.core.test.tck11.ScopeDefinitionCDI11Test): Location [start position=899, lengt=14] has not been found among the following locations: ([start position=920, length=14], )
>   37. testScopeTypesAreExtensible(org.jboss.tools.cdi.core.test.tck11.ScopeDefinitionCDI11Test): Location [start position=830, lengt=17] has not been found among the following locations: ([start position=848, length=17], )
>   38. testWebBeanScopeTypeOverridesStereotype(org.jboss.tools.cdi.core.test.tck11.ScopeDefinitionCDI11Test): Location [start position=894, lengt=14] has not been found among the following locations: ([start position=915, length=14], )
>   39. testMultipleStereotypesAllowed(org.jboss.tools.cdi.core.test.tck11.StereotypeDefinitionCDI11Test): Location [start position=877, lengt=5] has not been found among the following locations: ([start position=897, length=5], )
>   40. testStereotypeWithScopeType(org.jboss.tools.cdi.core.test.tck11.StereotypeDefinitionCDI11Test): Location [start position=835, lengt=17] has not been found among the following locations: ([start position=853, length=17], )
>   41. testBindingTypesAppliedToProducerMethodParameters (org.jboss.tools.cdi.core.test.tck11.ProducerMethodDefinitionCDI11Test): Location [start position=1287, lengt=29] has not been found among the following locations: ([start position=1319, length=29], [start position=1361, length=19], )
>   42. testInitializerMethodHasParameterAnnotatedDisposes (org.jboss.tools.cdi.core.test.tck11.validation.DefenitionErrorsValidationCDI11Test): Marker matches the 'Disposer method cannot be annotated @Inject \[JSR-299 º3.3.6\]' pattern wasn't found for line - 25, start - 979, end - 986. Found markers for given patern: [line number - 25, start - 1003, end - 1010; line number - 26, start - 1048, end - 1057]
>   43. testRestrictedType(org.jboss.tools.cdi.core.test.tck11.validation.IncrementalValidationCDI11Test): Marker matches the 'Bean specifies a type restriction which does not correspond to a type in the unrestricted set of bean types of a bean \[JSR-299 º2.2.2\]' pattern was found
>   44. testInjectionsWithInterface(org.jboss.tools.cdi.core.test.tck11.validation.IncrementalValidationCDI11Test): Marker matches the 'No bean is eligible for injection to the injection point \[JSR-299 º5.2.1\]' pattern wasn't found. Here is the list of found markers in \tck1.1\JavaSource\org\jboss\jsr299\tck\tests\jbt\validation\inject\incremental\ExtensionManager.java : []
>   45. testAlternativesInBeansXml(org.jboss.tools.cdi.core.test.tck11.validation.IncrementalValidationCDI11Test): Marker matches the 'No bean is eligible for injection to the injection point \[JSR-299 º5.2.1\]' pattern wasn't found. Here is the list of found markers in \tck1.1\JavaSource\org\jboss\jsr299\tck\tests\jbt\validation\beansxml\incremental\Test3.java : []
>   46. testInjectionPointRevalidation(org.jboss.tools.cdi.core.test.tck11.validation.IncrementalValidationCDI11Test): Marker matches the 'Multiple beans are eligible for injection to the injection point \[JSR-299 º5.2.1\]' pattern was found
>   47. testInjectionPointResolvedToProducerRevalidation (org.jboss.tools.cdi.core.test.tck11.validation.IncrementalValidationCDI11Test): Marker matches the 'Multiple beans are eligible for injection to the injection point \[JSR-299 º5.2.1\]' pattern was found
>   48. testNamedBeanClassRename(org.jboss.tools.cdi.core.test.tck11.NamedBeanRefactoringCDI11Test): There is unexpected change in resource - Gamme.java expected:<[abcde]> but was:<[ed
> *Tests in error:*
>   1. testParameterizedTypeWithWildcard(org.jboss.tools.cdi.core.test.tck.validation.DefenitionErrorsValidationTest): Resource '/tck/JavaSource/org/jboss/jsr299/tck/tests/implementation/producer/field/definition/broken/parameterizedReturnTypeWithWildcard/SpiderProducerWildCardType_Broken.java' does not exist.
>   2. testParameterizedTypeWithWildcard(org.jboss.tools.cdi.core.test.tck.validation.AYTDefenitionErrorsValidationTest): Resource '/tck/JavaSource/org/jboss/jsr299/tck/tests/implementation/producer/field/definition/broken/parameterizedReturnTyp
> eWithWildcard/SpiderProducerWildCardType_Broken.java' does not exist.
>   3. testParameterizedTypeWithWildcard (org.jboss.tools.cdi.core.test.tck11.validation.DefenitionErrorsValidationCDI11Test):
>  Resource '/tck1.1/JavaSource/org/jboss/jsr299/tck/tests/implementation/producer/field/definition/broken/parameterizedReturnTypeWithWildcard/SpiderProducerWildCardType_Broken.java' does not exist.
>   4. testParameterizedTypeWithWildcard (org.jboss.tools.cdi.core.test.tck11.validation.AYTDefenitionErrorsValidationCDI11Test): Resource '/tck1.1/JavaSource/org/jboss/jsr299/tck/tests/implementation/producer/field/definition/broken/parameterize
> dReturnTypeWithWildcard/SpiderProducerWildCardType_Broken.java' does not exist.
> Tests run: 1283, Failures: 48, Errors: 4, Skipped: 0



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)



More information about the jbosstools-issues mailing list