From b38541afe09baa9e1bd68d0689729e538bf2bcde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20L=C3=A4ubrich?= Date: Tue, 30 Jan 2024 16:46:35 +0100 Subject: [PATCH] Add testcase for issue 3437 --- .../director-goal-standalone/pom.xml | 40 +++++++++++++++++++ .../tycho/test/P2DirectorPluginTest.java | 15 +++++++ 2 files changed, 55 insertions(+) create mode 100644 tycho-its/projects/tycho-p2-director-plugin/director-goal-standalone/pom.xml create mode 100644 tycho-its/src/test/java/org/eclipse/tycho/test/P2DirectorPluginTest.java diff --git a/tycho-its/projects/tycho-p2-director-plugin/director-goal-standalone/pom.xml b/tycho-its/projects/tycho-p2-director-plugin/director-goal-standalone/pom.xml new file mode 100644 index 0000000000..15b07ac77c --- /dev/null +++ b/tycho-its/projects/tycho-p2-director-plugin/director-goal-standalone/pom.xml @@ -0,0 +1,40 @@ + + 4.0.0 + foo + bar + 0.1.0-SNAPSHOT + pom + + + + + org.eclipse.tycho + tycho-p2-director-plugin + 4.0.5 + + + run-director + + director + + package + + a + b + c + d + true + true + win32 + win32 + x86_64 + + + + + + + + \ No newline at end of file diff --git a/tycho-its/src/test/java/org/eclipse/tycho/test/P2DirectorPluginTest.java b/tycho-its/src/test/java/org/eclipse/tycho/test/P2DirectorPluginTest.java new file mode 100644 index 0000000000..ff93cd54a8 --- /dev/null +++ b/tycho-its/src/test/java/org/eclipse/tycho/test/P2DirectorPluginTest.java @@ -0,0 +1,15 @@ +package org.eclipse.tycho.test; + +import org.apache.maven.it.Verifier; +import org.junit.Test; + +public class P2DirectorPluginTest extends AbstractTychoIntegrationTest { + + @Test + public void testJavac() throws Exception { + Verifier verifier = getVerifier("tycho-p2-director-plugin/director-goal-standalone", true, true); + verifier.executeGoal("package"); + verifier.verifyErrorFreeLog(); + } + +}