gate.creole.annic.test
Class TestAnnic

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

public class TestAnnic
extends junit.framework.TestCase

A class to test ANNIC Functionalities.

Author:
niraj

Constructor Summary
TestAnnic(String dummy)
          Constructor
 
Method Summary
protected  void setUp()
          This method sets up the parameters for the files to be testes It initialises the Tokenizer and sets up the other parameters for the morph program
static junit.framework.Test suite()
          A Method that is called from gate.TestGate to invoke the testing methods.
protected  void tearDown()
          Called when tests ends
 void testAnnicIndexing()
          Testing the annic indexing functionalities
 void testSearcher()
          Testing annic searching functionalities.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestAnnic

public TestAnnic(String dummy)
Constructor

Parameters:
dummy -
Method Detail

setUp

protected void setUp()
              throws Exception
This method sets up the parameters for the files to be testes It initialises the Tokenizer and sets up the other parameters for the morph program

Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

tearDown

protected void tearDown()
                 throws Exception
Called when tests ends

Overrides:
tearDown in class junit.framework.TestCase
Throws:
Exception

testAnnicIndexing

public void testAnnicIndexing()
                       throws Exception
Testing the annic indexing functionalities

Throws:
Exception

testSearcher

public void testSearcher()
                  throws Exception
Testing annic searching functionalities.

Throws:
Exception

suite

public static junit.framework.Test suite()
A Method that is called from gate.TestGate to invoke the testing methods.