public class BugsTest
extends junit.framework.TestCase
| Constructor and Description |
|---|
BugsTest(String name)
Creates a new BugsTest instance
|
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
testBug1563324()
Tests [ 1563324 ] getValueAsObject always return null after an error
JEP 2.4.0 checks the
errorList variable before evaluating
an expression if there is an error in the list, null is returned. |
void |
testHasError()
Tests [ 1562371 ] ParseException not sets jep.hasError() flag.
|
void |
testOpSetBug()
Tests the uninitialized OperatorSet bug 1061200
|
void |
testSetAllowUndeclared()
Tests bug [ 1585128 ] setAllowUndeclared does not work!!!
setAllowedUndeclared should add variables to the symbol table.
|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, setName, toStringpublic BugsTest(String name)
public void setUp()
setUp in class junit.framework.TestCasepublic void testOpSetBug()
public void testHasError()
public void testSetAllowUndeclared()
public void testBug1563324()
errorList variable before evaluating
an expression if there is an error in the list, null is returned. This
behaviour is bad because errors are added to the list by
getValueAsObject. If the first evaluation fails (after a successful parse)
then an error is added to the list. Subsequent calls to getValueAsObject
fail because there is an error in the list.Jas4pp 1.5 © Java Analysis Studio for Particle Physics