net.sourceforge.pmd.lang.ecmascript.ast
Class ASTTryStatementTest

java.lang.Object
  extended by net.sourceforge.pmd.lang.ecmascript.ast.EcmascriptParserTestBase
      extended by net.sourceforge.pmd.lang.ecmascript.ast.ASTTryStatementTest

public class ASTTryStatementTest
extends EcmascriptParserTestBase

See the following bugs: #1141 ECMAScript: getFinallyBlock() is buggy. #1142 ECMAScript: getCatchClause() is buggy


Constructor Summary
ASTTryStatementTest()
           
 
Method Summary
 void testCatchAndFinallyBlock()
           
 void testCatchBlockOnly()
           
 void testFinallyBlockOnly()
           
 void testMultipleCatchAndFinallyBlock()
           
 
Methods inherited from class net.sourceforge.pmd.lang.ecmascript.ast.EcmascriptParserTestBase
dump, parse, parse18
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ASTTryStatementTest

public ASTTryStatementTest()
Method Detail

testFinallyBlockOnly

public void testFinallyBlockOnly()

testCatchBlockOnly

public void testCatchBlockOnly()

testCatchAndFinallyBlock

public void testCatchAndFinallyBlock()

testMultipleCatchAndFinallyBlock

public void testMultipleCatchAndFinallyBlock()


Copyright © 2002–2015 InfoEther. All rights reserved.