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

Jeff Cantrill (JIRA) issues at jboss.org
Mon Aug 25 08:20:59 EDT 2014


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

Jeff Cantrill commented on JBIDE-18053:
---------------------------------------

After removing several duplicate dependencies at the request of [~mickael_istria], re-built target platform and re-ran tests with success:

{noformat}
[INFO] 
[INFO] openshift.all ...................................... SUCCESS [  1.962 s]
[INFO] openshift.plugins .................................. SUCCESS [  0.005 s]
[INFO] org.jboss.tools.openshift.egit.core ................ SUCCESS [  2.796 s]
[INFO] org.jboss.tools.openshift.express.client ........... SUCCESS [  2.876 s]
[INFO] org.jboss.tools.openshift.express.core ............. SUCCESS [  1.324 s]
[INFO] org.jboss.tools.openshift.egit.ui .................. SUCCESS [  0.494 s]
[INFO] org.jboss.tools.openshift.express.ui ............... SUCCESS [  3.349 s]
[INFO] openshift.tests .................................... SUCCESS [  0.005 s]
[INFO] org.jboss.tools.openshift.egit.test ................ SUCCESS [ 20.062 s]
[INFO] org.jboss.tools.openshift.express.test ............. SUCCESS [ 18.035 s]
[INFO] openshift.features ................................. SUCCESS [  0.008 s]
[INFO] org.jboss.tools.openshift.egit.integration.feature . SUCCESS [  0.204 s]
[INFO] org.jboss.tools.openshift.express.feature .......... SUCCESS [  0.154 s]
[INFO] org.jboss.tools.openshift.egit.integration.test.feature SUCCESS [  0.064 s]
[INFO] org.jboss.tools.openshift.express.test.feature ..... SUCCESS [  0.102 s]
[INFO] openshift.site ..................................... SUCCESS [  2.904 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:16 min
[INFO] Finished at: 2014-08-25T08:05:37-04:00
[INFO] Final Memory: 117M/1427M
[INFO] ------------------------------------------------------------------------

{noformat}

> 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 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.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}



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jbosstools-issues mailing list