diff options
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/simpleconfigurator/BundlesTxtTestExtended.java')
-rw-r--r-- | bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/simpleconfigurator/BundlesTxtTestExtended.java | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/simpleconfigurator/BundlesTxtTestExtended.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/simpleconfigurator/BundlesTxtTestExtended.java new file mode 100644 index 000000000..06d6e8577 --- /dev/null +++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/simpleconfigurator/BundlesTxtTestExtended.java @@ -0,0 +1,32 @@ +/******************************************************************************* + * Copyright (c) 2007, 2013 IBM Corporation 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: + * IBM Corporation - initial API and implementation + * Red Hat, Inc. - fragment support + *******************************************************************************/ +package org.eclipse.equinox.p2.tests.simpleconfigurator; + +import org.eclipse.equinox.internal.simpleconfigurator.Activator; + +public class BundlesTxtTestExtended extends BundlesTxtTest { + + @Override + public void setUp() throws Exception { + super.setUp(); + // enable extended mode + Activator.EXTENDED = true; + System.setProperty("p2.fragments", "true"); + } + + @Override + protected void tearDown() throws Exception { + super.tearDown(); + Activator.EXTENDED = false; + System.setProperty("p2.fragments", "false"); + } +} |