|
||||||||||
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.wiki.antlr.AntlrYAMTest
public class AntlrYAMTest
JUnit testing for the YAM lexer generated by Antlr.
Constructor Summary | |
---|---|
AntlrYAMTest(String name)
|
Method Summary | |
---|---|
boolean |
compare(BufferedReader test,
BufferedReader correct)
|
static void |
main(String[] args)
|
void |
setUp()
|
static junit.framework.Test |
suite()
|
void |
testTranslate()
Tests translation from YAM to HTML |
void |
testTranslateAgain()
Needed to make sure that code runs correctly if it's invoked twice |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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 AntlrYAMTest(String name)
Method Detail |
---|
public static void main(String[] args)
public void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
public static junit.framework.Test suite()
public void testTranslate() throws IOException
IOException
public void testTranslateAgain() throws IOException
IOException
public boolean compare(BufferedReader test, BufferedReader correct) throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |