[JBoss JIRA] (ARQGRA-424) Graphene is not able to find ParametrizedType deeper in class hierarchy
by Petr Mensik (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-424?page=com.atlassian.jira.plugin... ]
Petr Mensik commented on ARQGRA-424:
------------------------------------
I have added link to the pull request.
> Graphene is not able to find ParametrizedType deeper in class hierarchy
> -----------------------------------------------------------------------
>
> Key: ARQGRA-424
> URL: https://issues.jboss.org/browse/ARQGRA-424
> Project: Arquillian Graphene
> Issue Type: Bug
> Affects Versions: 2.0.1.Final
> Reporter: Petr Mensik
>
> I ran into this bug when I tried to to have class inheritance like this
> {code}public class AbstractWebDriverTest<P extends AbstractPage> extends Arquillian { }
> public class AbstractLanguageTest extends AbstractWebDriverTest<HomePage> { }
>
> public class TestChangeLanguageWithAllAcounts extends AbstractLanguageTest { }
> {code}
> Code like this will throw an {{java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.reflect.ParameterizedType}} which is caused by the method {{AbstractSearchContextEnricher#getSuperClassActualTypeArguments}}. Graphene is only looking for generic parameters in the parent class and not in the all classes in the hierarchy, so this line will give you exception in case of above example.
> {code}Type[] actualTypeArguemnts = ((ParameterizedType) testCase.getClass().getGenericSuperclass()).getActualTypeArguments();{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
12 years, 1 month
[JBoss JIRA] (ARQGRA-424) Graphene is not able to find ParametrizedType deeper in class hierarchy
by Petr Mensik (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-424?page=com.atlassian.jira.plugin... ]
Petr Mensik updated ARQGRA-424:
-------------------------------
Git Pull Request: https://github.com/arquillian/arquillian-graphene/pull/97
> Graphene is not able to find ParametrizedType deeper in class hierarchy
> -----------------------------------------------------------------------
>
> Key: ARQGRA-424
> URL: https://issues.jboss.org/browse/ARQGRA-424
> Project: Arquillian Graphene
> Issue Type: Bug
> Affects Versions: 2.0.1.Final
> Reporter: Petr Mensik
>
> I ran into this bug when I tried to to have class inheritance like this
> {code}public class AbstractWebDriverTest<P extends AbstractPage> extends Arquillian { }
> public class AbstractLanguageTest extends AbstractWebDriverTest<HomePage> { }
>
> public class TestChangeLanguageWithAllAcounts extends AbstractLanguageTest { }
> {code}
> Code like this will throw an {{java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.reflect.ParameterizedType}} which is caused by the method {{AbstractSearchContextEnricher#getSuperClassActualTypeArguments}}. Graphene is only looking for generic parameters in the parent class and not in the all classes in the hierarchy, so this line will give you exception in case of above example.
> {code}Type[] actualTypeArguemnts = ((ParameterizedType) testCase.getClass().getGenericSuperclass()).getActualTypeArguments();{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
12 years, 1 month
[JBoss JIRA] (ARQGRA-424) Graphene is not able to find ParametrizedType deeper in class hierarchy
by Petr Mensik (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-424?page=com.atlassian.jira.plugin... ]
Petr Mensik updated ARQGRA-424:
-------------------------------
Description:
I ran into this bug when I tried to to have class inheritance like this
{code}public class AbstractWebDriverTest<P extends AbstractPage> extends Arquillian { }
public class AbstractLanguageTest extends AbstractWebDriverTest<HomePage> { }
public class TestChangeLanguageWithAllAcounts extends AbstractLanguageTest { }
{code}
Code like this will throw an {{java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.reflect.ParameterizedType}} which is caused by the method {{AbstractSearchContextEnricher#getSuperClassActualTypeArguments}}. Graphene is only looking for generic parameters in the parent class and not in the all classes in the hierarchy, so this line will give you exception in case of above example.
{code}Type[] actualTypeArguemnts = ((ParameterizedType) testCase.getClass().getGenericSuperclass()).getActualTypeArguments();{code}
was:
I ran into this bug when I tried to to have class inheritance like this
{code}public class AbstractWebDriverTest<P extends AbstractPage> extends Arquillian { }
public class AbstractLanguageTest extends AbstractWebDriverTest<HomePage> { }
public class TestChangeLanguageWithAllAcounts extends AbstractLanguageTest { }
{code}
Code like this will throw an java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.reflect.ParameterizedType which is caused by the method {{AbstractSearchContextEnricher#getSuperClassActualTypeArguments}}. Graphene is only looking for generic parameters in the parent class and not in all class in the hierarchy, so this line will give you exception in case of above example.
{code}Type[] actualTypeArguemnts = ((ParameterizedType) testCase.getClass().getGenericSuperclass()).getActualTypeArguments();{code}
> Graphene is not able to find ParametrizedType deeper in class hierarchy
> -----------------------------------------------------------------------
>
> Key: ARQGRA-424
> URL: https://issues.jboss.org/browse/ARQGRA-424
> Project: Arquillian Graphene
> Issue Type: Bug
> Affects Versions: 2.0.1.Final
> Reporter: Petr Mensik
>
> I ran into this bug when I tried to to have class inheritance like this
> {code}public class AbstractWebDriverTest<P extends AbstractPage> extends Arquillian { }
> public class AbstractLanguageTest extends AbstractWebDriverTest<HomePage> { }
>
> public class TestChangeLanguageWithAllAcounts extends AbstractLanguageTest { }
> {code}
> Code like this will throw an {{java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.reflect.ParameterizedType}} which is caused by the method {{AbstractSearchContextEnricher#getSuperClassActualTypeArguments}}. Graphene is only looking for generic parameters in the parent class and not in the all classes in the hierarchy, so this line will give you exception in case of above example.
> {code}Type[] actualTypeArguemnts = ((ParameterizedType) testCase.getClass().getGenericSuperclass()).getActualTypeArguments();{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
12 years, 1 month
[JBoss JIRA] (ARQGRA-424) Graphene is not able to find ParametrizedType deeper in class hierarchy
by Petr Mensik (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-424?page=com.atlassian.jira.plugin... ]
Petr Mensik commented on ARQGRA-424:
------------------------------------
I am working on that right now:-)
> Graphene is not able to find ParametrizedType deeper in class hierarchy
> -----------------------------------------------------------------------
>
> Key: ARQGRA-424
> URL: https://issues.jboss.org/browse/ARQGRA-424
> Project: Arquillian Graphene
> Issue Type: Bug
> Affects Versions: 2.0.1.Final
> Reporter: Petr Mensik
>
> I ran into this bug when I tried to to have class inheritance like this
> {code}public class AbstractWebDriverTest<P extends AbstractPage> extends Arquillian { }
> public class AbstractLanguageTest extends AbstractWebDriverTest<HomePage> { }
>
> public class TestChangeLanguageWithAllAcounts extends AbstractLanguageTest { }
> {code}
> Code like this will throw an java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.reflect.ParameterizedType which is caused by the method {{AbstractSearchContextEnricher#getSuperClassActualTypeArguments}}. Graphene is only looking for generic parameters in the parent class and not in all class in the hierarchy, so this line will give you exception in case of above example.
> {code}Type[] actualTypeArguemnts = ((ParameterizedType) testCase.getClass().getGenericSuperclass()).getActualTypeArguments();{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
12 years, 1 month
[JBoss JIRA] (ARQGRA-424) Graphene is not able to find ParametrizedType deeper in class hierarchy
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-424?page=com.atlassian.jira.plugin... ]
Lukáš Fryč commented on ARQGRA-424:
-----------------------------------
[~pmensik] any chance you could put together a fix?
> Graphene is not able to find ParametrizedType deeper in class hierarchy
> -----------------------------------------------------------------------
>
> Key: ARQGRA-424
> URL: https://issues.jboss.org/browse/ARQGRA-424
> Project: Arquillian Graphene
> Issue Type: Bug
> Affects Versions: 2.0.1.Final
> Reporter: Petr Mensik
>
> I ran into this bug when I tried to to have class inheritance like this
> {code}public class AbstractWebDriverTest<P extends AbstractPage> extends Arquillian { }
> public class AbstractLanguageTest extends AbstractWebDriverTest<HomePage> { }
>
> public class TestChangeLanguageWithAllAcounts extends AbstractLanguageTest { }
> {code}
> Code like this will throw an java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.reflect.ParameterizedType which is caused by the method {{AbstractSearchContextEnricher#getSuperClassActualTypeArguments}}. Graphene is only looking for generic parameters in the parent class and not in all class in the hierarchy, so this line will give you exception in case of above example.
> {code}Type[] actualTypeArguemnts = ((ParameterizedType) testCase.getClass().getGenericSuperclass()).getActualTypeArguments();{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
12 years, 1 month
[JBoss JIRA] (ARQGRA-424) Graphene is not able to find ParametrizedType deeper in class hierarchy
by Petr Mensik (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-424?page=com.atlassian.jira.plugin... ]
Petr Mensik updated ARQGRA-424:
-------------------------------
Description:
I ran into this bug when I tried to to have class inheritance like this
{code} public class AbstractWebDriverTest<P extends AbstractPage> extends Arquillian { }{code}
public class AbstractLanguageTest extends AbstractWebDriverTest<HomePage> { }
public class TestChangeLanguageWithAllAcounts extends AbstractLanguageTest { }
Code like this will throw an java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.reflect.ParameterizedType which is caused by the method getSuperClassActualTypeArguments in the AbstractSearchContextEnricher. Graphene is only looking for generic parameters in the parent class and not in all class in the hierarchy, so this line will give you exception in case of above example.
Type[] actualTypeArguemnts = ((ParameterizedType) testCase.getClass().getGenericSuperclass()).getActualTypeArguments();
was:
I ran into this bug when I tried to to have class inheritance like this
public class AbstractWebDriverTest<P extends AbstractPage> extends Arquillian { }
public class AbstractLanguageTest extends AbstractWebDriverTest<HomePage> { }
public class TestChangeLanguageWithAllAcounts extends AbstractLanguageTest { }
Code like this will throw an java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.reflect.ParameterizedType which is caused by the method getSuperClassActualTypeArguments in the AbstractSearchContextEnricher. Graphene is only looking for generic parameters in the parent class and not in all class in the hierarchy, so this line will give you exception in case of above example.
Type[] actualTypeArguemnts = ((ParameterizedType) testCase.getClass().getGenericSuperclass()).getActualTypeArguments();
> Graphene is not able to find ParametrizedType deeper in class hierarchy
> -----------------------------------------------------------------------
>
> Key: ARQGRA-424
> URL: https://issues.jboss.org/browse/ARQGRA-424
> Project: Arquillian Graphene
> Issue Type: Bug
> Affects Versions: 2.0.1.Final
> Reporter: Petr Mensik
>
> I ran into this bug when I tried to to have class inheritance like this
> {code} public class AbstractWebDriverTest<P extends AbstractPage> extends Arquillian { }{code}
> public class AbstractLanguageTest extends AbstractWebDriverTest<HomePage> { }
>
> public class TestChangeLanguageWithAllAcounts extends AbstractLanguageTest { }
> Code like this will throw an java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.reflect.ParameterizedType which is caused by the method getSuperClassActualTypeArguments in the AbstractSearchContextEnricher. Graphene is only looking for generic parameters in the parent class and not in all class in the hierarchy, so this line will give you exception in case of above example.
> Type[] actualTypeArguemnts = ((ParameterizedType) testCase.getClass().getGenericSuperclass()).getActualTypeArguments();
--
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
12 years, 1 month
[JBoss JIRA] (ARQGRA-424) Graphene is not able to find ParametrizedType deeper in class hierarchy
by Petr Mensik (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-424?page=com.atlassian.jira.plugin... ]
Petr Mensik updated ARQGRA-424:
-------------------------------
Description:
I ran into this bug when I tried to to have class inheritance like this
{code}public class AbstractWebDriverTest<P extends AbstractPage> extends Arquillian { }
public class AbstractLanguageTest extends AbstractWebDriverTest<HomePage> { }
public class TestChangeLanguageWithAllAcounts extends AbstractLanguageTest { }
{code}
Code like this will throw an java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.reflect.ParameterizedType which is caused by the method {{AbstractSearchContextEnricher#getSuperClassActualTypeArguments}}. Graphene is only looking for generic parameters in the parent class and not in all class in the hierarchy, so this line will give you exception in case of above example.
{code}Type[] actualTypeArguemnts = ((ParameterizedType) testCase.getClass().getGenericSuperclass()).getActualTypeArguments();{code}
was:
I ran into this bug when I tried to to have class inheritance like this
{code} public class AbstractWebDriverTest<P extends AbstractPage> extends Arquillian { }
public class AbstractLanguageTest extends AbstractWebDriverTest<HomePage> { }
public class TestChangeLanguageWithAllAcounts extends AbstractLanguageTest { }
{code}
Code like this will throw an java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.reflect.ParameterizedType which is caused by the method getSuperClassActualTypeArguments in the AbstractSearchContextEnricher. Graphene is only looking for generic parameters in the parent class and not in all class in the hierarchy, so this line will give you exception in case of above example.
Type[] actualTypeArguemnts = ((ParameterizedType) testCase.getClass().getGenericSuperclass()).getActualTypeArguments();
> Graphene is not able to find ParametrizedType deeper in class hierarchy
> -----------------------------------------------------------------------
>
> Key: ARQGRA-424
> URL: https://issues.jboss.org/browse/ARQGRA-424
> Project: Arquillian Graphene
> Issue Type: Bug
> Affects Versions: 2.0.1.Final
> Reporter: Petr Mensik
>
> I ran into this bug when I tried to to have class inheritance like this
> {code}public class AbstractWebDriverTest<P extends AbstractPage> extends Arquillian { }
> public class AbstractLanguageTest extends AbstractWebDriverTest<HomePage> { }
>
> public class TestChangeLanguageWithAllAcounts extends AbstractLanguageTest { }
> {code}
> Code like this will throw an java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.reflect.ParameterizedType which is caused by the method {{AbstractSearchContextEnricher#getSuperClassActualTypeArguments}}. Graphene is only looking for generic parameters in the parent class and not in all class in the hierarchy, so this line will give you exception in case of above example.
> {code}Type[] actualTypeArguemnts = ((ParameterizedType) testCase.getClass().getGenericSuperclass()).getActualTypeArguments();{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
12 years, 1 month
[JBoss JIRA] (ARQGRA-424) Graphene is not able to find ParametrizedType deeper in class hierarchy
by Petr Mensik (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-424?page=com.atlassian.jira.plugin... ]
Petr Mensik updated ARQGRA-424:
-------------------------------
Description:
I ran into this bug when I tried to to have class inheritance like this
{code} public class AbstractWebDriverTest<P extends AbstractPage> extends Arquillian { }
public class AbstractLanguageTest extends AbstractWebDriverTest<HomePage> { }
public class TestChangeLanguageWithAllAcounts extends AbstractLanguageTest { }
{code}
Code like this will throw an java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.reflect.ParameterizedType which is caused by the method getSuperClassActualTypeArguments in the AbstractSearchContextEnricher. Graphene is only looking for generic parameters in the parent class and not in all class in the hierarchy, so this line will give you exception in case of above example.
Type[] actualTypeArguemnts = ((ParameterizedType) testCase.getClass().getGenericSuperclass()).getActualTypeArguments();
was:
I ran into this bug when I tried to to have class inheritance like this
{code} public class AbstractWebDriverTest<P extends AbstractPage> extends Arquillian { }{code}
public class AbstractLanguageTest extends AbstractWebDriverTest<HomePage> { }
public class TestChangeLanguageWithAllAcounts extends AbstractLanguageTest { }
Code like this will throw an java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.reflect.ParameterizedType which is caused by the method getSuperClassActualTypeArguments in the AbstractSearchContextEnricher. Graphene is only looking for generic parameters in the parent class and not in all class in the hierarchy, so this line will give you exception in case of above example.
Type[] actualTypeArguemnts = ((ParameterizedType) testCase.getClass().getGenericSuperclass()).getActualTypeArguments();
> Graphene is not able to find ParametrizedType deeper in class hierarchy
> -----------------------------------------------------------------------
>
> Key: ARQGRA-424
> URL: https://issues.jboss.org/browse/ARQGRA-424
> Project: Arquillian Graphene
> Issue Type: Bug
> Affects Versions: 2.0.1.Final
> Reporter: Petr Mensik
>
> I ran into this bug when I tried to to have class inheritance like this
> {code} public class AbstractWebDriverTest<P extends AbstractPage> extends Arquillian { }
> public class AbstractLanguageTest extends AbstractWebDriverTest<HomePage> { }
>
> public class TestChangeLanguageWithAllAcounts extends AbstractLanguageTest { }
> {code}
> Code like this will throw an java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.reflect.ParameterizedType which is caused by the method getSuperClassActualTypeArguments in the AbstractSearchContextEnricher. Graphene is only looking for generic parameters in the parent class and not in all class in the hierarchy, so this line will give you exception in case of above example.
> Type[] actualTypeArguemnts = ((ParameterizedType) testCase.getClass().getGenericSuperclass()).getActualTypeArguments();
--
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
12 years, 1 month
[JBoss JIRA] (ARQGRA-424) Graphene is not able to find ParametrizedType deeper in class hierarchy
by Petr Mensik (JIRA)
Petr Mensik created ARQGRA-424:
----------------------------------
Summary: Graphene is not able to find ParametrizedType deeper in class hierarchy
Key: ARQGRA-424
URL: https://issues.jboss.org/browse/ARQGRA-424
Project: Arquillian Graphene
Issue Type: Bug
Affects Versions: 2.0.1.Final
Reporter: Petr Mensik
I ran into this bug when I tried to to have class inheritance like this
public class AbstractWebDriverTest<P extends AbstractPage> extends Arquillian { }
public class AbstractLanguageTest extends AbstractWebDriverTest<HomePage> { }
public class TestChangeLanguageWithAllAcounts extends AbstractLanguageTest { }
Code like this will throw an java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.reflect.ParameterizedType which is caused by the method getSuperClassActualTypeArguments in the AbstractSearchContextEnricher. Graphene is only looking for generic parameters in the parent class and not in all class in the hierarchy, so this line will give you exception in case of above example.
Type[] actualTypeArguemnts = ((ParameterizedType) testCase.getClass().getGenericSuperclass()).getActualTypeArguments();
--
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
12 years, 1 month
[JBoss JIRA] (ARQ-1534) There is no way how to set server port of Android Debug Bridge
by Stefan Miklosovic (JIRA)
[ https://issues.jboss.org/browse/ARQ-1534?page=com.atlassian.jira.plugin.s... ]
Stefan Miklosovic commented on ARQ-1534:
----------------------------------------
It was (finally) included in ddmlib 22.7.0 when it was merged. I gladly close this. By default, port is set to 5038. System default is 5037 so started test will not polute eclipse logger anymore.
> There is no way how to set server port of Android Debug Bridge
> --------------------------------------------------------------
>
> Key: ARQ-1534
> URL: https://issues.jboss.org/browse/ARQ-1534
> Project: Arquillian
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Extension - Droidium
> Affects Versions: droidium_1.0.0.Alpha2
> Reporter: Karel Piwko
> Assignee: Stefan Miklosovic
>
> *Given*:
> I have Android tooling installed in Eclipse/JBDS.
> *When:*
> I use Droidium in tests fro IDE.
> *Expect*:
> No having any errors in DDMS output in IDE.
> *Additional information*:
> It looks like that the problem is that Droidium does not allow to set android bridge server port and hence DDMS is already connected to given port. This leads to various errors logged, as DDMS is not prepared to handle external process changing it's environment on the fly.
> See AndroidDebugBridge.determineAndValidateAdbPort() method for more details. While Drodium allows you to change adbPort for running emulator, it always runs the bridge on default port 5037.
> We need a way how to change this server port in Droidium configuration.
--
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
12 years, 1 month