summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rapicault (Ericsson)2013-01-28 00:33:08 (EST)
committerPascal Rapicault (Ericsson)2013-01-28 00:33:08 (EST)
commit678eeacf3f84bd32d4c152fddb6cbb045cd4443f (patch)
treeab77c721bbb5736a4f4fb0e33e954bc281a43683
parentb86b21139a5367412cd51e86d359af33b0c03c3c (diff)
downloadrt.equinox.p2-678eeacf3f84bd32d4c152fddb6cbb045cd4443f.zip
rt.equinox.p2-678eeacf3f84bd32d4c152fddb6cbb045cd4443f.tar.gz
rt.equinox.p2-678eeacf3f84bd32d4c152fddb6cbb045cd4443f.tar.bz2
Make sure each test use a new profile idv20130128-053308
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/engine/ProfileRegistryTest.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/engine/ProfileRegistryTest.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/engine/ProfileRegistryTest.java
index 838358e..8610f4c 100644
--- a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/engine/ProfileRegistryTest.java
+++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/engine/ProfileRegistryTest.java
@@ -920,8 +920,8 @@ public class ProfileRegistryTest extends AbstractProvisioningTest {
}
public void testGetProfileStateProperties2() throws ProvisionException {
- assertNull(registry.getProfile(PROFILE_NAME));
- Profile profile = (Profile) registry.addProfile(PROFILE_NAME);
+ assertNull(registry.getProfile(getName()));
+ Profile profile = (Profile) registry.addProfile(getName());
Map<String, String> profileProperties = new HashMap<String, String>();
profileProperties.put("profileFoo", "profileBar");
@@ -988,8 +988,8 @@ public class ProfileRegistryTest extends AbstractProvisioningTest {
}
public void testRemoveProfileStateProperties() throws ProvisionException {
- assertNull(registry.getProfile(PROFILE_NAME));
- Profile profile = (Profile) registry.addProfile(PROFILE_NAME);
+ assertNull(registry.getProfile(getName()));
+ Profile profile = (Profile) registry.addProfile(getName());
Map<String, String> profileProperties = new HashMap<String, String>();
profileProperties.put("profileFoo", "profileBar");
@@ -1041,8 +1041,8 @@ public class ProfileRegistryTest extends AbstractProvisioningTest {
}
public void testRemoveProfileStateProperties2() throws ProvisionException {
- assertNull(registry.getProfile(PROFILE_NAME));
- Profile profile = (Profile) registry.addProfile(PROFILE_NAME);
+ assertNull(registry.getProfile(getName()));
+ Profile profile = (Profile) registry.addProfile(getName());
Map<String, String> profileProperties = new HashMap<String, String>();
profileProperties.put("profileFoo", "profileBar");