com.mtp.pounder
Class ComponentIdentifierTest

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--com.mtp.pounder.ComponentIdentifierTest
All Implemented Interfaces:
Test
Direct Known Subclasses:
KeyIdentifierTest, NameIdentifierTest

public abstract class ComponentIdentifierTest
extends TestCase

Abstract class for testing ComponentIdentifier's.

Author:
Matthew Pekar

Constructor Summary
ComponentIdentifierTest(String name)
           
 
Method Summary
protected abstract  ComponentIdentifier buildComponentIdentifier(Component c, JFrame f)
           
 void setUp()
           
static Test suite()
           
 void tearDown()
           
 void testAsString()
           
 void testGetComponent()
           
 
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
 

Constructor Detail

ComponentIdentifierTest

public ComponentIdentifierTest(String name)
Method Detail

suite

public static Test suite()

buildComponentIdentifier

protected abstract ComponentIdentifier buildComponentIdentifier(Component c,
                                                                JFrame f)
                                                         throws Exception
Exception

setUp

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

tearDown

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

testAsString

public void testAsString()
                  throws Exception
Exception

testGetComponent

public void testGetComponent()
                      throws Exception
Exception


Copyright © 2002 Matthew Pekar. All Rights Reserved.