public class ParserOptionsTest extends Object
ParserOptions
.Constructor and Description |
---|
ParserOptionsTest() |
Modifier and Type | Method and Description |
---|---|
void |
testEqualsHashcode()
Verify that the equals and hashCode methods work as expected.
|
void |
testSuppressMarker()
SuppressMarker should be initially null and changeable.
|
static void |
verifyOptionsEqualsHashcode(ParserOptions options1,
ParserOptions options2,
ParserOptions options3,
ParserOptions options4)
Verify equals and hashCode for 4
ParserOptions instances. |
public void testSuppressMarker()
public void testEqualsHashcode()
public static void verifyOptionsEqualsHashcode(ParserOptions options1, ParserOptions options2, ParserOptions options3, ParserOptions options4)
ParserOptions
instances.
The given options should be as follows: 1 and 3 are equals, as are 2 and 4.options1
- first option instance - equals thirdoptions2
- second option instance - equals fourthoptions3
- third option instance - equals firstoptions4
- fourth option instance - equals secondCopyright © 2002-2017 PMD. All Rights Reserved.