|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase gate.yam.translate.LaTeXConstantsTests
public class LaTeXConstantsTests
Check that all the YAM parse tree nodes are associated with an appropriate set of constants.
Field Summary |
---|
Fields inherited from interface gate.yam.translate.LaTeXConstants |
---|
citationAttr, citationAttrs, footnoteAttrs, imageAttrs, includeAttrs, latexConstantsTable, latexPredicatesTable |
Fields inherited from interface gate.yam.parse.YamParserTreeConstants |
---|
JJTANCHOR, JJTBR, JJTCOLUMN, JJTCONTENTS, JJTCONTROL, JJTESCAPE, JJTHR, JJTLIST, JJTLISTITEM, JJTNBSP, jjtNodeName, JJTOLIST, JJTPARAGRAPH, JJTPLAIN, JJTPREDICATE, JJTROW, JJTSECTIONHEAD, JJTSECTIONTEXT, JJTSEP, JJTTABLE, JJTTABLESEP, JJTTARGETCONTROL, JJTTEXT, JJTTEXTORTABLE, JJTTITLE, JJTULIST, JJTUNIT, JJTURL, JJTVERBATIM, JJTWHSP, JJTWORD, JJTYAMDOCUMENT |
Fields inherited from interface gate.yam.translate.TranslationConstants |
---|
CONSTANTEND, CONSTANTNAME, CONSTANTSTART |
Constructor Summary | |
---|---|
LaTeXConstantsTests(String testName)
Create the test case. |
Method Summary | |
---|---|
String[][] |
getConstantsTable()
Array mapping node type name to start/end strings (DUMMY). |
String |
getPreamblePath()
Get the path to the preamble resource (DUMMY). |
Object[][] |
getPredicatesTable()
Array mapping predicate type name to attributes (DUMMY). |
void |
testConstants()
Check LaTeXConstants against YamParserTreeConstants. |
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 |
---|
public LaTeXConstantsTests(String testName)
Method Detail |
---|
public void testConstants()
public String getPreamblePath()
getPreamblePath
in interface TranslationConstants
public String[][] getConstantsTable()
getConstantsTable
in interface TranslationConstants
public Object[][] getPredicatesTable()
getPredicatesTable
in interface TranslationConstants
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |