[arquillian-issues] [JBoss JIRA] (ARQGRA-249) Negation in fluent API is not compilable

Jan Papousek (JIRA) jira-events at lists.jboss.org
Thu Jan 3 07:39:08 EST 2013


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

Jan Papousek resolved ARQGRA-249.
---------------------------------

    Resolution: Done


There is a strange behaviour in resolving types in Java, so I've replaced

{code}
public static WebDriverWait wait...(...) {
...
}
{code} 

by

{code}
public static WebDriverWait<Void> wait...(...) {
...
}
{code}
                
> Negation in fluent API is not compilable
> ----------------------------------------
>
>                 Key: ARQGRA-249
>                 URL: https://issues.jboss.org/browse/ARQGRA-249
>             Project: Arquillian Graphene
>          Issue Type: Bug
>    Affects Versions: 2.0.0.Alpha3
>            Reporter: Lukáš Fryč
>            Assignee: Jan Papousek
>             Fix For: 2.0.0.Alpha3
>
>
> This code is compilable:
> {code:java}
> waitGui().until().element(suggestionList).is().visible();
> {code}
> But following isn't:
> {code:java}
> waitGui().until().element(suggestionList).is().not().visible();
> {code}
> {code}
> java version "1.6.0_33"
> Java(TM) SE Runtime Environment (build 1.6.0_33-b04)
> Java HotSpot(TM) 64-Bit Server VM (build 20.8-b03, mixed mode)
> {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 arquillian-issues mailing list