Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Michel-Lemieux2002-03-19 15:17:51 -0500
committerJean Michel-Lemieux2002-03-19 15:17:51 -0500
commitb721efb63448777692a843fb4000363e3a294de5 (patch)
treec5c82000d288d0101a4643b91874eb0a70d91825
parent7e3d9181420483995d329de0e55e75b77f5383cb (diff)
downloadeclipse.platform.team-b721efb63448777692a843fb4000363e3a294de5.tar.gz
eclipse.platform.team-b721efb63448777692a843fb4000363e3a294de5.tar.xz
eclipse.platform.team-b721efb63448777692a843fb4000363e3a294de5.zip
*** empty log message ***
-rw-r--r--tests/org.eclipse.team.tests.core/.classpath4
-rw-r--r--tests/org.eclipse.team.tests.core/.cvsignore1
-rw-r--r--tests/org.eclipse.team.tests.core/build.properties4
-rw-r--r--tests/org.eclipse.team.tests.core/plugin.xml113
-rw-r--r--tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/RepositoryProviderBic.java28
-rw-r--r--tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/RepositoryProviderNaish.java28
-rw-r--r--tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/RepositoryProviderOtherSport.java28
-rw-r--r--tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/RepositoryProviderTests.java37
8 files changed, 75 insertions, 168 deletions
diff --git a/tests/org.eclipse.team.tests.core/.classpath b/tests/org.eclipse.team.tests.core/.classpath
index 563764820..11498fa38 100644
--- a/tests/org.eclipse.team.tests.core/.classpath
+++ b/tests/org.eclipse.team.tests.core/.classpath
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
- <classpathentry kind="src" path=""/>
<classpathentry kind="var" path="JRE_LIB" rootpath="JRE_SRCROOT" sourcepath="JRE_SRC"/>
<classpathentry kind="src" path="/org.eclipse.team.core"/>
<classpathentry kind="src" path="/org.eclipse.core.resources"/>
<classpathentry kind="src" path="/org.eclipse.core.runtime"/>
<classpathentry kind="src" path="/org.eclipse.core.tests.harness"/>
<classpathentry kind="src" path="/org.junit"/>
- <classpathentry kind="output" path=""/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="output" path="bin"/>
</classpath>
diff --git a/tests/org.eclipse.team.tests.core/.cvsignore b/tests/org.eclipse.team.tests.core/.cvsignore
new file mode 100644
index 000000000..ba077a403
--- /dev/null
+++ b/tests/org.eclipse.team.tests.core/.cvsignore
@@ -0,0 +1 @@
+bin
diff --git a/tests/org.eclipse.team.tests.core/build.properties b/tests/org.eclipse.team.tests.core/build.properties
index eb53c7650..ca2eedbd3 100644
--- a/tests/org.eclipse.team.tests.core/build.properties
+++ b/tests/org.eclipse.team.tests.core/build.properties
@@ -1,2 +1,2 @@
-source.cvstests.jar=src/
-bin.includes=about.html,plugin.xml,*.jar,test.xml,repository.properties \ No newline at end of file
+source.teamtests.jar=src/
+bin.includes=about.html,plugin.xml,*.jar,test.xml \ No newline at end of file
diff --git a/tests/org.eclipse.team.tests.core/plugin.xml b/tests/org.eclipse.team.tests.core/plugin.xml
index dccb40e73..18d465afb 100644
--- a/tests/org.eclipse.team.tests.core/plugin.xml
+++ b/tests/org.eclipse.team.tests.core/plugin.xml
@@ -1,50 +1,77 @@
<?xml version="1.0" encoding="UTF-8"?>
<plugin
- name="Eclipse Team Core Tests"
- id="org.eclipse.team.tests.core"
- version="1.0"
- provider-name="Object Technology International, Inc.">
+ id="org.eclipse.team.tests.core"
+ name="Eclipse Team Core Tests"
+ version="1.0"
+ provider-name="Object Technology International, Inc."
+ class="">
- <requires>
- <import plugin="org.apache.xerces"/>
- <import plugin="org.eclipse.core.tests.harness"/>
- <import plugin="org.eclipse.core.resources"/>
- <import plugin="org.eclipse.core.runtime"/>
- <import plugin="org.eclipse.team.core"/>
- <import plugin="org.junit"/>
- </requires>
+ <runtime>
+ <library name="teamtests.jar">
+ <export name="*"/>
+ </library>
+ </runtime>
+ <requires>
+ <import plugin="org.apache.xerces"/>
+ <import plugin="org.eclipse.core.tests.harness"/>
+ <import plugin="org.eclipse.core.resources"/>
+ <import plugin="org.eclipse.team.core"/>
+ <import plugin="org.eclipse.team.cvs.core"/>
+ <import plugin="org.eclipse.team.ui"/>
+ <import plugin="org.eclipse.team.cvs.ui"/>
+ <import plugin="org.eclipse.compare"/>
+ <import plugin="org.eclipse.ui"/>
+ <import plugin="org.junit"/>
+ </requires>
- <runtime>
- <library name="teamtests.jar">
- <export name="*"/>
- </library>
- </runtime>
- <extension point="org.eclipse.core.tests.harness.tests">
- <test id="team.all">
- <run class="org.eclipse.team.tests.core.RepositoryProviderTests"/>
- </test>
- </extension>
-
-<extension point="org.eclipse.core.resources.natures" id="bic-provider" name="Bic Provider">
- <runtime>
- <run class="org.eclipse.team.tests.core.RepositoryProviderBic"/>
- </runtime>
- <one-of-nature id="org.eclipse.team.repository-provider"/>
-</extension>
-
-<extension point="org.eclipse.core.resources.natures" id="naish-provider" name="Naish Provider">
- <runtime>
- <run class="org.eclipse.team.tests.core.RepositoryProviderNaish"/>
- </runtime>
- <one-of-nature id="org.eclipse.team.repository-provider"/>
-</extension>
-
-<extension point="org.eclipse.core.resources.natures" id="other" name="Bad Set Provider">
- <runtime>
- <run class="org.eclipse.team.tests.core.RepositoryProviderOtherSport"/>
- </runtime>
- <one-of-nature id="some set"/>
-</extension>
+ <extension
+ point="org.eclipse.core.tests.harness.tests">
+ <test
+ id="team.all">
+ <run
+ class="org.eclipse.team.tests.core.RepositoryProviderTests">
+ </run>
+ </test>
+ </extension>
+ <extension
+ id="bic-provider"
+ name="Bic Provider"
+ point="org.eclipse.core.resources.natures">
+ <runtime>
+ <run
+ class="org.eclipse.team.tests.core.RepositoryProviderBic">
+ </run>
+ </runtime>
+ <one-of-nature
+ id="org.eclipse.team.repository-provider">
+ </one-of-nature>
+ </extension>
+ <extension
+ id="naish-provider"
+ name="Naish Provider"
+ point="org.eclipse.core.resources.natures">
+ <runtime>
+ <run
+ class="org.eclipse.team.tests.core.RepositoryProviderNaish">
+ </run>
+ </runtime>
+ <one-of-nature
+ id="org.eclipse.team.repository-provider">
+ </one-of-nature>
+ </extension>
+ <extension
+ id="other"
+ name="Bad Set Provider"
+ point="org.eclipse.core.resources.natures">
+ <runtime>
+ <run
+ class="org.eclipse.team.tests.core.RepositoryProviderOtherSport">
+ </run>
+ </runtime>
+ <one-of-nature
+ id="some set">
+ </one-of-nature>
+ </extension>
</plugin>
diff --git a/tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/RepositoryProviderBic.java b/tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/RepositoryProviderBic.java
deleted file mode 100644
index 3db32af1b..000000000
--- a/tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/RepositoryProviderBic.java
+++ /dev/null
@@ -1,28 +0,0 @@
-package org.eclipse.team.tests.core;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.team.core.RepositoryProvider;
-
-public class RepositoryProviderBic extends RepositoryProvider {
-
- final public static String NATURE_ID = "org.eclipse.team.tests.core.bic-provider";
-
- /*
- * @see RepositoryProvider#configureProject()
- */
- public void configureProject() throws CoreException {
- }
-
- /*
- * @see RepositoryProvider#getID()
- */
- public String getID() {
- return NATURE_ID;
- }
- /*
- * @see IProjectNature#deconfigure()
- */
- public void deconfigure() throws CoreException {
- }
-} \ No newline at end of file
diff --git a/tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/RepositoryProviderNaish.java b/tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/RepositoryProviderNaish.java
deleted file mode 100644
index d1e08e095..000000000
--- a/tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/RepositoryProviderNaish.java
+++ /dev/null
@@ -1,28 +0,0 @@
-package org.eclipse.team.tests.core;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.team.core.RepositoryProvider;
-
-public class RepositoryProviderNaish extends RepositoryProvider {
-
- final public static String NATURE_ID = "org.eclipse.team.tests.core.naish-provider";
-
- /*
- * @see RepositoryProvider#configureProject()
- */
- public void configureProject() throws CoreException {
- }
-
- /*
- * @see RepositoryProvider#getID()
- */
- public String getID() {
- return NATURE_ID;
- }
- /*
- * @see IProjectNature#deconfigure()
- */
- public void deconfigure() throws CoreException {
- }
-} \ No newline at end of file
diff --git a/tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/RepositoryProviderOtherSport.java b/tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/RepositoryProviderOtherSport.java
deleted file mode 100644
index b2fdfa9f7..000000000
--- a/tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/RepositoryProviderOtherSport.java
+++ /dev/null
@@ -1,28 +0,0 @@
-package org.eclipse.team.tests.core;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.team.core.RepositoryProvider;
-
-public class RepositoryProviderOtherSport extends RepositoryProvider {
-
- final public static String NATURE_ID = "org.eclipse.team.tests.core.other";
-
- /*
- * @see RepositoryProvider#configureProject()
- */
- public void configureProject() throws CoreException {
- }
-
- /*
- * @see RepositoryProvider#getID()
- */
- public String getID() {
- return NATURE_ID;
- }
- /*
- * @see IProjectNature#deconfigure()
- */
- public void deconfigure() throws CoreException {
- }
-} \ No newline at end of file
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
deleted file mode 100644
index ffdd249f3..000000000
--- a/tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/RepositoryProviderTests.java
+++ /dev/null
@@ -1,37 +0,0 @@
-package org.eclipse.team.tests.core;
-
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.List;
-
-import junit.extensions.TestSetup;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.tests.harness.EclipseWorkspaceTest;
-import org.eclipse.team.core.RepositoryProvider;
-import org.eclipse.team.core.TeamException;
-
-public class RepositoryProviderTests extends EclipseWorkspaceTest {
- public RepositoryProviderTests() {
- super();
- }
-
- public RepositoryProviderTests(String name) {
- super(name);
- }
-
- public static Test suite() {
- TestSuite suite = new TestSuite(RepositoryProviderTests.class);
- return new TestSetup(suite);
- //return new testSetup(new RepositoryProviderTests("test"));
- }
-
- public void testProvidersRegistered() throws CoreException, TeamException {
- List repoProviderIds = new ArrayList(Arrays.asList(RepositoryProvider.getAllProviderTypeIds()));
- assertEquals(2, repoProviderIds.size());
- assertEquals(true, repoProviderIds.contains(RepositoryProviderBic.NATURE_ID));
- assertEquals(true, repoProviderIds.contains(RepositoryProviderNaish.NATURE_ID));
- assertEquals(false, repoProviderIds.contains(RepositoryProviderOtherSport.NATURE_ID));
- }
-}

Back to the top