public class EcmascriptParserTest extends EcmascriptParserTestBase
Constructor and Description |
---|
EcmascriptParserTest() |
Modifier and Type | Method and Description |
---|---|
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 " ^= "
|
dump, parse, parse18
public void testLineNumbers()
public void testLineNumbersWithinEcmascriptRules()
public void testArrayAccess()
public void testArrayMethod()
public void testCaseAsIdentifier()
public void testSuppresionComment()
public void testVoidKeyword()
public void testXorAssignment()
Copyright © 2002–2014 InfoEther. All rights reserved.