Update of /cvsroot/nice/Nice/src/nice/tools/testsuite
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1421/src/nice/tools/testsuite
Modified Files:
TestCase.java
Log Message:
Defined a parser interface, and made the core independent of the implementation
of the parser. This makes bootstrap and future modifications simpler.
Index: TestCase.java
===================================================================
RCS file: /cvsroot/nice/Nice/src/nice/tools/testsuite/TestCase.java,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -d -r1.28 -r1.29
*** TestCase.java 20 Feb 2004 02:51:57 -0000 1.28
--- TestCase.java 30 Jun 2004 14:12:35 -0000 1.29
***************
*** 325,331 ****
*/
private int compilePackage(String packageName) throws TestSuiteException {
! nice.tools.compiler.console.ConsoleOutput output =
nice.tools.compiler.console.fun.consoleOutput();
! Compilation compilation = bossa.modules.fun.createCompilation(output);
String tempDir = TestNice.getTempFolder().getAbsolutePath();
compilation.sourcePath = tempDir;
--- 325,332 ----
*/
private int compilePackage(String packageName) throws TestSuiteException {
! nice.tools.compiler.console.ConsoleOutput output =
nice.tools.compiler.console.fun.consoleOutput();
! Compilation compilation = bossa.modules.fun.createCompilation
! (output, new bossa.parser.JavaccParser());
String tempDir = TestNice.getTempFolder().getAbsolutePath();
compilation.sourcePath = tempDir;
|