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

Lukáš Fryč (JIRA) jira-events at lists.jboss.org
Fri Apr 6 06:32:47 EDT 2012


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

             Summary: 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: 1.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