Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2003-03-03 17:29:35 +0000
committerMichael Valenta2003-03-03 17:29:35 +0000
commit92814cbb55fb39362415a01a06f73dabe7f87f1f (patch)
treeed878da97723a93dea1eef7ab78ab01cc5c92510 /tests/org.eclipse.team.tests.core
parentecdfc9c2b29a66ec1ce5173f12e2e605e011334f (diff)
downloadeclipse.platform.team-92814cbb55fb39362415a01a06f73dabe7f87f1f.tar.gz
eclipse.platform.team-92814cbb55fb39362415a01a06f73dabe7f87f1f.tar.xz
eclipse.platform.team-92814cbb55fb39362415a01a06f73dabe7f87f1f.zip
31300: RepositoryProvider.isShared has problems with closed projects [API]
Diffstat (limited to 'tests/org.eclipse.team.tests.core')
-rw-r--r--tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/RepositoryProviderTests.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/RepositoryProviderTests.java b/tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/RepositoryProviderTests.java
index d26e5cc34..aa32433cf 100644
--- a/tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/RepositoryProviderTests.java
+++ b/tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/RepositoryProviderTests.java
@@ -371,6 +371,10 @@ public class RepositoryProviderTests extends TeamTest {
IProject project1 = getUniqueTestProject("testGetProviderById_1");
RepositoryProvider.map(project1, RepositoryProviderBic.NATURE_ID);
assertTrue(RepositoryProvider.isShared(project1));
+ project1.close(null);
+ assertTrue(!RepositoryProvider.isShared(project1));
+ project1.open(null);
+ assertTrue(RepositoryProvider.isShared(project1));
RepositoryProvider.unmap(project1);
assertTrue(!RepositoryProvider.isShared(project1));
}

Back to the top