net.sourceforge.pmd.lang.plsql.dfa
Class StatementAndBraceFinderTest

java.lang.Object
  extended by net.sourceforge.pmd.lang.plsql.AbstractPLSQLParserTst
      extended by net.sourceforge.pmd.lang.plsql.dfa.StatementAndBraceFinderTest

public class StatementAndBraceFinderTest
extends AbstractPLSQLParserTst


Constructor Summary
StatementAndBraceFinderTest()
           
 
Method Summary
static junit.framework.Test suite()
           
 void testExpressionParentChildLinks()
          Java ASTStatementExpression equivalent is inferred as an Expression() which has an UnlabelledStatement as a parent.
 void testForStmtHasCorrectTypes()
           
 void testIfStmtHasCorrectTypes()
           
 void testLabelledStmtHasCorrectTypes()
           
 void testOnlyWorksForMethodsAndConstructors()
           
 void testSimpleCaseStmtHasCorrectTypes()
           
 void testVariableOrConstantDeclaratorParentChildLinks()
           
 void testWhileStmtHasCorrectTypes()
           
 
Methods inherited from class net.sourceforge.pmd.lang.plsql.AbstractPLSQLParserTst
buildDFA, dumpNodes, getNodes, getNodes, getOrderedNodes, parseLanguage, parsePLSQL, parsePLSQL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatementAndBraceFinderTest

public StatementAndBraceFinderTest()
Method Detail

testExpressionParentChildLinks

public void testExpressionParentChildLinks()
                                    throws Throwable
Java ASTStatementExpression equivalent is inferred as an Expression() which has an UnlabelledStatement as a parent.

Throws:
Throwable

testVariableOrConstantDeclaratorParentChildLinks

public void testVariableOrConstantDeclaratorParentChildLinks()
                                                      throws Throwable
Throws:
Throwable

testIfStmtHasCorrectTypes

public void testIfStmtHasCorrectTypes()
                               throws Throwable
Throws:
Throwable

testWhileStmtHasCorrectTypes

public void testWhileStmtHasCorrectTypes()
                                  throws Throwable
Throws:
Throwable

testForStmtHasCorrectTypes

public void testForStmtHasCorrectTypes()
                                throws Throwable
Throws:
Throwable

testSimpleCaseStmtHasCorrectTypes

public void testSimpleCaseStmtHasCorrectTypes()
                                       throws Throwable
Throws:
Throwable

testLabelledStmtHasCorrectTypes

public void testLabelledStmtHasCorrectTypes()
                                     throws Throwable
Throws:
Throwable

testOnlyWorksForMethodsAndConstructors

public void testOnlyWorksForMethodsAndConstructors()

suite

public static junit.framework.Test suite()


Copyright © 2002–2015 InfoEther. All rights reserved.