[jbosstools-issues] [JBoss JIRA] (JBIDE-18053) Add Powermock to the target platform

Mickael Istria (JIRA) issues at jboss.org
Tue Aug 19 11:01:34 EDT 2014


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

Mickael Istria updated JBIDE-18053:
-----------------------------------

    Description: 
*Reason:*  To improving testing by allowing the stubbing of scenerios like "new File(path).exists()" which require bytecode modifications in order to accomplish.  Example of intended use: https://gist.github.com/jcantrill/fd83c27d3fc542742ec7
*License and owner:* Apache 2.0 / https://github.com/jayway
*Original p2 repo:* http://powermock-osgi.googlecode.com/svn/updateSite/1.5.4.1/
*JBoss mirror:* http://download.jboss.org/jbosstools/updates/requirements/powermock/1.5.4.1/
*Sources:* http://code.google.com/powermock-osgi
*Affected projects:* OpenShift tests
*Include in JBDS:* No
*Type of dependency:* testing
*List of bundles added/removed:*
{code}
+ <unit id="org.powermock.mockito-junit.feature.feature.group" version="1.5.4.1"/>
+ <unit id="org.objenesis" version="2.1.0"/>
+ <unit id="javassist" version="3.18.1.GA"/>
{code}

*p2diff report:*
{code}
mistria at mistria--rh:~/git/jbosstools-target-platforms/jbosstools/multiple$ ~/git/p2diff/org.eclipse.equinox.p2.example.p2diff.packaging/target/products/org.eclipse.equinox.p2.example.p2diff.product/linux/gtk/x86_64/p2diff http://download.jboss.org/jbosstools/targetplatforms/jbosstoolstarget/4.40.0.CR1-SNAPSHOT/ file:$(pwd)/target/jbosstools-multiple.target.repo/
> org.mockito.mockito-core [1.9.5] 
> javassist [3.18.1.GA] 
> org.powermock.powermock-api-support [1.5.4] 
> org.powermock.powermock-reflect [1.5.4] 
> org.powermock.mockito-junit.feature.feature.jar [1.5.4.1] 
> org.junit [4.11.0] 
> org.powermock.powermock-api-mockito [1.5.4] 
> org.powermock.powermock-module-junit4-common [1.5.4] 
> org.powermock.powermock-module-junit3 [1.5.4] 
> org.powermock.powermock-module-junit4 [1.5.4] 
> org.powermock.powermock-core [1.5.4] 
> org.hamcrest.hamcrest-core [1.3.0] 
> org.powermock.mockito-junit.feature.feature.group [1.5.4.1] 
> org.powermock.powermock-classloading-base [1.5.4] 
> org.powermock.powermock-module-junit4-legacy [1.5.4] 
> org.objenesis [2.1.0] 
=== Summary ===
file:/home/mistria/git/jbosstools-target-platforms/jbosstools/multiple/target/jbosstools-multiple.target.repo/ contains 16 unique IUs
{code}

  was:
Reason:  To improving testing by allowing the stubbing of scenerios like "new File(path).exists()" which require bytecode modifications in order to accomplish.  Example of intended use: https://gist.github.com/jcantrill/fd83c27d3fc542742ec7

  License and owner:  Apache 2.0 / https://github.com/jayway

  Original p2 repo: http://powermock-osgi.googlecode.com/svn/updateSite/1.5.4.1/

  JBoss mirror: http://download.jboss.org/jbosstools/updates/requirements/powermock/1.5.4.1/

  Sources: Unknown

  Affected projects:

  Include in JBDS: *No*

  Type of dependency: testing

  List of bundles added/removed:

{code}
+ <unit id="org.powermock.mockito-junit.feature.feature.group" version="1.5.4.1"/>
+ <unit id="org.objenesis" version="2.1.0"/>
+ <unit id="javassist" version="3.18.1.GA"/>
{code}

  If applicable:

    non-p2 repository:

    non-p2 ids:



> Add Powermock to the target platform
> ------------------------------------
>
>                 Key: JBIDE-18053
>                 URL: https://issues.jboss.org/browse/JBIDE-18053
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: build
>    Affects Versions: 4.2.x
>            Reporter: Jeff Cantrill
>            Assignee: Nick Boldt
>             Fix For: 4.2.0.CR1
>
>
> *Reason:*  To improving testing by allowing the stubbing of scenerios like "new File(path).exists()" which require bytecode modifications in order to accomplish.  Example of intended use: https://gist.github.com/jcantrill/fd83c27d3fc542742ec7
> *License and owner:* Apache 2.0 / https://github.com/jayway
> *Original p2 repo:* http://powermock-osgi.googlecode.com/svn/updateSite/1.5.4.1/
> *JBoss mirror:* http://download.jboss.org/jbosstools/updates/requirements/powermock/1.5.4.1/
> *Sources:* http://code.google.com/powermock-osgi
> *Affected projects:* OpenShift tests
> *Include in JBDS:* No
> *Type of dependency:* testing
> *List of bundles added/removed:*
> {code}
> + <unit id="org.powermock.mockito-junit.feature.feature.group" version="1.5.4.1"/>
> + <unit id="org.objenesis" version="2.1.0"/>
> + <unit id="javassist" version="3.18.1.GA"/>
> {code}
> *p2diff report:*
> {code}
> mistria at mistria--rh:~/git/jbosstools-target-platforms/jbosstools/multiple$ ~/git/p2diff/org.eclipse.equinox.p2.example.p2diff.packaging/target/products/org.eclipse.equinox.p2.example.p2diff.product/linux/gtk/x86_64/p2diff http://download.jboss.org/jbosstools/targetplatforms/jbosstoolstarget/4.40.0.CR1-SNAPSHOT/ file:$(pwd)/target/jbosstools-multiple.target.repo/
> > org.mockito.mockito-core [1.9.5] 
> > javassist [3.18.1.GA] 
> > org.powermock.powermock-api-support [1.5.4] 
> > org.powermock.powermock-reflect [1.5.4] 
> > org.powermock.mockito-junit.feature.feature.jar [1.5.4.1] 
> > org.junit [4.11.0] 
> > org.powermock.powermock-api-mockito [1.5.4] 
> > org.powermock.powermock-module-junit4-common [1.5.4] 
> > org.powermock.powermock-module-junit3 [1.5.4] 
> > org.powermock.powermock-module-junit4 [1.5.4] 
> > org.powermock.powermock-core [1.5.4] 
> > org.hamcrest.hamcrest-core [1.3.0] 
> > org.powermock.mockito-junit.feature.feature.group [1.5.4.1] 
> > org.powermock.powermock-classloading-base [1.5.4] 
> > org.powermock.powermock-module-junit4-legacy [1.5.4] 
> > org.objenesis [2.1.0] 
> === Summary ===
> file:/home/mistria/git/jbosstools-target-platforms/jbosstools/multiple/target/jbosstools-multiple.target.repo/ contains 16 unique IUs
> {code}



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


More information about the jbosstools-issues mailing list