gate.creole
Class TestCreoleAnnotationHandler

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by gate.creole.TestCreoleAnnotationHandler
All Implemented Interfaces:
junit.framework.Test

public class TestCreoleAnnotationHandler
extends junit.framework.TestCase

Test for the CreoleAnnotationHandler, compares the XML produced by the annotation handler to an expected result.


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
 

Constructor Detail

TestCreoleAnnotationHandler

public TestCreoleAnnotationHandler(String name)
                            throws GateException
Construction

Throws:
GateException
Method Detail

setUp

public void setUp()
           throws Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

testCreoleAnnotationHandler

public void testCreoleAnnotationHandler()
                                 throws Exception
Take a skeleton creole.xml file, process the annotations on the classes it mentions and compare the resulting XML to the expected result.

Throws:
Exception

suite

public static junit.framework.Test suite()
Test suite routine for the test runner