[
https://issues.jboss.org/browse/ARQ-1430?page=com.atlassian.jira.plugin.s...
]
Lukáš Fryč updated ARQ-1430:
----------------------------
Fix Version/s: warp_1.0.0.Beta1
Warp does not take superclass into account when scanning for
@WarpTest
-----------------------------------------------------------------------
Key: ARQ-1430
URL:
https://issues.jboss.org/browse/ARQ-1430
Project: Arquillian
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Extension - Warp
Affects Versions: warp_1.0.0.Alpha3
Reporter: Aslak Knutsen
Fix For: warp_1.0.0.Beta1
*Given*
{code}
@WarpTest
@RunAsClient
public abstract class BaseRepositoryResourceBehavior<DOMAIN extends Identifiable>
{
...
}
@RunWith(Arquillian.class)
public class ConferenceResourceBehaviorTestCase extends
BaseRepositoryResourceBehavior<Conference> {
...
}
{code}
*Then*
{code}
java.lang.IllegalStateException: The Warp runtime isn't initialized. You need to
annotate a test class with @WarpTest in order to initialize Warp.
at org.jboss.arquillian.warp.Warp.initiate(Warp.java:41)
at
org.cedj.geekseek.web.rest.core.test.integration.resource.BaseRepositoryResourceBehavior.shouldHandleMissingResource(BaseRepositoryResourceBehavior.java:61)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
{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