From 672552edd92d21afe8c04afafd8441dd41793366 Mon Sep 17 00:00:00 2001 From: Hannes Wellmann Date: Sat, 10 Sep 2022 18:09:12 +0200 Subject: [PATCH] Add integration test for tycho-apitools-plugin:verify mojo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Christoph Läubrich --- .../projects/api-tools/.mvn/maven.config | 1 + .../projects/api-tools/api-repo/category.xml | 5 + tycho-its/projects/api-tools/api-repo/pom.xml | 11 + .../projects/api-tools/bundle1/.classpath | 7 + .../api-tools/{bundle => bundle1}/.project | 2 +- .../{bundle => bundle1}/META-INF/MANIFEST.MF | 2 +- .../{bundle => bundle1}/build.properties | 0 .../api-tools/{bundle => bundle1}/pom.xml | 2 +- .../src/bundle/ApiInterface.java | 0 .../api-tools/bundle1/src/bundle/ClassA.java | 16 + .../bundle1/src/bundle/InterfaceB.java | 5 + .../projects/api-tools/bundle2/.classpath | 7 + tycho-its/projects/api-tools/bundle2/.project | 40 ++ .../api-tools/bundle2/META-INF/MANIFEST.MF | 8 + .../api-tools/bundle2/build.properties | 4 + tycho-its/projects/api-tools/bundle2/pom.xml | 11 + .../bundle2/src/bundle/ApiInterface2.java | 7 + tycho-its/projects/api-tools/pom.xml | 12 +- .../repositories/api-tools/artifacts.xml | 44 ++ tycho-its/repositories/api-tools/content.xml | 383 ++++++++++++++++++ tycho-its/repositories/api-tools/p2.index | 4 + .../api-bundle-1_0.0.1.202209240753.jar | Bin 0 -> 2685 bytes .../api-bundle-2_0.0.1.202209240753.jar | Bin 0 -> 2050 bytes .../tycho/test/apitools/ApiToolsTest.java | 38 +- .../tycho/test/baseline/BaselineMojoTest.java | 12 + 25 files changed, 613 insertions(+), 8 deletions(-) create mode 100644 tycho-its/projects/api-tools/.mvn/maven.config create mode 100644 tycho-its/projects/api-tools/api-repo/category.xml create mode 100644 tycho-its/projects/api-tools/api-repo/pom.xml create mode 100644 tycho-its/projects/api-tools/bundle1/.classpath rename tycho-its/projects/api-tools/{bundle => bundle1}/.project (97%) rename tycho-its/projects/api-tools/{bundle => bundle1}/META-INF/MANIFEST.MF (86%) rename tycho-its/projects/api-tools/{bundle => bundle1}/build.properties (100%) rename tycho-its/projects/api-tools/{bundle => bundle1}/pom.xml (87%) rename tycho-its/projects/api-tools/{bundle => bundle1}/src/bundle/ApiInterface.java (100%) create mode 100644 tycho-its/projects/api-tools/bundle1/src/bundle/ClassA.java create mode 100644 tycho-its/projects/api-tools/bundle1/src/bundle/InterfaceB.java create mode 100644 tycho-its/projects/api-tools/bundle2/.classpath create mode 100644 tycho-its/projects/api-tools/bundle2/.project create mode 100644 tycho-its/projects/api-tools/bundle2/META-INF/MANIFEST.MF create mode 100644 tycho-its/projects/api-tools/bundle2/build.properties create mode 100644 tycho-its/projects/api-tools/bundle2/pom.xml create mode 100644 tycho-its/projects/api-tools/bundle2/src/bundle/ApiInterface2.java create mode 100644 tycho-its/repositories/api-tools/artifacts.xml create mode 100644 tycho-its/repositories/api-tools/content.xml create mode 100644 tycho-its/repositories/api-tools/p2.index create mode 100644 tycho-its/repositories/api-tools/plugins/api-bundle-1_0.0.1.202209240753.jar create mode 100644 tycho-its/repositories/api-tools/plugins/api-bundle-2_0.0.1.202209240753.jar diff --git a/tycho-its/projects/api-tools/.mvn/maven.config b/tycho-its/projects/api-tools/.mvn/maven.config new file mode 100644 index 0000000000..70ac38db10 --- /dev/null +++ b/tycho-its/projects/api-tools/.mvn/maven.config @@ -0,0 +1 @@ +-Dtycho-version=4.0.0-SNAPSHOT diff --git a/tycho-its/projects/api-tools/api-repo/category.xml b/tycho-its/projects/api-tools/api-repo/category.xml new file mode 100644 index 0000000000..d037ff99b3 --- /dev/null +++ b/tycho-its/projects/api-tools/api-repo/category.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/tycho-its/projects/api-tools/api-repo/pom.xml b/tycho-its/projects/api-tools/api-repo/pom.xml new file mode 100644 index 0000000000..3c720caede --- /dev/null +++ b/tycho-its/projects/api-tools/api-repo/pom.xml @@ -0,0 +1,11 @@ + + + 4.0.0 + + org.eclipse.tycho.tycho-its + apitools-parent + 0.0.1-SNAPSHOT + + api-repo + eclipse-repository + diff --git a/tycho-its/projects/api-tools/bundle1/.classpath b/tycho-its/projects/api-tools/bundle1/.classpath new file mode 100644 index 0000000000..edc8895124 --- /dev/null +++ b/tycho-its/projects/api-tools/bundle1/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/tycho-its/projects/api-tools/bundle/.project b/tycho-its/projects/api-tools/bundle1/.project similarity index 97% rename from tycho-its/projects/api-tools/bundle/.project rename to tycho-its/projects/api-tools/bundle1/.project index bd99e4aed3..5056fa5fae 100644 --- a/tycho-its/projects/api-tools/bundle/.project +++ b/tycho-its/projects/api-tools/bundle1/.project @@ -1,6 +1,6 @@ - api-bundle + api-bundle-1 diff --git a/tycho-its/projects/api-tools/bundle/META-INF/MANIFEST.MF b/tycho-its/projects/api-tools/bundle1/META-INF/MANIFEST.MF similarity index 86% rename from tycho-its/projects/api-tools/bundle/META-INF/MANIFEST.MF rename to tycho-its/projects/api-tools/bundle1/META-INF/MANIFEST.MF index fdef0e8603..3f8f660016 100644 --- a/tycho-its/projects/api-tools/bundle/META-INF/MANIFEST.MF +++ b/tycho-its/projects/api-tools/bundle1/META-INF/MANIFEST.MF @@ -1,7 +1,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: Plugin with API -Bundle-SymbolicName: api-bundle +Bundle-SymbolicName: api-bundle-1 Bundle-Version: 0.0.1.qualifier Bundle-RequiredExecutionEnvironment: JavaSE-11 Export-Package: bundle diff --git a/tycho-its/projects/api-tools/bundle/build.properties b/tycho-its/projects/api-tools/bundle1/build.properties similarity index 100% rename from tycho-its/projects/api-tools/bundle/build.properties rename to tycho-its/projects/api-tools/bundle1/build.properties diff --git a/tycho-its/projects/api-tools/bundle/pom.xml b/tycho-its/projects/api-tools/bundle1/pom.xml similarity index 87% rename from tycho-its/projects/api-tools/bundle/pom.xml rename to tycho-its/projects/api-tools/bundle1/pom.xml index 736c9e7347..f97e48fd05 100644 --- a/tycho-its/projects/api-tools/bundle/pom.xml +++ b/tycho-its/projects/api-tools/bundle1/pom.xml @@ -6,6 +6,6 @@ apitools-parent 0.0.1-SNAPSHOT - api-bundle + api-bundle-1 eclipse-plugin diff --git a/tycho-its/projects/api-tools/bundle/src/bundle/ApiInterface.java b/tycho-its/projects/api-tools/bundle1/src/bundle/ApiInterface.java similarity index 100% rename from tycho-its/projects/api-tools/bundle/src/bundle/ApiInterface.java rename to tycho-its/projects/api-tools/bundle1/src/bundle/ApiInterface.java diff --git a/tycho-its/projects/api-tools/bundle1/src/bundle/ClassA.java b/tycho-its/projects/api-tools/bundle1/src/bundle/ClassA.java new file mode 100644 index 0000000000..471fe279f0 --- /dev/null +++ b/tycho-its/projects/api-tools/bundle1/src/bundle/ClassA.java @@ -0,0 +1,16 @@ +package bundle; + +import java.util.Collection; +import java.util.List; + +public class ClassA { + + public String getGreetings() { // originally getString() + return "Hello World"; + } + + public Collection getCollection() { // originally returned List + return List.of(); + } + +} diff --git a/tycho-its/projects/api-tools/bundle1/src/bundle/InterfaceB.java b/tycho-its/projects/api-tools/bundle1/src/bundle/InterfaceB.java new file mode 100644 index 0000000000..d376c17b7f --- /dev/null +++ b/tycho-its/projects/api-tools/bundle1/src/bundle/InterfaceB.java @@ -0,0 +1,5 @@ +package bundle; + +public interface InterfaceB { // originally named 'InterfaceA' + +} diff --git a/tycho-its/projects/api-tools/bundle2/.classpath b/tycho-its/projects/api-tools/bundle2/.classpath new file mode 100644 index 0000000000..8af7df3db4 --- /dev/null +++ b/tycho-its/projects/api-tools/bundle2/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/tycho-its/projects/api-tools/bundle2/.project b/tycho-its/projects/api-tools/bundle2/.project new file mode 100644 index 0000000000..e1eebbf381 --- /dev/null +++ b/tycho-its/projects/api-tools/bundle2/.project @@ -0,0 +1,40 @@ + + + api-bundle-2 + + + + + + org.eclipse.m2e.core.maven2Builder + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + org.eclipse.pde.api.tools.apiAnalysisBuilder + + + + + + org.eclipse.m2e.core.maven2Nature + org.eclipse.jdt.core.javanature + org.eclipse.pde.PluginNature + org.eclipse.pde.api.tools.apiAnalysisNature + + diff --git a/tycho-its/projects/api-tools/bundle2/META-INF/MANIFEST.MF b/tycho-its/projects/api-tools/bundle2/META-INF/MANIFEST.MF new file mode 100644 index 0000000000..79329a422c --- /dev/null +++ b/tycho-its/projects/api-tools/bundle2/META-INF/MANIFEST.MF @@ -0,0 +1,8 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: Plugin with API +Bundle-SymbolicName: api-bundle-2 +Bundle-Version: 0.0.1.qualifier +Require-Capability: osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=11))" +Export-Package: bundle +Automatic-Module-Name: bundle diff --git a/tycho-its/projects/api-tools/bundle2/build.properties b/tycho-its/projects/api-tools/bundle2/build.properties new file mode 100644 index 0000000000..12b49e3215 --- /dev/null +++ b/tycho-its/projects/api-tools/bundle2/build.properties @@ -0,0 +1,4 @@ +source.. = src/ +output.. = bin/ +bin.includes = .,\ + META-INF/ diff --git a/tycho-its/projects/api-tools/bundle2/pom.xml b/tycho-its/projects/api-tools/bundle2/pom.xml new file mode 100644 index 0000000000..f95c8d22f1 --- /dev/null +++ b/tycho-its/projects/api-tools/bundle2/pom.xml @@ -0,0 +1,11 @@ + + + 4.0.0 + + org.eclipse.tycho.tycho-its + apitools-parent + 0.0.1-SNAPSHOT + + api-bundle-2 + eclipse-plugin + diff --git a/tycho-its/projects/api-tools/bundle2/src/bundle/ApiInterface2.java b/tycho-its/projects/api-tools/bundle2/src/bundle/ApiInterface2.java new file mode 100644 index 0000000000..07dadfa1ab --- /dev/null +++ b/tycho-its/projects/api-tools/bundle2/src/bundle/ApiInterface2.java @@ -0,0 +1,7 @@ +package bundle; + +public interface ApiInterface2 { + + void sayHello(); + +} diff --git a/tycho-its/projects/api-tools/pom.xml b/tycho-its/projects/api-tools/pom.xml index 01748750ed..8d29a03cfe 100644 --- a/tycho-its/projects/api-tools/pom.xml +++ b/tycho-its/projects/api-tools/pom.xml @@ -8,11 +8,13 @@ - bundle + bundle1 + bundle2 - 4.0.0-SNAPSHOT https://download.eclipse.org/releases/2022-06/ + + https://download.eclipse.org/eclipse/updates/4.28-I-builds/ @@ -34,9 +36,13 @@ tycho-apitools-plugin ${tycho-version} + + ${eclipserun-repo} + - file:/home/christoph/git/laeubi/tycho/tycho-its/projects/api-tools/api-repo/target/repository + baseline + ${baselineRepo} diff --git a/tycho-its/repositories/api-tools/artifacts.xml b/tycho-its/repositories/api-tools/artifacts.xml new file mode 100644 index 0000000000..eb6a562902 --- /dev/null +++ b/tycho-its/repositories/api-tools/artifacts.xml @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tycho-its/repositories/api-tools/content.xml b/tycho-its/repositories/api-tools/content.xml new file mode 100644 index 0000000000..e38f6adb63 --- /dev/null +++ b/tycho-its/repositories/api-tools/content.xml @@ -0,0 +1,383 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + api-bundle-2 + + + + + + + + + + + Bundle-SymbolicName: api-bundle-2 Bundle-Version: 0.0.1.202209240753 + + + + + + + + + + + + + + + + + + + + + + + + + + + + api-bundle-1 + + + + + + + + + + + Bundle-SymbolicName: api-bundle-1 Bundle-Version: 0.0.1.202209240753 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tycho-its/repositories/api-tools/p2.index b/tycho-its/repositories/api-tools/p2.index new file mode 100644 index 0000000000..0e7d423d02 --- /dev/null +++ b/tycho-its/repositories/api-tools/p2.index @@ -0,0 +1,4 @@ +#Sat Sep 24 09:53:44 CEST 2022 +artifact.repository.factory.order=artifacts.xml,\! +version=1 +metadata.repository.factory.order=content.xml,\! diff --git a/tycho-its/repositories/api-tools/plugins/api-bundle-1_0.0.1.202209240753.jar b/tycho-its/repositories/api-tools/plugins/api-bundle-1_0.0.1.202209240753.jar new file mode 100644 index 0000000000000000000000000000000000000000..6623438c04198968682b5d6256c5ba16598c4ff3 GIT binary patch literal 2685 zcmWIWW@h1HVBlb2*y?8y%76qofoxyb5Jz24KR5jVpfVAlG7hk^Ev||w=Yi5@j0_Aw zQG_yIM?X(D*WeI6UpL#ngL#JxcpTnO{l)*Y(Ir#D`Sn^KTb`9G7F~L$W|(kME!KnU z&)=?HPhWli^M*}l?gz0S=D(yZqc=I7u=)LkgOT^Xo%gi^Ez?5d;xnAihduh6nxp)+ z?fsdl<;t%rb3f0DysVu6ZC#x5{;HgUMKm#s+qqIE#mtjd~)$h`4!1C-rn+iGFSFO+oZP%P3xW=y|YGs@#n_v z3)UCR)7QKHX-(HbUICBK$7asB_wRV+H*Qb>U=JsDU;reQ=B4DMfe_qopWSQN$vk7Ypy&Ia%1azbi}Lw%A7ehZft41 zXARug);;)hY0;CA?PunMxUo5=D1UL-byGsJK}*u1K`=u}n_0T!=m9>JnGzNZsOdBG zXpw<0Fl`z#F)#=tT znC%AF6q9Ff3EuA=E+t;qAfLKNS5z>qFy6Ai`uXeMkA)Ag_Hmss47qz_zE>XaQeoHW ztS@-J&iwo);?hUk*VpEL>`XHFbx1txz=EyT$!xU}K9!PEUZPJD4X)%o{5<=|$)^wJ zKK43yVMBAL@^L?nNp{k&UIn^v{+gfJzwk++Y0$zCwryd%lmF)$%>UMPBgJ6-&M5~! z)(V``%=Md-sGzE=!8Bi{zH+0`rA@9&gdR@(P~(17ap(MXjK5yHHP7pmeIvTz^oEb} zu?OvD@$7uixX^~{QNf}0E=AKU_b;A(ppfa8s*3;OuDbT5Myqb4#dGYdoj*?Pk~t;P zTas~LNyJQMjd0D$_F0lYZIrWnf1T#qy2a(H*cG-}Em=!%tPNQ-+w;Zy8*x`x=w-g( z?rjz+{lSbH`VqIboR0&BdJYhaBSIgZP@pk@NGWCDlyVT7QsBwN9alO*Nfvc2Rkjm? z%-q<3iH40MAtixzk`GS~T7vi`rpciKOb}wg1Yr+!61-f4WJP?r3nfz&e9>&^@@{qlZDs>eo8F4H*wSd39O#4{1=GdyY7G7 zqAz0)-_bas@y?l3F z#f^8Ia_4v+PF~Di_~Y8@O@apdL%unG@DKYr^-^4$>eOtt%{Y2uuJ zrcw|v;KP8}jlu{hD9SHLEh@=OE%w&YI_cx>qxaEgqp!}1E52H1y-#{xHGT5bOaGL< zE<@Kd@ujbqsy$B;6IuRhYKU6;6K9XRXC@`Zt=n{E(W5heY@(TMnQfi#CfFZuNZ|i3 z5T^%BHjGRn%-G9tP=yEq0t{~*K`eMOf@s5CK|=L0ENN6n)`nDF;6gF`UkgWPz{98T!pC_Uyi}&6;O?YF!(TO2BTy}^dLvCpM2t#fF4MB@Yd~tyi nWYE$J-7@sNiLfk^jWWv+IW@qW6=)U%12+&xFf%algVQts){Kd3 literal 0 HcmV?d00001 diff --git a/tycho-its/repositories/api-tools/plugins/api-bundle-2_0.0.1.202209240753.jar b/tycho-its/repositories/api-tools/plugins/api-bundle-2_0.0.1.202209240753.jar new file mode 100644 index 0000000000000000000000000000000000000000..425be79180e2db764db1edf654b3e5cc048670e3 GIT binary patch literal 2050 zcmWIWW@h1HVBlb2*y?8y%76qofoxyb5Jz24KR5jVpfVAlG7hjZKb5&!&q30R3=BX~ zgfd@8KTkK;;1E4uH`jj0>}Cgn*7r^S6Hh9>NSuCk3$JN~fnqzGPSC>df$C`|Ufn9) zdUpT%gID72e}DGamrHl<#_fNEef@X!Mkp+KEyL4vwCjDopm*YtX{yWiTQ zMtP6WKOwP|_Yy7V=Dv@N)_n5v@J@}xtb3iC1y5fI2tK{<>^6Uz9Q@QZ2f-X zk#Nrh`P%$BOA7^l{5w_JXFu0$T6#d-!g+0Hlw;H-*W?`tIvE_xd)mDIMrj=*C}6OM zA3HE$l1lSZa#F#ehg}gra_HqImZj$5QLK%rIKL=eFEu$Qv!FOtucR_LBOgNQW|kD= zG01{6gAxlebs;{{H9|`X`=%cHUja0&8;GTV80ulif=ti6lGLKK#N<>Xz2uz4;$rKs z`Pc2(*w~`k{L0wW+}I{AxwL1>oRHe%O+M%MOuDjY%aJD`%4KX~ZfuQfj%;%IJLkxr zlG^`E)?9fa!yTc zgO{X3gJ6b=HnVic(F1%cGbJn-P*d*hhr*XsfvHxEiGjhMf>0>P&(*8Q&FP(Z-v6+I z$np1owWZ!UnA^^1+gM>ZD<{u$`NuAi=q;>4FZlmgYvx#q^A{;pzOTJE{r%&KU$2+=;Z?NfYVV6S$1i3EsQd`eYvXy{QeCym^x5dEbK;7x)>-e9o>xsDJ@wK*rLW7-^-O%} z>!oVXQ^Z7;znU7Nmj1-qh2oPX+>j+{Y6_g-txQj}tK87WY>d4xV3Ql|$gUS>L09ot+OvvyO2DfWL zWeh@7Do_*LwXhNgw`Ne8gU~z)Q#1Y&2)DtYG6-StZPE-zE0Iux9KB3}*|Vh45SZ(6 zmr#&^M?@WZS%EO;A HtRNl$)scy+ literal 0 HcmV?d00001 diff --git a/tycho-its/src/test/java/org/eclipse/tycho/test/apitools/ApiToolsTest.java b/tycho-its/src/test/java/org/eclipse/tycho/test/apitools/ApiToolsTest.java index 1b909a0fc9..13a6f906a5 100644 --- a/tycho-its/src/test/java/org/eclipse/tycho/test/apitools/ApiToolsTest.java +++ b/tycho-its/src/test/java/org/eclipse/tycho/test/apitools/ApiToolsTest.java @@ -1,13 +1,29 @@ +/******************************************************************************* + * Copyright (c) 2022, 2023 Christoph Läubrich and others. + * This program and the accompanying materials + * are made available under the terms of the Eclipse Public License 2.0 + * which accompanies this distribution, and is available at + * https://www.eclipse.org/legal/epl-2.0/ + * + * SPDX-License-Identifier: EPL-2.0 + * + * Contributors: + * Christoph Läubrich - initial API and implementation + * Hannes Wellman - add verify test case + *******************************************************************************/ package org.eclipse.tycho.test.apitools; import static org.junit.Assert.assertTrue; +import static org.junit.Assert.fail; import static org.junit.jupiter.api.Assertions.assertEquals; import java.io.File; import java.util.List; +import org.apache.maven.it.VerificationException; import org.apache.maven.it.Verifier; import org.eclipse.tycho.test.AbstractTychoIntegrationTest; +import org.eclipse.tycho.test.util.ResourceUtil; import org.junit.Test; import de.pdark.decentxml.Document; @@ -19,10 +35,28 @@ public void testGenerate() throws Exception { Verifier verifier = getVerifier("api-tools", true, true); verifier.executeGoals(List.of("clean", "package")); verifier.verifyErrorFreeLog(); - File descriptionFile = new File(verifier.getBasedir(), "bundle/target/.api_description"); + File descriptionFile = new File(verifier.getBasedir(), "bundle1/target/.api_description"); assertTrue(descriptionFile.getAbsoluteFile() + " not found", descriptionFile.isFile()); Document document = XMLParser.parse(descriptionFile); - assertEquals("api-bundle_0.0.1-SNAPSHOT", document.getRootElement().getAttribute("name").getValue()); + assertEquals("api-bundle-1_0.0.1-SNAPSHOT", document.getRootElement().getAttribute("name").getValue()); // TODO enhance project and assert more useful things... } + + @Test + public void testVerify() throws Exception { + Verifier verifier = getVerifier("api-tools", true, true); + File repo = ResourceUtil.resolveTestResource("repositories/api-tools"); + verifier.addCliOption("-DbaselineRepo=" + repo.toURI()); + try { + verifier.executeGoals(List.of("clean", "verify")); + fail("No API errors where detected!"); + } catch (VerificationException e) { + verifier.verifyTextInLog("1 API ERRORS"); + verifier.verifyTextInLog("0 API warnings"); + verifier.verifyTextInLog("The type bundle.InterfaceA has been removed from api-bundle"); + verifier.verifyTextInLog("The type bundle.ClassA has been removed from api-bundle"); + // TODO: check with api-filter + // TODO: check with second plugin with BREE? + } + } } diff --git a/tycho-its/src/test/java/org/eclipse/tycho/test/baseline/BaselineMojoTest.java b/tycho-its/src/test/java/org/eclipse/tycho/test/baseline/BaselineMojoTest.java index a2c7c3bca2..7a2df093fc 100644 --- a/tycho-its/src/test/java/org/eclipse/tycho/test/baseline/BaselineMojoTest.java +++ b/tycho-its/src/test/java/org/eclipse/tycho/test/baseline/BaselineMojoTest.java @@ -1,3 +1,15 @@ +/******************************************************************************* + * Copyright (c) 2022 Christoph Läubrich and others. + * This program and the accompanying materials + * are made available under the terms of the Eclipse Public License 2.0 + * which accompanies this distribution, and is available at + * https://www.eclipse.org/legal/epl-2.0/ + * + * SPDX-License-Identifier: EPL-2.0 + * + * Contributors: + * Christoph Läubrich - initial API and implementation + *******************************************************************************/ package org.eclipse.tycho.test.baseline; import static org.junit.Assert.assertTrue;