abbot.tester
Class JTextComponentTesterTest

java.lang.Object
junit.framework.Assert
junit.framework.TestCase
abbot.tester.JTextComponentTesterTest
- All Implemented Interfaces:
- junit.framework.Test
- public class JTextComponentTesterTest
- extends junit.framework.TestCase
Unit test to verify the JTextComponentTester class.
| Fields inherited from class junit.framework.TestCase |
|
| 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 |
tester
private JTextComponentTester tester
tc
private javax.swing.text.JTextComponent tc
scrollPane
private javax.swing.JScrollPane scrollPane
helper
private test.AbbotHelper helper
JTextComponentTesterTest
public JTextComponentTesterTest(java.lang.String name)
- Create a new test case with the given name.
testSetText
public void testSetText()
- Wholesale text replacement by typing.
testClick
public void testClick()
testSelect
public void testSelect()
- Verify we can select arbitrary bits of text.
testLongSelection
public void testLongSelection()
setUp
protected void setUp()
- Description copied from class:
junit.framework.TestCase
- Sets up the fixture, for example, open a network connection.
This method is called before a test is executed.
tearDown
protected void tearDown()
- Description copied from class:
junit.framework.TestCase
- Tears down the fixture, for example, close a network connection.
This method is called after a test is executed.
main
public static void main(java.lang.String[] args)