[jbosstools-issues] [JBoss JIRA] Assigned: (JBIDE-4351) Various failures in SeamCoreTest

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Thu May 21 13:08:59 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBIDE-4351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Kazakov reassigned JBIDE-4351:
-------------------------------------

    Assignee: Viacheslav Kabanovich  (was: Alexey Kazakov)


SeamCoreAllTests.testComponentsValidator (see https://jira.jboss.org/jira/browse/JBIDE-4354) and SeamCoreAllTests.testContextVariablesValidator (incorrect test) has been fixed.

There are two test left which fails sometimes:

1. SeamCoreAllTests.testBigProject

It takes 4.1265822784810124 times longer to load path in the end of seam model loading than in the beginning. That implies that time depends as N*N on the number of components N.

junit.framework.AssertionFailedError: It takes 4.1265822784810124 times longer to load path in the end of seam model loading than in the beginning.
That implies that time depends as N*N on the number of components N.
	at org.jboss.tools.seam.core.test.SeamBigProjectTest.testBigProject(SeamBigProjectTest.java:107)

2. SeamCoreAllTests.testSeamComponentRename

java.lang.NullPointerException
	at org.jboss.tools.seam.internal.core.refactoring.RenameComponentProcessor.findDeclarations(RenameComponentProcessor.java:163)
	at org.jboss.tools.seam.internal.core.refactoring.RenameComponentProcessor.createChange(RenameComponentProcessor.java:424)
	at org.jboss.tools.seam.core.test.refactoring.SeamComponentRefactoringTest.renameComponent(SeamComponentRefactoringTest.java:129)
	at org.jboss.tools.seam.core.test.refactoring.SeamComponentRefactoringTest.testSeamComponentRename(SeamComponentRefactoringTest.java:110)

Slava, any ideas? I'm wondering about second one. Why a Seam component doesn't have any declaration sometimes?

> Various failures in SeamCoreTest
> --------------------------------
>
>                 Key: JBIDE-4351
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-4351
>             Project: Tools (JBoss Tools)
>          Issue Type: Task
>          Components: Seam
>            Reporter: Max Rydahl Andersen
>            Assignee: Viacheslav Kabanovich
>            Priority: Blocker
>             Fix For: 3.1.0.M1
>
>
> There are 4 failures for seam of various causes, but not sure if they should require 4 seperate jiras.
> http://hudson.qa.jboss.com/hudson/job/jbosstools-nightly-3.1.0.Alpha1/184/testReport/
> Most worrying is the exceptions in our model and that our load time is doing NxN according to the test.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list