|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
com.atlassian.bonnie.TestLuceneConnection
| Constructor Summary | |
TestLuceneConnection()
|
|
| Method Summary | |
protected void |
setUp()
|
protected void |
tearDown()
|
void |
testCustomConfiguration()
Test that Bonnie does its weird stuff with the int flags that are passed to withWriter(Action, int). |
void |
testDefaultConfiguration()
Test that Bonnie does its weird stuff with the int flags that are passed to withWriter(Action, int). |
void |
testMultiThreaded()
|
void |
testSearch()
NOTE: this test requires the use of a FSDirectory and multifile index format to test that close is properly being called. |
void |
testSetReindexing()
|
void |
testUnlockIfNeeded()
|
| 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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public TestLuceneConnection()
| Method Detail |
protected void setUp()
throws java.lang.Exception
java.lang.Exception
protected void tearDown()
throws java.lang.Exception
java.lang.Exception
public void testSetReindexing()
throws java.io.IOException
java.io.IOException
public void testUnlockIfNeeded()
throws java.io.IOException
java.io.IOException
public void testSearch()
throws java.io.IOException
java.io.IOException
public void testMultiThreaded()
throws java.lang.InterruptedException
java.lang.InterruptedException
public void testDefaultConfiguration()
throws java.lang.Exception
java.lang.Exception
public void testCustomConfiguration()
throws java.lang.Exception
java.lang.Exception
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||