[arquillian-issues] [JBoss JIRA] (ARQ-1430) Warp does not take superclass into account when scanning for @WarpTest

Lukáš Fryč (JIRA) jira-events at lists.jboss.org
Fri Oct 11 07:31:02 EDT 2013


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

Lukáš Fryč closed ARQ-1430.
---------------------------


    
> 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
>            Assignee: Lukáš Fryč
>            Priority: Minor
>             Fix For: warp_1.0.0.Alpha4
>
>   Original Estimate: 1 hour
>  Remaining Estimate: 1 hour
>
> *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



More information about the arquillian-issues mailing list