Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
criado classe de test analise semantica
- Loading branch information
Showing
14 changed files
with
630 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -137,7 +137,6 @@ module | |
variableList | ||
IDENTIFIER.result | ||
SYMBOL.) | ||
block | ||
definitionPart | ||
definition | ||
variableDef | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
src/test/java/analise/semantica/AnalisadorSemanticoTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package analise.semantica; | ||
|
||
import analise.AnaliseTestCase; | ||
|
||
public class AnalisadorSemanticoTest extends AnaliseTestCase { | ||
|
||
public void testAddTSConstantName() { | ||
String codigoFonte = this.loadResourceNamed("semantica/constantName.gcl"); | ||
AnalisadorSemantico analisador = this.buildAnalisadorSemantico(codigoFonte); | ||
analisador.analisaNo(); | ||
|
||
} | ||
|
||
|
||
|
||
} |
3 changes: 2 additions & 1 deletion
3
src/test/java/analise/sintatica/AnaliseSintaticaIntegracaoTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
src/test/java/analise/sintatica/AnaliseSintaticaUnitarioTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
src/test/java/analise/sintatica/ArvoreSintaticaAbstrataTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.