[
https://issues.jboss.org/browse/ARQGRA-445?page=com.atlassian.jira.plugin...
]
Lukáš Fryč commented on ARQGRA-445:
-----------------------------------
There parametrized test basis behavior could be potentially JDK-dependent, I have used
following configuration to run these tests:
{code}
Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
Maven home: /home/lfryc/Apps/apache-maven-3.0.4
Java version: 1.7.0_55, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.7.0.fc20.x86_64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.14.4-200.fc20.x86_64", arch:
"amd64", family: "unix"
{code}
Wrong classes are injected to PageObject injection points in abstract
test basis
--------------------------------------------------------------------------------
Key: ARQGRA-445
URL:
https://issues.jboss.org/browse/ARQGRA-445
Project: Arquillian Graphene
Issue Type: Bug
Affects Versions: 2.0.3.Final
Reporter: Lukáš Fryč
Fix For: 2.0.3.Final
These tests fails because wrong instances are injected into abstract test basis:
{code}
Results :
Tests in error:
testPageObjectWithGenericTypeIsInitialized2(org.jboss.arquillian.graphene.ftest.enricher.TestInitializingGenericPageObjects2):
org.jboss.arquillian.graphene.ftest.enricher.page.TestPage$$EnhancerByGraphene$$841cfb04
cannot be cast to org.jboss.arquillian.graphene.ftest.enricher.page.TestPage2
testPageObjectWithGenericTypeIsInitialized2(org.jboss.arquillian.graphene.ftest.enricher.TestInitializingGenericPageObjects1):
org.jboss.arquillian.graphene.ftest.enricher.page.TestPage$$EnhancerByGraphene$$841cfb04
cannot be cast to org.jboss.arquillian.graphene.ftest.enricher.page.TestPage2
testInitializingPageObjectsDeclaredAsInnerClassesGeneric(org.jboss.arquillian.graphene.ftest.enricher.TestInitializingGenericPageObjects3):
org.jboss.arquillian.graphene.ftest.enricher.page.TestPage$$EnhancerByGraphene$$841cfb04
cannot be cast to
org.jboss.arquillian.graphene.ftest.enricher.TestInitializingGenericPageObjects3$InnerTestPage
testInitializingPageObjectsDeclaredAsInnerClassesGeneric(org.jboss.arquillian.graphene.ftest.enricher.TestInitializingGenericPageObjects4):
org.jboss.arquillian.graphene.ftest.enricher.page.TestPage$$EnhancerByGraphene$$841cfb04
cannot be cast to
org.jboss.arquillian.graphene.ftest.enricher.TestInitializingGenericPageObjects4$InnerTestPage
{code}
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)