Bug 377075 - Ant Augment Task id reference failure - removed extraneous
test from cherry-pick
diff --git a/ant/org.eclipse.ant.tests.ui/Ant Editor Tests/org/eclipse/ant/tests/ui/editor/AntEditorTests.java b/ant/org.eclipse.ant.tests.ui/Ant Editor Tests/org/eclipse/ant/tests/ui/editor/AntEditorTests.java
index 1e3a829..5c8423f 100644
--- a/ant/org.eclipse.ant.tests.ui/Ant Editor Tests/org/eclipse/ant/tests/ui/editor/AntEditorTests.java
+++ b/ant/org.eclipse.ant.tests.ui/Ant Editor Tests/org/eclipse/ant/tests/ui/editor/AntEditorTests.java
@@ -211,17 +211,6 @@
assertEquals("Selection is not correct", "target", selection.getText());
}
- public void testExtensionPointOpenDeclaration() throws PartInitException, BadLocationException {
- IFile file= getIFile("antextpoint.xml");
- AntEditor editor= (AntEditor)EditorTestHelper.openInEditor(file, "org.eclipse.ant.ui.internal.editor.AntEditor", true);
- int offset = getOffsetWithinLine(editor, 0, 18);
- editor.selectAndReveal(offset, 4);
-
- editor.openReferenceElement();
- ITextSelection selection= (ITextSelection) editor.getSelectionProvider().getSelection();
- assertEquals("Selection is not correct", "extension-point", selection.getText());
- }
-
/**
* Tests that the augment task can open in the Ant editor
* @see https://bugs.eclipse.org/bugs/show_bug.cgi?id=377075