|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcompiler.test.SyntaxTestCase
public class SyntaxTestCase
Esta clase contiene el método main para probar el analizador sintáctico. Puede modificarse si el alumno lo cree necesario, pero debe mantenerse el nombre de la clase y su formato de invocación (un parámetro de entrada a main que contenga la ruta de un archivo fuente en modula 12. Antes de ejecutarla hay que haber llamado a la tarea 'build' de ant.
Constructor Summary | |
---|---|
SyntaxTestCase()
Constructor for SyntaxisTestCase. |
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
Starts the parser test case. |
void |
testParse(java.lang.String fileName)
Tests the parser agains a test file. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SyntaxTestCase()
Method Detail |
---|
public static void main(java.lang.String[] args)
args
- An 1 element array containing the path to the input file.public void testParse(java.lang.String fileName)
fileName
- The path of the file test.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |