summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rapicault (Ericsson)2013-04-08 15:34:26 (EDT)
committerPascal Rapicault2013-04-08 15:34:26 (EDT)
commitbb32d812a5bf9e0257174973526431df22b84f30 (patch)
tree30afa4e106f6d3b5b2afc9ae30226a85d8631b54
parent60bd035f465db40a2168d713d86f51001aa91a41 (diff)
downloadrt.equinox.p2-bb32d812a5bf9e0257174973526431df22b84f30.zip
rt.equinox.p2-bb32d812a5bf9e0257174973526431df22b84f30.tar.gz
rt.equinox.p2-bb32d812a5bf9e0257174973526431df22b84f30.tar.bz2
Make sure each test has its own folderI20130409-0800
-rw-r--r--bundles/org.eclipse.equinox.frameworkadmin.test/src/org/eclipse/equinox/frameworkadmin/tests/SharedConfigurationTest.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/bundles/org.eclipse.equinox.frameworkadmin.test/src/org/eclipse/equinox/frameworkadmin/tests/SharedConfigurationTest.java b/bundles/org.eclipse.equinox.frameworkadmin.test/src/org/eclipse/equinox/frameworkadmin/tests/SharedConfigurationTest.java
index e4da475..492278d 100644
--- a/bundles/org.eclipse.equinox.frameworkadmin.test/src/org/eclipse/equinox/frameworkadmin/tests/SharedConfigurationTest.java
+++ b/bundles/org.eclipse.equinox.frameworkadmin.test/src/org/eclipse/equinox/frameworkadmin/tests/SharedConfigurationTest.java
@@ -37,7 +37,7 @@ public class SharedConfigurationTest extends AbstractFwkAdminTest {
FrameworkAdmin fwkAdmin = getEquinoxFrameworkAdmin();
Manipulator manipulator = fwkAdmin.getManipulator();
- File installFolder = Activator.getContext().getDataFile(SharedConfigurationTest.class.getName());
+ File installFolder = Activator.getContext().getDataFile(getName());
File defaultConfigurationFolder = new File(installFolder, "configuration");
defaultConfigurationFolder.mkdirs();
copy("creating shared config.ini", getTestData("", "dataFile/sharedconfiguration/config.ini"), new File(defaultConfigurationFolder, "config.ini"));
@@ -63,7 +63,7 @@ public class SharedConfigurationTest extends AbstractFwkAdminTest {
FrameworkAdmin fwkAdmin = getEquinoxFrameworkAdmin();
Manipulator manipulator = fwkAdmin.getManipulator();
- File installFolder = Activator.getContext().getDataFile(SharedConfigurationTest.class.getName());
+ File installFolder = Activator.getContext().getDataFile(getName());
File defaultConfigurationFolder = new File(installFolder, "configuration");
defaultConfigurationFolder.mkdirs();
copy("creating shared config.ini", getTestData("", "dataFile/sharedconfiguration/config.ini"), new File(defaultConfigurationFolder, "config.ini"));
@@ -92,7 +92,7 @@ public class SharedConfigurationTest extends AbstractFwkAdminTest {
FrameworkAdmin fwkAdmin = getEquinoxFrameworkAdmin();
Manipulator manipulator = fwkAdmin.getManipulator();
- File installFolder = Activator.getContext().getDataFile(SharedConfigurationTest.class.getName());
+ File installFolder = Activator.getContext().getDataFile(getName());
File defaultConfigurationFolder = new File(installFolder, "configuration");
defaultConfigurationFolder.mkdirs();
copy("creating shared config.ini", getTestData("", "dataFile/sharedconfiguration/config.ini"), new File(defaultConfigurationFolder, "config.ini"));
@@ -121,7 +121,7 @@ public class SharedConfigurationTest extends AbstractFwkAdminTest {
FrameworkAdmin fwkAdmin = getEquinoxFrameworkAdmin();
Manipulator manipulator = fwkAdmin.getManipulator();
- File installFolder = Activator.getContext().getDataFile(SharedConfigurationTest.class.getName());
+ File installFolder = Activator.getContext().getDataFile(getName());
File defaultConfigurationFolder = new File(installFolder, "configuration");
defaultConfigurationFolder.mkdirs();
copy("creating shared config.ini", getTestData("", "dataFile/sharedconfiguration/config.ini"), new File(defaultConfigurationFolder, "config.ini"));
@@ -160,7 +160,7 @@ public class SharedConfigurationTest extends AbstractFwkAdminTest {
Manipulator manipulator = fwkAdmin.getManipulator();
//setup the files
- File installFolder = Activator.getContext().getDataFile(SharedConfigurationTest.class.getName());
+ File installFolder = Activator.getContext().getDataFile(getName());
File defaultConfigurationFolder = new File(installFolder, "configuration");
defaultConfigurationFolder.mkdirs();
copy("creating shared config.ini", getTestData("", "dataFile/sharedconfiguration/ignoreUserConfig/config.ini"), new File(defaultConfigurationFolder, "config.ini"));