Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMalgorzata Janczarska2013-03-14 09:23:48 +0000
committerMalgorzata Janczarska2013-03-14 09:28:26 +0000
commit66711749fa7a37c6c4474243c7fddecdbe831596 (patch)
treea2730edfadd440cc8725db54f8bfbc9419ce33b1
parent41435564a99c604566f10591e675ce10072b8133 (diff)
downloadeclipse.platform.team-66711749fa7a37c6c4474243c7fddecdbe831596.tar.gz
eclipse.platform.team-66711749fa7a37c6c4474243c7fddecdbe831596.tar.xz
eclipse.platform.team-66711749fa7a37c6c4474243c7fddecdbe831596.zip
Bug 400540 - NPE in testOpenEditorOnRevision and other CVS tests -
disable tests
-rw-r--r--tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/ui/CreatePatchTest.java3
-rw-r--r--tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/ui/EditorTests.java3
2 files changed, 4 insertions, 2 deletions
diff --git a/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/ui/CreatePatchTest.java b/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/ui/CreatePatchTest.java
index 959f386d4..94679726e 100644
--- a/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/ui/CreatePatchTest.java
+++ b/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/ui/CreatePatchTest.java
@@ -89,7 +89,8 @@ public class CreatePatchTest extends EclipseTest {
testProject.delete(true, null);
}
- public void testCreateWorkspacePatch() throws Exception {
+ //TODO Temporary switched off, see Bug 400540
+ public void _testCreateWorkspacePatch() throws Exception {
copyIntoWorkspace("exp_addition.txt", "addition.txt");
openGenerateDiffFileWizard(new IResource[] { testProject });
diff --git a/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/ui/EditorTests.java b/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/ui/EditorTests.java
index c0cb9a24d..8ad44f1d2 100644
--- a/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/ui/EditorTests.java
+++ b/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/ui/EditorTests.java
@@ -49,7 +49,8 @@ public class EditorTests extends EclipseTest {
return new CVSTestSetup(suite);
}
- public void testOpenEditorOnRevision() throws CoreException, InvocationTargetException {
+ //TODO Temporary switched off, see Bug 400540
+ public void _testOpenEditorOnRevision() throws CoreException, InvocationTargetException {
IProject project = createProject(new String[] { "file.cvsTest" });
IEditorPart localPart = IDE.openEditor(PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage(), project.getFile("file.cvsTest"));
assertTrue("The proper local editor was not opened", localPart instanceof TestEditor);

Back to the top