|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.pmd.lang.dfa.report.ViolationNodeTest
public final class ViolationNodeTest
Constructor Summary | |
---|---|
ViolationNodeTest()
|
Method Summary | |
---|---|
void |
testEqualsNodeWithTwoDifferentViolationsDifferentBeginColumn()
Verifies that two violations nodes with different beginColumn are not equal. |
void |
testEqualsNodeWithTwoDifferentViolationsDifferentBeginLine()
Verifies that two violations nodes with different beginLine are not equal. |
void |
testEqualsNodeWithTwoDifferentViolationsDifferentEndColumn()
Verifies that two violations nodes with different endColumn are not equal. |
void |
testEqualsNodeWithTwoDifferentViolationsDifferentEndLine()
Verifies that two violations nodes with different endLine are not equal. |
void |
testEqualsNodeWithTwoDifferentViolationsDifferentFilename()
Verifies that two violations nodes with different filename are not equal. |
void |
testEqualsNodeWithTwoDifferentViolationsDifferentVariableName()
Verifies that two violations with different variableName are not equal. |
void |
testEqualsNodeWithTwoEqualViolations()
Verifies that two violations nodes with equal filename, beginLine, endLine, beginColumn, endColumn and
variableName are equal. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ViolationNodeTest()
Method Detail |
---|
public void testEqualsNodeWithTwoEqualViolations()
filename, beginLine, endLine, beginColumn, endColumn
and
variableName
are equal.
public void testEqualsNodeWithTwoDifferentViolationsDifferentFilename()
filename
are not equal.
public void testEqualsNodeWithTwoDifferentViolationsDifferentBeginLine()
beginLine
are not equal.
public void testEqualsNodeWithTwoDifferentViolationsDifferentEndLine()
endLine
are not equal.
public void testEqualsNodeWithTwoDifferentViolationsDifferentBeginColumn()
beginColumn
are not equal.
public void testEqualsNodeWithTwoDifferentViolationsDifferentEndColumn()
endColumn
are not equal.
public void testEqualsNodeWithTwoDifferentViolationsDifferentVariableName()
variableName
are not equal.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |