fable.test
Class RSSSearcherTest

java.lang.Object
  extended by TestCase
      extended by fable.test.RSSSearcherTest

public class RSSSearcherTest
extends TestCase

This test checks if the Searcher searches properly

Author:
Christopher Moh

Constructor Summary
RSSSearcherTest(java.lang.String s)
           
 
Method Summary
 void setUp()
          This sets up the search.
static Test suite()
           
 void testSearchAll()
          This test searches for keywords in both the title and the summary description
 void testSearchKeyOnly()
          This tests searches for field only in the title and author fields
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RSSSearcherTest

public RSSSearcherTest(java.lang.String s)
Method Detail

setUp

public void setUp()
This sets up the search.


testSearchKeyOnly

public void testSearchKeyOnly()
This tests searches for field only in the title and author fields


testSearchAll

public void testSearchAll()
This test searches for keywords in both the title and the summary description


suite

public static Test suite()