com.atlassian.bonnie.search
Class TestLuceneSearcher

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bycom.atlassian.bonnie.search.BaseLuceneTest
              extended bycom.atlassian.bonnie.search.TestLuceneSearcher
All Implemented Interfaces:
junit.framework.Test

public class TestLuceneSearcher
extends BaseLuceneTest


Field Summary
 
Fields inherited from class com.atlassian.bonnie.search.BaseLuceneTest
luceneConnection, luceneIndexer, luceneSearcher
 
Constructor Summary
TestLuceneSearcher()
           
 
Method Summary
protected  void setUp()
           
 void testGetAllFieldValues()
           
 void testLongerSearch()
           
 void testMultiFieldSearch()
           
 void testPagingInSearchForFields()
           
 void testSearchByClass()
           
 void testSearchForFieldsNoFieldsSpecified()
           
 void testSearchForFieldsNullFieldsSpecified()
           
 void testSimpleSearch()
           
 void testSimpleSearchForFields()
           
 
Methods inherited from class com.atlassian.bonnie.search.BaseLuceneTest
createSearchableObject, createSearchableObjectDifferentClass, createUnindexable, index, index
 
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

TestLuceneSearcher

public TestLuceneSearcher()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class BaseLuceneTest
Throws:
java.lang.Exception

testSimpleSearch

public void testSimpleSearch()
                      throws java.lang.Exception
Throws:
java.lang.Exception

testLongerSearch

public void testLongerSearch()
                      throws java.lang.Exception
Throws:
java.lang.Exception

testMultiFieldSearch

public void testMultiFieldSearch()
                          throws java.lang.Exception
Throws:
java.lang.Exception

testSearchByClass

public void testSearchByClass()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testSimpleSearchForFields

public void testSimpleSearchForFields()
                               throws java.lang.Exception
Throws:
java.lang.Exception

testSearchForFieldsNoFieldsSpecified

public void testSearchForFieldsNoFieldsSpecified()
                                          throws java.lang.Exception
Throws:
java.lang.Exception

testSearchForFieldsNullFieldsSpecified

public void testSearchForFieldsNullFieldsSpecified()
                                            throws java.lang.Exception
Throws:
java.lang.Exception

testPagingInSearchForFields

public void testPagingInSearchForFields()
                                 throws java.lang.Exception
Throws:
java.lang.Exception

testGetAllFieldValues

public void testGetAllFieldValues()
                           throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2006-2009 Atlassian Software Systems Pty Ltd. All Rights Reserved.