[jbosstools-issues] [JBoss JIRA] (JBIDE-12845) org.jboss.tools.cdi.text.ext.test.InjectedPointHyperlinkDetectorTest failure

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Tue Nov 6 14:06:18 EST 2012


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

Viacheslav Kabanovich commented on JBIDE-12845:
-----------------------------------------------

Starting conditions for the failing test depend on another test that modifies source TestInjections.java. Tests should be made independent.
                
> org.jboss.tools.cdi.text.ext.test.InjectedPointHyperlinkDetectorTest failure
> ----------------------------------------------------------------------------
>
>                 Key: JBIDE-12845
>                 URL: https://issues.jboss.org/browse/JBIDE-12845
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: CDI
>            Reporter: Alexey Kazakov
>            Assignee: Daniel Azarov
>             Fix For: 4.0.0.CR1
>
>
> {code}
> (org.jboss.tools.cdi.text.ext.test.InjectedPointHyperlinkDetectorTest)  Time elapsed: 0.254 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: Hyperlink - Show All Assignable Beans... not found  next region - <Inject> 104 - 110 line - 7 position - 5
> 	at junit.framework.Assert.fail(Assert.java:50)
> 	at junit.framework.Assert.assertTrue(Assert.java:20)
> 	at junit.framework.Assert.assertNotNull(Assert.java:218)
> 	at org.jboss.tools.cdi.text.ext.test.CDIHyperlinkTestUtil.checkTestRegion(CDIHyperlinkTestUtil.java:212)
> 	at org.jboss.tools.cdi.text.ext.test.CDIHyperlinkTestUtil.checkRegions(CDIHyperlinkTestUtil.java:179)
> 	at org.jboss.tools.cdi.text.ext.test.CDIHyperlinkTestUtil.checkRegions(CDIHyperlinkTestUtil.java:100)
> 	at org.jboss.tools.cdi.text.ext.test.InjectedPointHyperlinkDetectorTest.testInjectedPointHyperlinkDetectorWithComment(InjectedPointHyperlinkDetectorTest.java:169)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list