[
https://issues.jboss.org/browse/JBIDE-19836?page=com.atlassian.jira.plugi...
]
Nick Boldt commented on JBIDE-19836:
------------------------------------
In M6, we used this Orbit, which included JUnit 3.8 & 4.11 bundles:
http://download.jboss.org/jbosstools/updates/requirements/orbit/S20150316...
In M7, we used this Orbit, which replaced JUnit 3.8 with 4.12:
http://download.jboss.org/jbosstools/updates/requirements/orbit/S20150428...
So... when it vanished, the target platform "make the version numbers happy"
script replaced the 3.8 plugin with the 4.12 plugin, and therefore it was listed TWICE
with the same number, instead of having two different versions included. I removed the
duplicate entry.
We could revert to including JUnit 3.8 in the TP, but I figured this might be the time to
evolve to using only JUnit 4.
Migrate tests to use JUnit 4.12.0, not 3.8
------------------------------------------
Key: JBIDE-19836
URL:
https://issues.jboss.org/browse/JBIDE-19836
Project: Tools (JBoss Tools)
Issue Type: Sub-task
Components: build
Reporter: Nick Boldt
Assignee: Nick Boldt
Priority: Blocker
Fix For: 4.3.0.Beta1
The following files require JUnit 3.8.1 or 3.8.2, which are no longer in the Beta1 target
platforms for JBT/JBDS (since Mars M7).
{code}
jbosstools-base/common/plugins/org.jboss.tools.common.text.xml/META-INF/MANIFEST.MF
jbosstools-base/common/tests/org.jboss.tools.common.base.test/META-INF/MANIFEST.MF
jbosstools-base/common/tests/org.jboss.tools.common.model.ui.test/META-INF/MANIFEST.MF
jbosstools-base/common/tests/org.jboss.tools.common.text.ext.test/META-INF/MANIFEST.MF
jbosstools-bpel/tests/org.jboss.tools.bpel.ui.test/META-INF/MANIFEST.MF
jbosstools-forge/tests/org.jboss.tools.forge.core.test/META-INF/MANIFEST.MF
jbosstools-forge/tests/org.jboss.tools.forge.ui.test/META-INF/MANIFEST.MF
jbosstools-hibernate/tests/org.hibernate.eclipse.console.test/META-INF/MANIFEST.MF
jbosstools-hibernate/tests/org.hibernate.eclipse.jdt.ui.test/META-INF/MANIFEST.MF
jbosstools-hibernate/tests/org.jboss.tools.hibernate.jpt.core.test/META-INF/MANIFEST.MF
jbosstools-hibernate/tests/org.jboss.tools.hibernate.ui.test/META-INF/MANIFEST.MF
jbosstools-javaee/cdi/tests/org.jboss.tools.cdi.text.ext.test/META-INF/MANIFEST.MF
jbosstools-javaee/jsf/tests/org.jboss.tools.jsf.vpe.jstl.test/META-INF/MANIFEST.MF
jbosstools-javaee/seam/tests/org.jboss.tools.seam.base.test/META-INF/MANIFEST.MF
jbosstools-jst/tests/org.jboss.tools.jst.jsp.base.test/META-INF/MANIFEST.MF
jbosstools-portlet/tests/org.jboss.tools.portlet.core.test/META-INF/MANIFEST.MF
jbosstools-vpe/tests/org.jboss.tools.vpe.base.test/META-INF/MANIFEST.MF
jbosstools-base/common/features/org.jboss.tools.common.all.test.feature/feature.xml
jbosstools-bpel/features/org.jboss.tools.bpel.test.feature/feature.xml
jbosstools-javaee/cdi/features/org.jboss.tools.cdi.deltaspike.test.feature/feature.xml
jbosstools-javaee/cdi/features/org.jboss.tools.cdi.seam.test.feature/feature.xml
jbosstools-javaee/cdi/features/org.jboss.tools.cdi.test.feature/feature.xml
jbosstools-central/maven/tests/org.jboss.tools.maven.configurators.tests/projects/endorsed_lib/endorsing/pom.xml
jbosstools-central/maven/tests/org.jboss.tools.maven.configurators.tests/projects/endorsed_lib/endorsing_quotehack/pom.xml
jbosstools-central/maven/tests/org.jboss.tools.maven.configurators.tests/projects/jboss-sar/jboss-sar-2/pom.xml
jbosstools-central/maven/tests/org.jboss.tools.maven.configurators.tests/projects/jboss-sar/jboss-sar-3/pom.xml
jbosstools-javaee/cdi/tests/org.jboss.tools.cdi.core.test/pom.xml
jbosstools-javaee/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE5460TestProject/pom.xml
jbosstools-vpe/tests/org.jboss.tools.vpe.spring.test/resources/SpringTest/pom.xml
{code}
Can these tests be updated to use JUnit 4.12.0?
Currently, the coretests build [1] is failing with this error:
{code}
[ERROR] Software being installed: org.jboss.tools.site.core.tests
raw:4.3.0.'SNAPSHOT'/format(n[.n=0;[.n=0;[-S]]]):4.3.0-SNAPSHOT
[ERROR] Missing requirement: org.jboss.tools.batch.test.feature.feature.group
1.7.0.Beta1-v20150520-2011-B779 requires 'org.junit [3.8.1,4.0.0)' but it could
not be found
{code}
[1]
https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-build-sit...
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)