|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--junit.framework.Assert | +--junit.framework.TestCase | +--gate.creole.ir.TestIndex
Field Summary | |
private Corpus |
corpus
|
private DataStore |
sds
|
private static String |
TEMP_LOCATION
|
Fields inherited from class junit.framework.TestCase |
|
Constructor Summary | |
TestIndex(String name)
|
Method Summary | |
static void |
main(String[] args)
|
void |
setUp()
Fixture set up |
static junit.framework.Test |
suite()
Test suite routine for the test runner |
void |
tearDown()
Put things back as they should be after running tests (reinitialise the CREOLE register). |
void |
testIndex_01()
Create new index. |
void |
testIndex_02()
Optimize existing index. |
void |
testIndex_10()
Search in existing index. |
void |
testIndex_101()
Delete index. |
void |
testIndex_11()
|
void |
testIndex_12()
|
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, 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 |
private static String TEMP_LOCATION
private Corpus corpus
private DataStore sds
Constructor Detail |
public TestIndex(String name) throws GateException
Method Detail |
public void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
public void tearDown() throws Exception
tearDown
in class junit.framework.TestCase
Exception
public static junit.framework.Test suite()
public void testIndex_01() throws IndexException
IndexException
public void testIndex_02() throws IndexException
IndexException
public void testIndex_10() throws IndexException, SearchException
IndexException
SearchException
public void testIndex_11()
public void testIndex_12()
public void testIndex_101() throws IndexException
IndexException
public static void main(String[] args)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |