com.mtp.pounder
Class DefaultFilterTest

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--com.mtp.pounder.DefaultFilterTest
All Implemented Interfaces:
PounderConstants, Test

public class DefaultFilterTest
extends TestCase
implements PounderConstants


Field Summary
protected  DefaultFilter filter
           
protected  JFrame outsideWindow
           
protected  WindowWatcher windowWatcher
           
 
Fields inherited from interface com.mtp.pounder.PounderConstants
FILE_EXTENSION, FILE_FORMAT_VERSION, VERSION
 
Constructor Summary
DefaultFilterTest(String name)
           
 
Method Summary
 void setUp()
           
static Test suite()
           
 void tearDown()
           
 void testAcceptsInsideWindow()
           
 void testRejectsNonComponentSource()
           
 void testRejectsOutsideWindow()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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

outsideWindow

protected JFrame outsideWindow

windowWatcher

protected WindowWatcher windowWatcher

filter

protected DefaultFilter filter
Constructor Detail

DefaultFilterTest

public DefaultFilterTest(String name)
Method Detail

suite

public static Test suite()

setUp

public void setUp()
           throws Exception
Overrides:
setUp in class TestCase
Exception

tearDown

public void tearDown()
              throws Exception
Overrides:
tearDown in class TestCase
Exception

testRejectsNonComponentSource

public void testRejectsNonComponentSource()
                                   throws Exception
Exception

testRejectsOutsideWindow

public void testRejectsOutsideWindow()
                              throws Exception
Exception

testAcceptsInsideWindow

public void testAcceptsInsideWindow()
                             throws Exception
Exception


Copyright © 2002 Matthew Pekar. All Rights Reserved.