public class

TestLuceneHandleBasedSubsetResultFilter

extends ConfluenceTestCase
java.lang.Object
   ↳ junit.framework.Assert
     ↳ junit.framework.TestCase
       ↳ com.atlassian.confluence.ConfluenceTestCase
         ↳ com.atlassian.confluence.search.v2.lucene.resultfilter.TestLuceneHandleBasedSubsetResultFilter

Summary

[Expand]
Inherited Fields
From class com.atlassian.confluence.ConfluenceTestCase
Public Constructors
TestLuceneHandleBasedSubsetResultFilter()
Public Methods
void setUp()
void testDontSearchForHandlePastMaxHitsToSearch()
void testFilterChangeDocResults()
void testFilterContentDocResults()
void testInitialization()
void testIterationStopsWhenHitsSearchedIsBeyondLimitEvenIfAFullPageOfResultsHasNotBeenCollected()
void testOnlyPermitHandleBasedPaginationWithinTheBoundsMaxHitsToSearch()
Asking for a page size of 10 results staring from a handle positioned at the (MAX_HITS - 5)th rank should only return 5 results.
void testWhenHandleHasBeenRemovedOrDoesntExist()
[Expand]
Inherited Methods
From class com.atlassian.confluence.ConfluenceTestCase
From class junit.framework.TestCase
From class junit.framework.Assert
From class java.lang.Object
From interface junit.framework.Test

Public Constructors

public TestLuceneHandleBasedSubsetResultFilter ()

Public Methods

public void setUp ()

Throws
Exception

public void testDontSearchForHandlePastMaxHitsToSearch ()

Throws
IOException

public void testFilterChangeDocResults ()

Throws
IOException

public void testFilterContentDocResults ()

Throws
IOException

public void testInitialization ()

public void testIterationStopsWhenHitsSearchedIsBeyondLimitEvenIfAFullPageOfResultsHasNotBeenCollected ()

Throws
IOException

public void testOnlyPermitHandleBasedPaginationWithinTheBoundsMaxHitsToSearch ()

Asking for a page size of 10 results staring from a handle positioned at the (MAX_HITS - 5)th rank should only return 5 results.

Throws
IOException

public void testWhenHandleHasBeenRemovedOrDoesntExist ()

Throws
IOException