|
||||||||||
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.AbstractTranslatorTest gate.yam.translate.YamTranslatorTests
public class YamTranslatorTests
Unit test for YamTranslator.
Constructor Summary | |
---|---|
YamTranslatorTests(String testName)
Create the test case. |
Method Summary | |
---|---|
Writer |
doTranslation(Reader testReader,
Writer responseWriter,
String outputType,
String testName)
Run the translator and get the response |
String |
getInputSuffix()
Suffix of input files. |
String[] |
getOutputSuffixes()
Suffix of output files. |
String[] |
getTestFilePaths()
Paths of example test files. |
Methods inherited from class gate.yam.AbstractTranslatorTest |
---|
testAll |
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 YamTranslatorTests(String testName)
Method Detail |
---|
public String[] getTestFilePaths()
getTestFilePaths
in class AbstractTranslatorTest
public String getInputSuffix()
getInputSuffix
in class AbstractTranslatorTest
public String[] getOutputSuffixes()
getOutputSuffixes
in class AbstractTranslatorTest
public Writer doTranslation(Reader testReader, Writer responseWriter, String outputType, String testName) throws Exception
doTranslation
in class AbstractTranslatorTest
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |