From e32090a76bc66fff0f39d47cb05d72d2b901b01b Mon Sep 17 00:00:00 2001 From: Heiko Klare Date: Thu, 14 May 2026 11:46:59 +0200 Subject: [PATCH] Fix warnings in test plugins - Suppress warning for removal of tested class (test class already being deprecated as well) - Remove outdated and invalid entries from plugin.xml (referenced classes not being present anymore) - Fix path capitalization in plugin.xml --- .../tests/rules/DefaultPartitionerTest.java | 3 +++ tests/org.eclipse.ui.tests/plugin.xml | 17 +---------------- 2 files changed, 4 insertions(+), 16 deletions(-) diff --git a/tests/org.eclipse.jface.text.tests/src/org/eclipse/jface/text/tests/rules/DefaultPartitionerTest.java b/tests/org.eclipse.jface.text.tests/src/org/eclipse/jface/text/tests/rules/DefaultPartitionerTest.java index eb807c8ffcc..586e787494a 100644 --- a/tests/org.eclipse.jface.text.tests/src/org/eclipse/jface/text/tests/rules/DefaultPartitionerTest.java +++ b/tests/org.eclipse.jface.text.tests/src/org/eclipse/jface/text/tests/rules/DefaultPartitionerTest.java @@ -21,11 +21,14 @@ @Deprecated public class DefaultPartitionerTest extends FastPartitionerTest { + @Deprecated + @SuppressWarnings("removal") @Override protected IDocumentPartitioner createPartitioner(IPartitionTokenScanner scanner) { return new DefaultPartitioner(scanner, new String[] { DEFAULT, COMMENT }); } + @Deprecated @Override @Test public void testPR130900() throws Exception { diff --git a/tests/org.eclipse.ui.tests/plugin.xml b/tests/org.eclipse.ui.tests/plugin.xml index eb2e3396754..5dbc053ba98 100644 --- a/tests/org.eclipse.ui.tests/plugin.xml +++ b/tests/org.eclipse.ui.tests/plugin.xml @@ -15,12 +15,6 @@ - - - - - +