diff options
author | Pascal Rapicault (Ericsson) | 2013-01-28 05:33:08 +0000 |
---|---|---|
committer | Pascal Rapicault (Ericsson) | 2013-01-28 05:33:08 +0000 |
commit | 678eeacf3f84bd32d4c152fddb6cbb045cd4443f (patch) | |
tree | ab77c721bbb5736a4f4fb0e33e954bc281a43683 | |
parent | b86b21139a5367412cd51e86d359af33b0c03c3c (diff) | |
download | rt.equinox.p2-678eeacf3f84bd32d4c152fddb6cbb045cd4443f.tar.gz rt.equinox.p2-678eeacf3f84bd32d4c152fddb6cbb045cd4443f.tar.xz rt.equinox.p2-678eeacf3f84bd32d4c152fddb6cbb045cd4443f.zip |
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.java | 12 |
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 838358ef7..8610f4cb4 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"); |