Package net.sourceforge.pmd.lang
Class ParserOptionsTest
- java.lang.Object
-
- net.sourceforge.pmd.lang.ParserOptionsTest
-
@Deprecated public class ParserOptionsTest extends Object
Deprecated.for removal in PMD 7.0. UseParserOptionsTestUtils.Unit tests forParserOptions.
-
-
Constructor Summary
Constructors Constructor Description ParserOptionsTest()Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidtestEqualsHashcode()Deprecated.Verify that the equals and hashCode methods work as expected.voidtestSuppressMarker()Deprecated.SuppressMarker should be initially null and changeable.static voidverifyOptionsEqualsHashcode(ParserOptions options1, ParserOptions options2, ParserOptions options3, ParserOptions options4)Deprecated.Verify equals and hashCode for 4ParserOptionsinstances.
-
-
-
Method Detail
-
testSuppressMarker
public void testSuppressMarker()
Deprecated.SuppressMarker should be initially null and changeable.
-
testEqualsHashcode
public void testEqualsHashcode()
Deprecated.Verify that the equals and hashCode methods work as expected.
-
verifyOptionsEqualsHashcode
public static void verifyOptionsEqualsHashcode(ParserOptions options1, ParserOptions options2, ParserOptions options3, ParserOptions options4)
Deprecated.Verify equals and hashCode for 4ParserOptionsinstances. The given options should be as follows: 1 and 3 are equals, as are 2 and 4.- Parameters:
options1- first option instance - equals thirdoptions2- second option instance - equals fourthoptions3- third option instance - equals firstoptions4- fourth option instance - equals second
-
-