edu.mayo.informatics.indexer.lucene.hitcollector
Class BitSetBestScoreOfEntityHitCollectorTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by edu.mayo.informatics.indexer.lucene.hitcollector.BitSetBestScoreOfEntityHitCollectorTest
All Implemented Interfaces:
junit.framework.Test

public class BitSetBestScoreOfEntityHitCollectorTest
extends junit.framework.TestCase

The Class BestScoreOfEntityHitCollectorTest.

Author:
Kevin Peterson

Constructor Summary
BitSetBestScoreOfEntityHitCollectorTest()
           
 
Method Summary
protected  boolean checkBitSet(java.util.BitSet bitSet, int... setBits)
           
 void testDifferentBoundaryDocsSizes()
           
 void testHitAllMultiplesDifferentScore()
           
 void testHitAllMultiplesSameScore()
           
 void testHitAllNoMultiples()
           
 void testMultipleBoundaryDocs()
           
 void testMultipleDifferentScores()
           
 void testMultipleHitsAtTheEnd()
           
 void testNoBookendBoundaryDocs()
           
 void testNoBookendBoundaryDocsTwoMatches()
           
 void testNoBoundaryDocAtTheEnd()
           
 void testNoHits()
           
 void testScoreComparator()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BitSetBestScoreOfEntityHitCollectorTest

public BitSetBestScoreOfEntityHitCollectorTest()
Method Detail

testNoHits

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

testHitAllNoMultiples

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

testHitAllMultiplesSameScore

public void testHitAllMultiplesSameScore()

testHitAllMultiplesDifferentScore

public void testHitAllMultiplesDifferentScore()

testMultipleBoundaryDocs

public void testMultipleBoundaryDocs()

testNoBookendBoundaryDocs

public void testNoBookendBoundaryDocs()

testNoBookendBoundaryDocsTwoMatches

public void testNoBookendBoundaryDocsTwoMatches()

testDifferentBoundaryDocsSizes

public void testDifferentBoundaryDocsSizes()

testMultipleDifferentScores

public void testMultipleDifferentScores()

testMultipleHitsAtTheEnd

public void testMultipleHitsAtTheEnd()

testNoBoundaryDocAtTheEnd

public void testNoBoundaryDocAtTheEnd()

testScoreComparator

public void testScoreComparator()

checkBitSet

protected boolean checkBitSet(java.util.BitSet bitSet,
                              int... setBits)

Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER.