com.mtp.pounder
Class VerbatimRecordingTest

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

public class VerbatimRecordingTest
extends TestCase


Field Summary
protected  Vector toBeTerminated
           
protected  WindowWatcher ww
           
protected  WindowWatcher ww2
           
 
Constructor Summary
VerbatimRecordingTest(String name)
           
 
Method Summary
protected  AWTEvent buildDummyEvent()
           
protected  JPanel buildTestablePanel()
           
 void setUp()
           
static Test suite()
           
 void tearDown()
           
 void testAddMouseReleaseEventFiltersModfiers()
           
 void testBeginInitializesFilter()
           
 void testCheckIsDragEnd()
           
 void testCheckMouseReleaseEndsDrag()
           
 void testConstructor()
           
 void testDoesNotTerminateBeforeMaxIdleTime()
           
 void testEventsIgnoredDuringPause()
           
 void testIgnoreUnnamedFalse()
           
 void testIgnoreUnnamedTrue()
           
 void testIsPaused()
           
 void testSetPausedFalse()
           
 void testSetPausedTrue()
           
 void testSetPauseTrueBeforeBeginCalled()
           
 void testSetPauseTrueDoesNotPreventAnEndEventFromBeingRecognized()
           
 void testSetPauseTrueWindowWatcherFiltersAllWindows()
           
 void testTerminatesAfterMaxIdleTime()
           
 void testTerminateTwiceLeavesOnlyOneDummyRecording()
           
 
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

ww

protected WindowWatcher ww

ww2

protected WindowWatcher ww2

toBeTerminated

protected Vector toBeTerminated
Constructor Detail

VerbatimRecordingTest

public VerbatimRecordingTest(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

buildTestablePanel

protected JPanel buildTestablePanel()
                             throws Exception
Exception

buildDummyEvent

protected AWTEvent buildDummyEvent()
                            throws Exception
Exception

testConstructor

public void testConstructor()
                     throws Exception
Exception

testSetPausedTrue

public void testSetPausedTrue()
                       throws Exception
Exception

testEventsIgnoredDuringPause

public void testEventsIgnoredDuringPause()
                                  throws Exception
Exception

testSetPauseTrueDoesNotPreventAnEndEventFromBeingRecognized

public void testSetPauseTrueDoesNotPreventAnEndEventFromBeingRecognized()
                                                                 throws Exception
Exception

testSetPauseTrueWindowWatcherFiltersAllWindows

public void testSetPauseTrueWindowWatcherFiltersAllWindows()
                                                    throws Exception
Exception

testSetPauseTrueBeforeBeginCalled

public void testSetPauseTrueBeforeBeginCalled()
                                       throws Exception
Exception

testSetPausedFalse

public void testSetPausedFalse()
                        throws Exception
Exception

testIsPaused

public void testIsPaused()
                  throws Exception
Exception

testIgnoreUnnamedTrue

public void testIgnoreUnnamedTrue()
                           throws Exception
Exception

testIgnoreUnnamedFalse

public void testIgnoreUnnamedFalse()
                            throws Exception
Exception

testTerminateTwiceLeavesOnlyOneDummyRecording

public void testTerminateTwiceLeavesOnlyOneDummyRecording()
                                                   throws Exception
Exception

testCheckMouseReleaseEndsDrag

public void testCheckMouseReleaseEndsDrag()
                                   throws Exception
Exception

testCheckIsDragEnd

public void testCheckIsDragEnd()
                        throws Exception
Exception

testTerminatesAfterMaxIdleTime

public void testTerminatesAfterMaxIdleTime()
                                    throws Exception
Exception

testBeginInitializesFilter

public void testBeginInitializesFilter()
                                throws Exception
Exception

testDoesNotTerminateBeforeMaxIdleTime

public void testDoesNotTerminateBeforeMaxIdleTime()
                                           throws Exception
Exception

testAddMouseReleaseEventFiltersModfiers

public void testAddMouseReleaseEventFiltersModfiers()
                                             throws Exception
Exception


Copyright © 2002 Matthew Pekar. All Rights Reserved.