commit | 3f92f5fba9705b694e36d085987ecaf6fe7997f7 | [log] [tgz] |
---|---|---|
author | John Arthorne <johna> | Tue Dec 02 04:20:24 2008 +0000 |
committer | John Arthorne <johna> | Tue Dec 02 04:20:24 2008 +0000 |
tree | 021386824b49ffe411755539e90e6f86c5bf44b2 | |
parent | 8eb2fb72a4aa74202f4b097049aaa00307d64fe8 [diff] |
Tests for bug 202985 [prov] [repo] Store repositories in the profile
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/touchpoint/eclipse/AddRepositoryActionTest.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/touchpoint/eclipse/AddRepositoryActionTest.java index 400d87b..3664c9d 100644 --- a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/touchpoint/eclipse/AddRepositoryActionTest.java +++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/touchpoint/eclipse/AddRepositoryActionTest.java
@@ -137,5 +137,11 @@ //will fail if it took too long for the repository to be added assertTrue(System.currentTimeMillis() - waitStart < 10000); } + + profile = getProfile(id); + String value = profile.getProperty(IProfile.PROP_METADATA_REPOSITORIES); + assertNull("2.0", value); + value = profile.getProperty(IProfile.PROP_ARTIFACT_REPOSITORIES); + assertEquals("2.1", TEST_LOCATION, value); } }