Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2003-11-17 17:19:38 +0000
committerMichael Valenta2003-11-17 17:19:38 +0000
commitc3ba623e6c82a57f374968e405112bcf8f3a028b (patch)
treecd37256d84a9fdda33be9fed96d4231908e9424b
parentd31e0df2158058aa8af173dac37a7d6aca69a1f7 (diff)
downloadeclipse.platform.team-c3ba623e6c82a57f374968e405112bcf8f3a028b.tar.gz
eclipse.platform.team-c3ba623e6c82a57f374968e405112bcf8f3a028b.tar.xz
eclipse.platform.team-c3ba623e6c82a57f374968e405112bcf8f3a028b.zip
*** empty log message ***
-rw-r--r--tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/cvsresources/EclipseSynchronizerTest.java13
1 files changed, 7 insertions, 6 deletions
diff --git a/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/cvsresources/EclipseSynchronizerTest.java b/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/cvsresources/EclipseSynchronizerTest.java
index 69afa2934..f938909ea 100644
--- a/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/cvsresources/EclipseSynchronizerTest.java
+++ b/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/cvsresources/EclipseSynchronizerTest.java
@@ -76,12 +76,13 @@ public class EclipseSynchronizerTest extends EclipseTest {
public void testFolderSync() throws CoreException, CVSException {
// Workspace root
IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();
-// FolderSyncInfo info = sync.getFolderSync(root);
-// assertNull(info);
-// sync.deleteFolderSync(root);
-// sync.setFolderSync(root, dummyFolderSync(root));
-// info = sync.getFolderSync(root);
-// assertNull(info);
+ // Setting should not be an error but sync info should always be null
+ FolderSyncInfo info = sync.getFolderSync(root);
+ assertNull(info);
+ sync.deleteFolderSync(root);
+ sync.setFolderSync(root, dummyFolderSync(root));
+ info = sync.getFolderSync(root);
+ assertNull(info);
// Non-existant project
IProject project = root.getProject(getName() + "-" + System.currentTimeMillis());

Back to the top