abbot.script
Class ComponentReferenceTest

java.lang.Object
junit.framework.Assert
junit.framework.TestCase
abbot.script.ComponentReferenceTest
- All Implemented Interfaces:
- junit.framework.Test
- public class ComponentReferenceTest
- extends junit.framework.TestCase
Verify the script works as advertised.
| Fields inherited from class junit.framework.TestCase |
|
|
Method Summary |
static void |
main(java.lang.String[] args)
|
protected void |
setUp()
Sets up the fixture, for example, open a network connection. |
protected void |
tearDown()
Tears down the fixture, for example, close a network connection. |
void |
testAddComponent()
Any newly created reference should match against the component it was
created from. |
void |
testAddSubDialog()
Create a reference for a dialog child of a dialog. |
| 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 |
helper
private test.AbbotHelper helper
ComponentReferenceTest
public ComponentReferenceTest(java.lang.String name)
testAddComponent
public void testAddComponent()
- Any newly created reference should match against the component it was
created from.
testAddSubDialog
public void testAddSubDialog()
- Create a reference for a dialog child of a dialog.
Bug reported by vladgur.
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)