diff options
-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"); |