|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectTestCase
fable.test.FilterTest
public class FilterTest
This test checks the correctness of FilterStrategyFactory and the Filter class
| Constructor Summary | |
|---|---|
FilterTest(java.lang.String s)
|
|
| Method Summary | |
|---|---|
void |
setUp()
Sets up the test feed |
static Test |
suite()
|
void |
testAuthor()
Tests if the Author filter (allow only certain author articles to be read) works |
void |
testCombined()
This test checks if the combination of filters by FilterStrategyFactory works |
void |
testDate()
This test checks if the date filter(s) produced by FilterStrategyFactory is correct |
void |
testReadUnread()
Test if the filter correctly filters read and unread articles |
void |
testStarredUnstarred()
Test if the filter correctly filters starred and unstarred articles |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FilterTest(java.lang.String s)
| Method Detail |
|---|
public void setUp()
public void testReadUnread()
public void testStarredUnstarred()
public void testAuthor()
public void testDate()
public void testCombined()
public static Test suite()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||