gate.wordnet
Class TestWordNet

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--gate.wordnet.TestWordNet
All Implemented Interfaces:
junit.framework.Test

public class TestWordNet
extends junit.framework.TestCase


Field Summary
private static IndexFileWordNetImpl wnMain
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
TestWordNet(String dummy)
           
 
Method Summary
private  void checkSynset(Synset s, String gloss, int numWords)
           
static void main(String[] args)
           
protected  void setUp()
           
static junit.framework.Test suite()
          Test suite routine for the test runner
 void testWN_01()
           
 void testWN_02()
           
 void testWN_03()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, 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

wnMain

private static IndexFileWordNetImpl wnMain
Constructor Detail

TestWordNet

public TestWordNet(String dummy)
Method Detail

main

public static void main(String[] args)

testWN_01

public void testWN_01()
               throws Exception
Exception

testWN_02

public void testWN_02()
               throws Exception
Exception

testWN_03

public void testWN_03()
               throws Exception
Exception

checkSynset

private void checkSynset(Synset s,
                         String gloss,
                         int numWords)

suite

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


setUp

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