[arquillian-issues] [JBoss JIRA] (ARQGRA-136) Replace mockito dependency with cglib

Lukáš Fryč (JIRA) jira-events at lists.jboss.org
Tue Apr 10 08:25:47 EDT 2012


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

Lukáš Fryč updated ARQGRA-136:
------------------------------

    Fix Version/s: 2.0.0.Alpha2
                       (was: 1.0.0.Alpha2)

    
> Replace mockito dependency with cglib
> -------------------------------------
>
>                 Key: ARQGRA-136
>                 URL: https://issues.jboss.org/browse/ARQGRA-136
>             Project: Arquillian Graphene
>          Issue Type: Enhancement
>          Components: core
>    Affects Versions: 2.0.0.Alpha1
>            Reporter: Lukáš Fryč
>            Assignee: Lukáš Fryč
>             Fix For: 2.0.0.Alpha2
>
>
> I was using Javassist for creating proxies for classes,
> however it was calling constructor chain, which is not appropriate,
> since WebDriver impls does start the browser when using constructor.
> I have not find simple solution with Javassist, but cglib offers such solution,
> which I have found when looking into Mockito implementation, which apparently does not call constructors.
> I have used Mockito's internal {{ClassImposterizer}} since it has exactly the API I was looking for.
> Let's separate it and use cglib dependency only.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the arquillian-issues mailing list