net.sourceforge.pmd.lang.java.ast
Class ParserCornersTest

java.lang.Object
  extended by net.sourceforge.pmd.lang.java.ParserTst
      extended by net.sourceforge.pmd.lang.java.ast.ParserCornersTest

public class ParserCornersTest
extends ParserTst


Constructor Summary
ParserCornersTest()
           
 
Method Summary
 void emptyFileJustComment()
          Test for https://sourceforge.net/p/pmd/bugs/1355/
 void testCastLookaheadProblem()
           
 void testGenericsProblem()
          Tests a specific generic notation for calling methods.
 void testGetFirstASTNameImageNull()
           
 void testInnerOuterClass()
          #1107 PMD 5.0.4 couldn't parse call of parent outer java class method from inner class
 void testLambdaBug1333()
          Test for https://sourceforge.net/p/pmd/bugs/1333/
 void testMultipleExceptionCatching()
           
 void testParsersCases()
           
 
Methods inherited from class net.sourceforge.pmd.lang.java.ParserTst
buildDFA, dumpNodes, getNodes, getNodes, getOrderedNodes, parseJava, parseJava13, parseJava14, parseJava15, parseJava17, parseJava18
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParserCornersTest

public ParserCornersTest()
Method Detail

testInnerOuterClass

public void testInnerOuterClass()
                         throws Exception
#1107 PMD 5.0.4 couldn't parse call of parent outer java class method from inner class

Throws:
Exception - any error

testGetFirstASTNameImageNull

public final void testGetFirstASTNameImageNull()
                                        throws Throwable
Throws:
Throwable

testCastLookaheadProblem

public final void testCastLookaheadProblem()
                                    throws Throwable
Throws:
Throwable

testGenericsProblem

public void testGenericsProblem()
Tests a specific generic notation for calling methods. See: https://jira.codehaus.org/browse/MPMD-139


testParsersCases

public void testParsersCases()

testLambdaBug1333

public void testLambdaBug1333()
Test for https://sourceforge.net/p/pmd/bugs/1333/


emptyFileJustComment

public void emptyFileJustComment()
Test for https://sourceforge.net/p/pmd/bugs/1355/


testMultipleExceptionCatching

public void testMultipleExceptionCatching()


Copyright © 2002–2015 InfoEther. All rights reserved.