[richfaces-planning-issues] [JBoss JIRA] (RFPL-1729) look at test testMileageVinFilter for DataTableEdit more deeply

Juraj Huska (Commented) (JIRA) jira-events at lists.jboss.org
Wed Oct 19 07:53:45 EDT 2011


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

Juraj Huska commented on RFPL-1729:
-----------------------------------

There were calling twice next() method in one iteration, which caused that when there were odd number of rows then thrown exception.
                
> look at test testMileageVinFilter for DataTableEdit more deeply
> ---------------------------------------------------------------
>
>                 Key: RFPL-1729
>                 URL: https://issues.jboss.org/browse/RFPL-1729
>             Project: RichFaces Planning
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>         Environment: showcase tests
>            Reporter: Juraj Huska
>            Assignee: Juraj Huska
>
> This test is non deterministic, so change it to deterministic, since it is often failing with:
> {code}
> java.util.NoSuchElementException
> 	at org.jboss.arquillian.ajocado.locator.element.AbstractIterableLocator$ElementIterator.next(AbstractIterableLocator.java:115)
> 	at org.jboss.arquillian.ajocado.locator.element.AbstractIterableLocator$ElementIterator.next(AbstractIterableLocator.java:66)
> 	at org.richfaces.tests.showcase.dataTable.TestTableFiltering.checkWhetherAllRowsHaveCorrectMileageAndVin(TestTableFiltering.java:303)
> 	at org.richfaces.tests.showcase.dataTable.TestTableFiltering.testMileageVinFilter(TestTableFiltering.java:203)
> {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 richfaces-planning-issues mailing list