Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2002-01-24 15:05:28 +0000
committerMichael Valenta2002-01-24 15:05:28 +0000
commit4a1b76a2ecbba43072430f4479dee45af5e7534d (patch)
tree4194aef64894a250ba05c4155087632f59b72efd
parentb61f7458d8c215e467800395cd40ea518799955b (diff)
downloadeclipse.platform.team-4a1b76a2ecbba43072430f4479dee45af5e7534d.tar.gz
eclipse.platform.team-4a1b76a2ecbba43072430f4479dee45af5e7534d.tar.xz
eclipse.platform.team-4a1b76a2ecbba43072430f4479dee45af5e7534d.zip
*** empty log message ***
-rw-r--r--tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/JUnitTestCase.java4
-rw-r--r--tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/compatible/BasicTest.java2
-rw-r--r--tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/cvsresources/LocalFileTest.java2
-rw-r--r--tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/cvsresources/LocalFolderTest.java4
4 files changed, 6 insertions, 6 deletions
diff --git a/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/JUnitTestCase.java b/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/JUnitTestCase.java
index fef1ab27e..6b26c4f76 100644
--- a/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/JUnitTestCase.java
+++ b/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/JUnitTestCase.java
@@ -308,8 +308,8 @@ public abstract class JUnitTestCase extends TestCase {
}
- protected static void assertSynchronizerEmtpy() {
- if (!Synchronizer.getInstance().isEmpty() && CVSTestSetup.DEBUG)
+ protected static void assertSynchronizerEmpty() {
+ if (!Synchronizer.getInstance().isEmpty() /* && CVSTestSetup.DEBUG */)
Synchronizer.getInstance().dump();
assertTrue(Synchronizer.getInstance().isEmpty());
}
diff --git a/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/compatible/BasicTest.java b/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/compatible/BasicTest.java
index 40656ec1d..531e257af 100644
--- a/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/compatible/BasicTest.java
+++ b/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/compatible/BasicTest.java
@@ -47,7 +47,7 @@ public class BasicTest extends JUnitTestCase {
public void tearDown() throws CVSException {
env1.tearDown();
env2.tearDown();
- assertSynchronizerEmtpy();
+ assertSynchronizerEmpty();
}
public void testAdd() throws Exception {
diff --git a/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/cvsresources/LocalFileTest.java b/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/cvsresources/LocalFileTest.java
index 9fcf48644..8eda3e791 100644
--- a/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/cvsresources/LocalFileTest.java
+++ b/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/cvsresources/LocalFileTest.java
@@ -68,7 +68,7 @@ public class LocalFileTest extends JUnitTestCase {
public void tearDown() throws CVSException {
folder1.delete();
Synchronizer.getInstance().reload(folder1,new NullProgressMonitor());
- assertSynchronizerEmtpy();
+ assertSynchronizerEmpty();
assertTrue(!folder1.exists());
}
diff --git a/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/cvsresources/LocalFolderTest.java b/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/cvsresources/LocalFolderTest.java
index 2b3c5d842..45116c751 100644
--- a/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/cvsresources/LocalFolderTest.java
+++ b/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/cvsresources/LocalFolderTest.java
@@ -103,7 +103,7 @@ public class LocalFolderTest extends JUnitTestCase {
public void tearDown() throws CVSException {
folder1.delete();
Synchronizer.getInstance().reload(folder1,new NullProgressMonitor());
- assertSynchronizerEmtpy();
+ assertSynchronizerEmpty();
assertTrue(!folder1.exists());
}
@@ -398,7 +398,7 @@ public class LocalFolderTest extends JUnitTestCase {
file1a.setSyncInfo(new ResourceSyncInfo(entryLineExtra2,null,null));
Synchronizer.getInstance().save(new NullProgressMonitor());
- Synchronizer.getInstance().reload(file1a.getParent().getParent().getParent(),new NullProgressMonitor());
+ Synchronizer.getInstance().reload(file1a.getParent(),new NullProgressMonitor());
assertEquals(file1.getSyncInfo().getEntryLine(true),entryLineExtra2);
}

Back to the top