[core] Remove deprecated XPathVersions

This commit is contained in:
Andreas Dangel
2024-02-06 20:18:03 +01:00
parent 5c69ec0360
commit 3ec38df9b0
21 changed files with 13 additions and 92 deletions

View File

@ -22,28 +22,9 @@ class PLSQLXPathRuleTest extends AbstractPLSQLParserTst {
+ " a_variable VARCHAR2(1);\n" + " BEGIN \n" + " --PRAGMA INLINE(output,'YES');\n"
+ " a_variable := 'Y' ;\n" + " END ;\n" + "end pkg_xpath_problem;\n" + "/\n";
/**
* See https://sourceforge.net/p/pmd/bugs/1166/
*/
@Test
void testXPathRule1() {
testOnVersion(XPathVersion.XPATH_1_0);
}
/**
* See https://sourceforge.net/p/pmd/bugs/1166/
*/
@Test
void testXPathRule1Compatibility() {
testOnVersion(XPathVersion.XPATH_1_0_COMPATIBILITY);
}
/**
* See https://sourceforge.net/p/pmd/bugs/1166/
*/
@Test
void testXPathRule2() {
testOnVersion(XPathVersion.XPATH_2_0);
void testXPathRule() {
testOnVersion(XPathVersion.DEFAULT);
}