Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2002-06-12 01:47:23 +0000
committerMichael Valenta2002-06-12 01:47:23 +0000
commit0c5c5cfa67182384ac7c6d6666837312e9aa7ec0 (patch)
treeaceeec48010dffd0ab09672e38198c10f57e12a2
parentbd29f55a470b831b8356ddee8db19c93aeba3ccd (diff)
downloadeclipse.platform.team-0c5c5cfa67182384ac7c6d6666837312e9aa7ec0.tar.gz
eclipse.platform.team-0c5c5cfa67182384ac7c6d6666837312e9aa7ec0.tar.xz
eclipse.platform.team-0c5c5cfa67182384ac7c6d6666837312e9aa7ec0.zip
Changes to test for refactoring of target
-rw-r--r--tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/RemoteResourceTests.java4
-rw-r--r--tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/SyncElementTest.java4
-rw-r--r--tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/TargetProviderTests.java6
-rw-r--r--tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/TargetTestSetup.java17
-rw-r--r--tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/TeamTest.java8
5 files changed, 20 insertions, 19 deletions
diff --git a/tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/RemoteResourceTests.java b/tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/RemoteResourceTests.java
index 43f096875..6b137f4d4 100644
--- a/tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/RemoteResourceTests.java
+++ b/tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/RemoteResourceTests.java
@@ -15,13 +15,13 @@ import java.io.InputStream;
import junit.framework.Test;
import junit.framework.TestSuite;
+
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.Path;
import org.eclipse.team.core.TeamException;
import org.eclipse.team.core.sync.IRemoteResource;
-import org.eclipse.team.core.target.TargetProvider;
+import org.eclipse.team.internal.core.target.TargetProvider;
/**
* A set of test cases for org.eclipse.team.core.sync.IRemoteResource
diff --git a/tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/SyncElementTest.java b/tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/SyncElementTest.java
index ea3779427..0cadc19b8 100644
--- a/tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/SyncElementTest.java
+++ b/tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/SyncElementTest.java
@@ -30,8 +30,8 @@ import org.eclipse.team.core.TeamException;
import org.eclipse.team.core.sync.ILocalSyncElement;
import org.eclipse.team.core.sync.IRemoteSyncElement;
import org.eclipse.team.core.sync.RemoteSyncElement;
-import org.eclipse.team.core.target.TargetManager;
-import org.eclipse.team.core.target.TargetProvider;
+import org.eclipse.team.internal.core.target.TargetManager;
+import org.eclipse.team.internal.core.target.TargetProvider;
import org.eclipse.team.internal.core.target.UrlUtil;
public class SyncElementTest extends TeamTest {
diff --git a/tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/TargetProviderTests.java b/tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/TargetProviderTests.java
index 951f63e92..ff03f12f1 100644
--- a/tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/TargetProviderTests.java
+++ b/tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/TargetProviderTests.java
@@ -11,17 +11,17 @@
package org.eclipse.team.tests.core;
import java.net.MalformedURLException;
-import java.net.URL;
import junit.framework.Test;
import junit.framework.TestSuite;
+
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.Path;
import org.eclipse.team.core.TeamException;
-import org.eclipse.team.core.target.TargetManager;
-import org.eclipse.team.core.target.TargetProvider;
+import org.eclipse.team.internal.core.target.TargetManager;
+import org.eclipse.team.internal.core.target.TargetProvider;
import org.eclipse.team.internal.core.target.UrlUtil;
/**
diff --git a/tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/TargetTestSetup.java b/tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/TargetTestSetup.java
index ef7083526..c1f603dfe 100644
--- a/tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/TargetTestSetup.java
+++ b/tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/TargetTestSetup.java
@@ -10,20 +10,21 @@
******************************************************************************/
package org.eclipse.team.tests.core;
-import java.io.*;
+import java.io.BufferedReader;
+import java.io.File;
+import java.io.FileReader;
import java.net.MalformedURLException;
import java.net.URL;
-import java.util.*;
+import java.util.Properties;
import junit.extensions.TestSetup;
import junit.framework.Test;
-import junit.framework.TestSuite;
-import org.eclipse.core.resources.*;
-import org.eclipse.core.runtime.CoreException;
+
import org.eclipse.core.runtime.Path;
-import org.eclipse.team.core.TeamException;
-import org.eclipse.team.core.sync.IRemoteResource;
-import org.eclipse.team.core.target.*;
+import org.eclipse.team.internal.core.target.ISiteFactory;
+import org.eclipse.team.internal.core.target.Site;
+import org.eclipse.team.internal.core.target.TargetManager;
+import org.eclipse.team.internal.core.target.TargetProvider;
/**
* A set of test cases for org.eclipse.team.core.sync.IRemoteResource
diff --git a/tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/TeamTest.java b/tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/TeamTest.java
index f7478e93f..c673ba36b 100644
--- a/tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/TeamTest.java
+++ b/tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/TeamTest.java
@@ -35,10 +35,10 @@ import org.eclipse.core.runtime.Status;
import org.eclipse.core.tests.harness.EclipseWorkspaceTest;
import org.eclipse.team.core.TeamException;
import org.eclipse.team.core.sync.IRemoteResource;
-import org.eclipse.team.core.target.IRemoteTargetResource;
-import org.eclipse.team.core.target.Site;
-import org.eclipse.team.core.target.TargetManager;
-import org.eclipse.team.core.target.TargetProvider;
+import org.eclipse.team.internal.core.target.IRemoteTargetResource;
+import org.eclipse.team.internal.core.target.Site;
+import org.eclipse.team.internal.core.target.TargetManager;
+import org.eclipse.team.internal.core.target.TargetProvider;
public class TeamTest extends EclipseWorkspaceTest {
protected static IProgressMonitor DEFAULT_MONITOR = new NullProgressMonitor();

Back to the top