]
Mickael Istria commented on JBIDE-18053:
----------------------------------------
Actually [~phantomjinx] told me yesterday that they don't have big interest in the
patched mockito version now, so that it would be ok for them to use the one from Orbit.
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:*
https://code.google.com/p/powermock-osgi/ ,
http://powermock-osgi.googlecode.com/svn/trunk/
*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@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.4...
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.powermock-api-mockito [1.5.4]
> org.powermock.powermock-module-junit4-common [1.5.4]
> org.powermock.powermock-module-junit4 [1.5.4]
> org.powermock.powermock-core [1.5.4]
> org.objenesis [2.1.0]
=== Summary ===
file:/home/mistria/git/jbosstools-target-platforms/jbosstools/multiple/target/jbosstools-multiple.target.repo/
contains 9 unique IUs
{code}