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

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

public class BestScoreOfEntityHitCollectorTest
extends junit.framework.TestCase

The Class BestScoreOfEntityHitCollectorTest.

Author:
Kevin Peterson

Constructor Summary
BestScoreOfEntityHitCollectorTest()
           
 
Method Summary
 void testDifferentBoundaryDocsSizes()
          Test different boundary docs sizes.
 void testHitAllMultiplesDifferentScore()
          Test hit all multiples different score.
 void testHitAllMultiplesSameScore()
          Test hit all multiples same score.
 void testHitAllNoMultiples()
          Test hit all no multiples.
 void testMultipleBoundaryDocs()
          Test multiple boundary docs.
 void testMultipleDifferentScores()
          Test multiple different scores.
 void testMultipleHitsAtTheEnd()
          Test multiple hits at the end.
 void testNoBookendBoundaryDocs()
          Test no bookend boundary docs.
 void testNoBoundaryDocAtTheEnd()
          Test multiple hits at the end.
 void testNoHits()
          Test no hits.
 void testScoreComparator()
          Test score comparator.
 
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

BestScoreOfEntityHitCollectorTest

public BestScoreOfEntityHitCollectorTest()
Method Detail

testNoHits

public void testNoHits()
                throws java.lang.Exception
Test no hits.

Throws:
java.lang.Exception - the exception

testHitAllNoMultiples

public void testHitAllNoMultiples()
                           throws java.lang.Exception
Test hit all no multiples.

Throws:
java.lang.Exception - the exception

testHitAllMultiplesSameScore

public void testHitAllMultiplesSameScore()
Test hit all multiples same score.


testHitAllMultiplesDifferentScore

public void testHitAllMultiplesDifferentScore()
Test hit all multiples different score.


testMultipleBoundaryDocs

public void testMultipleBoundaryDocs()
Test multiple boundary docs.


testNoBookendBoundaryDocs

public void testNoBookendBoundaryDocs()
Test no bookend boundary docs.


testDifferentBoundaryDocsSizes

public void testDifferentBoundaryDocsSizes()
Test different boundary docs sizes.


testMultipleDifferentScores

public void testMultipleDifferentScores()
Test multiple different scores.


testMultipleHitsAtTheEnd

public void testMultipleHitsAtTheEnd()
Test multiple hits at the end.


testNoBoundaryDocAtTheEnd

public void testNoBoundaryDocAtTheEnd()
Test multiple hits at the end.


testScoreComparator

public void testScoreComparator()
Test score comparator.


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.