GATE
Version 3.1-2270

gate.creole.morph
Class TestMorph

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

public class TestMorph
extends junit.framework.TestCase

Title: TestMorph

Description:

Copyright: Copyright (c) 2000

Company: University Of Sheffield

Version:
1.0
Author:
not attributable

Constructor Summary
TestMorph(String dummy)
           
 
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()
           
 void testNouns()
          Test the morpher on nouns, if their roots are identified correctly or not
 void testVerbs()
          Test the morpher on verbs, if their roots are identified correctly or not
 
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

TestMorph

public TestMorph(String dummy)
Method Detail

setUp

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

Overrides:
setUp in class junit.framework.TestCase

testVerbs

public void testVerbs()
Test the morpher on verbs, if their roots are identified correctly or not


testNouns

public void testNouns()
Test the morpher on nouns, if their roots are identified correctly or not


suite

public static junit.framework.Test suite()

GATE
Version 3.1-2270