From 95d0cf47334163f9bcf32707cfbd406980ad0e47 Mon Sep 17 00:00:00 2001 From: Andreas Dangel Date: Mon, 12 Feb 2024 18:09:57 +0100 Subject: [PATCH] [apex] ApexXPathRuleTest - remove old test This was testing a deprecated XPath attribute, but that attribute was already removed. --- .../sourceforge/pmd/lang/apex/rule/ApexXPathRuleTest.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/pmd-apex/src/test/java/net/sourceforge/pmd/lang/apex/rule/ApexXPathRuleTest.java b/pmd-apex/src/test/java/net/sourceforge/pmd/lang/apex/rule/ApexXPathRuleTest.java index d0ed340497..b77d52b47a 100644 --- a/pmd-apex/src/test/java/net/sourceforge/pmd/lang/apex/rule/ApexXPathRuleTest.java +++ b/pmd-apex/src/test/java/net/sourceforge/pmd/lang/apex/rule/ApexXPathRuleTest.java @@ -38,11 +38,4 @@ class ApexXPathRuleTest extends ApexParserTestBase { "BooleanExpressions.cls"); assertSize(report, 1); } - - @Test - void testOldOperatorProperty() { - Report report = apex.executeRuleOnResource(makeXPath("//BooleanExpression[@Operator='&&']"), - "BooleanExpressions.cls"); - assertSize(report, 0); // retired - } }