[jbosstools-issues] [JBoss JIRA] (JBIDE-10164) Seam UI test failure

Viacheslav Kabanovich (Commented) (JIRA) jira-events at lists.jboss.org
Thu Nov 17 18:22:41 EST 2011


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

Viacheslav Kabanovich commented on JBIDE-10164:
-----------------------------------------------

Seam Components View in new window remained empty because the window was invoked with null input and view expects IWorkspaceRoot. I will create an issue on supporting subsets of workspace by Seam Components view. This issue is fixed by fixing JBIDE-10193.
                
> Seam UI test failure
> --------------------
>
>                 Key: JBIDE-10164
>                 URL: https://issues.jboss.org/browse/JBIDE-10164
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Seam 2
>    Affects Versions: 3.3.0.M5
>            Reporter: Alexey Kazakov
>            Assignee: Viacheslav Kabanovich
>             Fix For: 3.3.0.M5
>
>
> {code}
> Failed tests:
> testAddComponentInXmlFile(org.jboss.tools.seam.ui.test.view.SeamComponentsViewTest)
> testRenameComponentInXmlFile(org.jboss.tools.seam.ui.test.view.SeamComponentsViewTest)
> testDeleteComponentInXmlFile(org.jboss.tools.seam.ui.test.view.SeamComponentsViewTest)
> testAddComponentInClass(org.jboss.tools.seam.ui.test.view.SeamComponentsViewTest)
> testRenameComponentInClass(org.jboss.tools.seam.ui.test.view.SeamComponentsViewTest)
> testDeleteComponentInClass(org.jboss.tools.seam.ui.test.view.SeamComponentsViewTest)
> Tests in error:
> testFlatSeamPackages(org.jboss.tools.seam.ui.test.view.SeamComponentsViewTest)
> testHierarchicalSeamPackages(org.jboss.tools.seam.ui.test.view.SeamComponentsViewTest)
> Tests run: 72, Failures: 6, Errors: 2, Skipped: 0, Time elapsed: 564.94 sec <<< FAILURE!
> testAddComponentInXmlFile(org.jboss.tools.seam.ui.test.view.SeamComponentsViewTest) Time elapsed: 2.336 sec <<< FAILURE!
> junit.framework.AssertionFailedError: Seam model is not updated, expected package 'myPackage' is not found in tree
> at junit.framework.Assert.fail(Assert.java:47)
> at junit.framework.Assert.assertTrue(Assert.java:20)
> at org.jboss.tools.seam.ui.test.view.SeamComponentsViewTest.testAddComponentInXmlFile(SeamComponentsViewTest.java:128)
> testRenameComponentInXmlFile(org.jboss.tools.seam.ui.test.view.SeamComponentsViewTest) Time elapsed: 0.542 sec <<< FAILURE!
> junit.framework.AssertionFailedError: Expected package 'myPackage' was not found it tree
> at junit.framework.Assert.fail(Assert.java:47)
> at junit.framework.Assert.assertTrue(Assert.java:20)
> at org.jboss.tools.seam.ui.test.view.SeamComponentsViewTest.testRenameComponentInXmlFile(SeamComponentsViewTest.java:148)
> testDeleteComponentInXmlFile(org.jboss.tools.seam.ui.test.view.SeamComponentsViewTest) Time elapsed: 0.555 sec <<< FAILURE!
> junit.framework.AssertionFailedError: Package "myNewPackage" not found!
> at junit.framework.Assert.fail(Assert.java:47)
> at junit.framework.Assert.assertTrue(Assert.java:20)
> at org.jboss.tools.seam.ui.test.view.SeamComponentsViewTest.testDeleteComponentInXmlFile(SeamComponentsViewTest.java:216)
> testAddComponentInClass(org.jboss.tools.seam.ui.test.view.SeamComponentsViewTest) Time elapsed: 2.066 sec <<< FAILURE!
> junit.framework.AssertionFailedError: Package "demo" not found!
> at junit.framework.Assert.fail(Assert.java:47)
> at junit.framework.Assert.assertTrue(Assert.java:20)
> at org.jboss.tools.seam.ui.test.view.SeamComponentsViewTest.testAddComponentInClass(SeamComponentsViewTest.java:286)
> testRenameComponentInClass(org.jboss.tools.seam.ui.test.view.SeamComponentsViewTest) Time elapsed: 1.055 sec <<< FAILURE!
> junit.framework.AssertionFailedError: Package "demo" not found!
> at junit.framework.Assert.fail(Assert.java:47)
> at junit.framework.Assert.assertTrue(Assert.java:20)
> at org.jboss.tools.seam.ui.test.view.SeamComponentsViewTest.testRenameComponentInClass(SeamComponentsViewTest.java:304)
> testDeleteComponentInClass(org.jboss.tools.seam.ui.test.view.SeamComponentsViewTest) Time elapsed: 0.673 sec <<< FAILURE!
> junit.framework.AssertionFailedError: null
> at junit.framework.Assert.fail(Assert.java:47)
> at junit.framework.Assert.assertTrue(Assert.java:20)
> at junit.framework.Assert.assertNotNull(Assert.java:214)
> at junit.framework.Assert.assertNotNull(Assert.java:207)
> at org.jboss.tools.seam.ui.test.view.SeamComponentsViewTest.testDeleteComponentInClass(SeamComponentsViewTest.java:359)
> testFlatSeamPackages(org.jboss.tools.seam.ui.test.view.SeamComponentsViewTest) Time elapsed: 1.679 sec <<< ERROR!
> java.lang.NullPointerException
> at org.jboss.tools.seam.ui.test.view.SeamComponentsViewTest.testFlatSeamPackages(SeamComponentsViewTest.java:418)
> testHierarchicalSeamPackages(org.jboss.tools.seam.ui.test.view.SeamComponentsViewTest) Time elapsed: 1.565 sec <<< ERROR!
> java.lang.NullPointerException
> at org.jboss.tools.seam.ui.test.view.SeamComponentsViewTest.testHierarchicalSeamPackages(SeamComponentsViewTest.java:454)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list