java.lang.Object
junit.framework.Assert
junit.framework.TestCase
abbot.script.ScriptTest
- All Implemented Interfaces:
- junit.framework.Test
- public class ScriptTest
- extends junit.framework.TestCase
Verify the script works as advertised.
| 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 |
helper
private test.AbbotHelper helper
script
private Script script
ID
static final java.lang.String ID
- See Also:
- Constant Field Values
TAG
static final java.lang.String TAG
- See Also:
- Constant Field Values
CLASS
static final java.lang.String CLASS
- See Also:
- Constant Field Values
unicodeData
private static final java.lang.String unicodeData
- See Also:
- Constant Field Values
ScriptTest
public ScriptTest(java.lang.String name)
testDirty
public void testDirty()
throws java.lang.Throwable
testWrite
public void testWrite()
throws java.lang.Throwable
testRead
public void testRead()
throws java.lang.Throwable
testNestedReference
public void testNestedReference()
throws java.lang.Throwable
- Ensure that a nested script maintains its own context.
testSaveNestedScript
public void testSaveNestedScript()
throws java.lang.Throwable
- A nested script should have *only* its filename attribute saved.
testNestedFileNotFound
public void testNestedFileNotFound()
throws java.lang.Throwable
- If a nested file does not exist, an exception should be thrown.
testFilePaths
public void testFilePaths()
testReferenceReuse
public void testReferenceReuse()
- Any given component, if added multiple times, should result in the
same component reference.
testUniqueReferences
public void testUniqueReferences()
- Any number of unique components should all result in unique
references.
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)