summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIan Bull2013-04-03 13:29:29 (EDT)
committerIan Bull2013-04-03 13:29:29 (EDT)
commitf05563a2311ab48174bdc17054561e384a97547e (patch)
treea69bcce03dbb88084676039f9c6714ba327e9f09
parentc3069d2239f60055a889b8b7bd033e97f2a6e2e1 (diff)
downloadrt.equinox.p2-f05563a2311ab48174bdc17054561e384a97547e.zip
rt.equinox.p2-f05563a2311ab48174bdc17054561e384a97547e.tar.gz
rt.equinox.p2-f05563a2311ab48174bdc17054561e384a97547e.tar.bz2
Bug 404835 Removed JBoss.java test case because it was breaking the build.
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/planner/JBoss.java56
1 files changed, 0 insertions, 56 deletions
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/planner/JBoss.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/planner/JBoss.java
deleted file mode 100644
index 5b48b2f..0000000
--- a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/planner/JBoss.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2011 Sonatype, Inc. and others. All rights reserved.
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Sonatype, Inc. - initial implementation and ideas
- ******************************************************************************/
-package org.eclipse.equinox.p2.tests.planner;
-
-import org.eclipse.equinox.internal.p2.director.ProfileChangeRequest;
-import org.eclipse.equinox.p2.engine.*;
-import org.eclipse.equinox.p2.metadata.IInstallableUnit;
-import org.eclipse.equinox.p2.planner.IPlanner;
-import org.eclipse.equinox.p2.planner.IProfileChangeRequest;
-import org.eclipse.equinox.p2.tests.*;
-
-public class JBoss extends AbstractProvisioningTest {
- @IUDescription(content = "package: jboss \n" + "singleton: true\n" + "version: 6 \n" + "depends: m2e = 12")
- public IInstallableUnit jboss;
-
- @IUDescription(content = "package: m2e \n" + "singleton: true\n" + "version: 11 \n")
- public IInstallableUnit m2e11;
-
- @IUDescription(content = "package: m2e \n" + "singleton: true\n" + "version: 12 \n")
- public IInstallableUnit m2e12;
-
- IProfile profile = createProfile("TestProfile." + getClass().getSimpleName());
-
- private IPlanner planner;
-
- private IEngine engine;
-
- @Override
- protected void setUp() throws Exception {
- super.setUp();
- IULoader.loadIUs(this);
- createTestMetdataRepository(new IInstallableUnit[] {jboss, m2e11, m2e12});
- planner = createPlanner();
- engine = createEngine();
- assertOK(install(profile, new IInstallableUnit[] {m2e11}, true, planner, engine));
- }
-
- public void testInstallJBoss() {
- ProfileChangeRequest installJBoss = new ProfileChangeRequest(profile);
- installJBoss.add(jboss);
- assertNotOK(install(installJBoss, planner, engine));
-
- IProfileChangeRequest res = new LuckyHelper().computeProfileChangeRequest(profile, planner, installJBoss, new ProvisioningContext(getAgent()), getMonitor());
- assertTrue(res.getAdditions().contains(m2e12));
- assertTrue(res.getRemovals().contains(m2e11));
-
- }
-
-}