[arquillian-issues] [JBoss JIRA] (ARQ-1792) allow deployment with default interfaces instead of static methods

Aslak Knutsen (JIRA) issues at jboss.org
Sat Jun 21 12:55:24 EDT 2014


    [ https://issues.jboss.org/browse/ARQ-1792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12978327#comment-12978327 ] 

Aslak Knutsen commented on ARQ-1792:
------------------------------------

Nice idea, but to my knowledge, default interface methods still need an instance of the Object to call it. The reason it's currently static is because we're creating the Deployment before we have a Instance of the TestClass available.

> allow deployment with default interfaces instead of static methods
> ------------------------------------------------------------------
>
>                 Key: ARQ-1792
>                 URL: https://issues.jboss.org/browse/ARQ-1792
>             Project: Arquillian
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>            Reporter: Caleb Cushing
>
> I'd like to be able to do an
> {code:java}
> @Deployment
> default  Archive createDeployment() { ... }
> {code}
> and then just apply the interface to my test class



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the arquillian-issues mailing list