[JBoss JIRA] (ARQGRA-337) Provide a warning when someone tries to initialize page fragment which is not private
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-337?page=com.atlassian.jira.plugin... ]
Lukáš Fryč updated ARQGRA-337:
------------------------------
Description:
It is not allowed to access Graphene-injected page abstractions directly through field references because then the object's calls can't be intercepted:
{code:java}
// not allowed
class Page {
@FindBy(...)
Tree tree;
}
{code}
The accessors should be used instead:
{code:java}
// allowed
class Page {
@FindBy(...)
private Tree tree;
public Tree tree() {
return tree;
}
}
{code}
We need to disallow that - either provide a warning or fail.
was:
It is not allowed to access Graphene-injected page abstractions directly through field references because then the object's calls can't be intercepted:
{code:java}
// not allowed
class Page {
Tree tree;
}
{code}
The accessors should be used instead:
We need to disallow that - either provide a warning or fail.
> Provide a warning when someone tries to initialize page fragment which is not private
> -------------------------------------------------------------------------------------
>
> Key: ARQGRA-337
> URL: https://issues.jboss.org/browse/ARQGRA-337
> Project: Arquillian Graphene
> Issue Type: Enhancement
> Reporter: Lukáš Fryč
>
> It is not allowed to access Graphene-injected page abstractions directly through field references because then the object's calls can't be intercepted:
> {code:java}
> // not allowed
> class Page {
> @FindBy(...)
> Tree tree;
> }
> {code}
> The accessors should be used instead:
> {code:java}
> // allowed
> class Page {
> @FindBy(...)
> private Tree tree;
> public Tree tree() {
> return tree;
> }
> }
> {code}
> We need to disallow that - either provide a warning or fail.
--
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, 7 months
[JBoss JIRA] (ARQGRA-337) Provide a warning when someone tries to initialize page fragment which is not private
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-337?page=com.atlassian.jira.plugin... ]
Lukáš Fryč updated ARQGRA-337:
------------------------------
Description:
It is not allowed to access Graphene-injected page abstractions directly through field references because then the object's calls can't be intercepted:
{code:java}
// not allowed
class Page {
Tree tree;
}
{code}
The accessors should be used instead:
We need to disallow that - either provide a warning or fail.
was:
It is not allowed to access Graphene-injected page abstractions directly through field references.
The accessors should be used instead.
We need to disallow that - either provide a warning or fail.
> Provide a warning when someone tries to initialize page fragment which is not private
> -------------------------------------------------------------------------------------
>
> Key: ARQGRA-337
> URL: https://issues.jboss.org/browse/ARQGRA-337
> Project: Arquillian Graphene
> Issue Type: Enhancement
> Reporter: Lukáš Fryč
>
> It is not allowed to access Graphene-injected page abstractions directly through field references because then the object's calls can't be intercepted:
> {code:java}
> // not allowed
> class Page {
> Tree tree;
> }
> {code}
> The accessors should be used instead:
> We need to disallow that - either provide a warning or fail.
--
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, 7 months
[JBoss JIRA] (ARQGRA-337) Provide a warning when someone tries to initialize page fragment which is not private
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-337?page=com.atlassian.jira.plugin... ]
Lukáš Fryč updated ARQGRA-337:
------------------------------
Description:
It is not allowed to access Graphene-injected page abstractions directly through field references.
The accessors should be used instead.
We need to disallow that - either provide a warning or fail.
was:
It is not allowed to access Graphene-injected page abstractions directly through field references.
The accessors should be used instead.
We need to disallow that - either provide warning or fail.
> Provide a warning when someone tries to initialize page fragment which is not private
> -------------------------------------------------------------------------------------
>
> Key: ARQGRA-337
> URL: https://issues.jboss.org/browse/ARQGRA-337
> Project: Arquillian Graphene
> Issue Type: Enhancement
> Reporter: Lukáš Fryč
>
> It is not allowed to access Graphene-injected page abstractions directly through field references.
> The accessors should be used instead.
> We need to disallow that - either provide a warning or fail.
--
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, 7 months