edu.rice.cs.javalanglevels
Class JExprParserTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by 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


Constructor Summary
JExprParserTest()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JExprParserTest

public JExprParserTest()
Method Detail

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