|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
gate.creole.TestCreoleAnnotationHandler
public class TestCreoleAnnotationHandler
Test for the CreoleAnnotationHandler, compares the XML produced by the annotation handler to an expected result.
| Field Summary | |
|---|---|
private DocumentBuilderFactory |
jaxpFactory
|
private org.jdom.output.DOMOutputter |
jdom2dom
|
private org.jdom.input.SAXBuilder |
jdomBuilder
|
| Constructor Summary | |
|---|---|
TestCreoleAnnotationHandler(String name)
Construction |
|
| Method Summary | |
|---|---|
void |
setUp()
|
static junit.framework.Test |
suite()
Test suite routine for the test runner |
void |
testCreoleAnnotationHandler()
Take a skeleton creole.xml file, process the annotations on the classes it mentions and compare the resulting XML to the expected result. |
| 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private org.jdom.input.SAXBuilder jdomBuilder
private org.jdom.output.DOMOutputter jdom2dom
private DocumentBuilderFactory jaxpFactory
| Constructor Detail |
|---|
public TestCreoleAnnotationHandler(String name)
throws GateException
GateException| Method Detail |
|---|
public void setUp()
throws Exception
setUp in class junit.framework.TestCaseException
public void testCreoleAnnotationHandler()
throws Exception
Exceptionpublic static junit.framework.Test suite()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||