com.atlassian.bonnie.search.summary
Class TestSummarizer

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

public class TestSummarizer
extends junit.framework.TestCase


Field Summary
static org.apache.log4j.Category LOG
           
 
Constructor Summary
TestSummarizer()
           
 
Method Summary
 void testBlankSummary()
           
 void testHighlightWildcards()
           
 void testLotsofFragments()
           
 void testMultipleFragments()
           
 void testNoEarlyTruncation()
           
 void testSimpleSummary()
           
 void testStopWordsAtStart()
           
 void testSummarizeShortText()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LOG

public static final org.apache.log4j.Category LOG
Constructor Detail

TestSummarizer

public TestSummarizer()
Method Detail

testBlankSummary

public void testBlankSummary()
                      throws java.io.IOException
Throws:
java.io.IOException

testSimpleSummary

public void testSimpleSummary()
                       throws java.io.IOException
Throws:
java.io.IOException

testLotsofFragments

public void testLotsofFragments()
                         throws java.io.IOException
Throws:
java.io.IOException

testStopWordsAtStart

public void testStopWordsAtStart()
                          throws java.io.IOException
Throws:
java.io.IOException

testMultipleFragments

public void testMultipleFragments()
                           throws java.io.IOException
Throws:
java.io.IOException

testSummarizeShortText

public void testSummarizeShortText()
                            throws java.io.IOException
Throws:
java.io.IOException

testNoEarlyTruncation

public void testNoEarlyTruncation()
                           throws java.io.IOException
Throws:
java.io.IOException

testHighlightWildcards

public void testHighlightWildcards()
                            throws java.io.IOException
Throws:
java.io.IOException


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