|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcompiler.test.FinalTestCase
public class FinalTestCase
Esta clase contiene el método main para probar el analizador semántico. 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 | |
---|---|
FinalTestCase()
Constructor for FinalTestCase. |
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
Starts the parser test case. |
void |
testSemantic(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 FinalTestCase()
Method Detail |
---|
public static void main(java.lang.String[] args)
args
- An 1 element array containing the path to the input file.public void testSemantic(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 |