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

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

public class EcmascriptParserTest
extends EcmascriptParserTestBase


Constructor Summary
EcmascriptParserTest()
           
 
Method Summary
 void testArrayAccess()
          Test bug https://sourceforge.net/p/pmd/bugs/1118/
 void testArrayMethod()
          Test for bug #1136 ECAMScript: NullPointerException in getLeft() and getRight()
 void testCaseAsIdentifier()
          https://sourceforge.net/p/pmd/bugs/1150/ #1150 "EmptyExpression" for valid statements!
 void testLineNumbers()
          https://sourceforge.net/p/pmd/bugs/1043/
 void testLineNumbersWithinEcmascriptRules()
          https://sourceforge.net/p/pmd/bugs/1149/
 void testSuppresionComment()
          https://sourceforge.net/p/pmd/bugs/1045/ #1045 //NOPMD not working (or not implemented) with ECMAscript
 void testVoidKeyword()
          #1191 Ecmascript fails to parse "void(0)"
 void testXorAssignment()
          #1192 Ecmascript fails to parse this operator " ^= "
 
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

EcmascriptParserTest

public EcmascriptParserTest()
Method Detail

testLineNumbers

public void testLineNumbers()
https://sourceforge.net/p/pmd/bugs/1043/


testLineNumbersWithinEcmascriptRules

public void testLineNumbersWithinEcmascriptRules()
https://sourceforge.net/p/pmd/bugs/1149/


testArrayAccess

public void testArrayAccess()
Test bug https://sourceforge.net/p/pmd/bugs/1118/


testArrayMethod

public void testArrayMethod()
Test for bug #1136 ECAMScript: NullPointerException in getLeft() and getRight()


testCaseAsIdentifier

public void testCaseAsIdentifier()
https://sourceforge.net/p/pmd/bugs/1150/ #1150 "EmptyExpression" for valid statements!


testSuppresionComment

public void testSuppresionComment()
https://sourceforge.net/p/pmd/bugs/1045/ #1045 //NOPMD not working (or not implemented) with ECMAscript


testVoidKeyword

public void testVoidKeyword()
#1191 Ecmascript fails to parse "void(0)"


testXorAssignment

public void testXorAssignment()
#1192 Ecmascript fails to parse this operator " ^= "



Copyright © 2002–2015 InfoEther. All rights reserved.