edu.rice.cs.javalanglevels
Class JExprParserTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
edu.rice.cs.javalanglevels.JExprParserTest
- All Implemented Interfaces:
- Test
public class JExprParserTest
- extends TestCase
Test the JExprParser by trying to parse all files in the testFiles directory that end in .test,
writing the output to a file of the same name ending in .actual, and comparing that file to
the file of the same name in the testFiles directory that ends with .expected
|
Method Summary |
void |
testParseSucceeds()
Takes an array of test files and feeds them into the JExprParser. |
| Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString |
| Methods inherited from class junit.framework.Assert |
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, fail, fail, failNotEquals, failNotSame, failSame |
JExprParserTest
public JExprParserTest()
testParseSucceeds
public void testParseSucceeds()
throws IOException,
ParseException
- Takes an array of test files and feeds them into the JExprParser. These files should
succeed.
- Throws:
IOException
ParseException