net.sourceforge.pmd.lang.java.rule
Class JavaRuleViolationTest

java.lang.Object
  extended by net.sourceforge.pmd.lang.java.rule.JavaRuleViolationTest

public class JavaRuleViolationTest
extends Object

Author:
Philip Graf

Constructor Summary
JavaRuleViolationTest()
           
 
Method Summary
 void testASTFormalParameterVariableName()
          Verifies that JavaRuleViolation sets the variable name for an ASTFormalParameter node.
 void testMethodName()
          Tests that the method name is taken correctly from the given node.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaRuleViolationTest

public JavaRuleViolationTest()
Method Detail

testASTFormalParameterVariableName

public void testASTFormalParameterVariableName()
Verifies that JavaRuleViolation sets the variable name for an ASTFormalParameter node.


testMethodName

public void testMethodName()
Tests that the method name is taken correctly from the given node.

See Also:
#1250


Copyright © 2002–2015 InfoEther. All rights reserved.