|
|||||||||
| Home >> All >> abbot >> [ script overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
abbot.script
Class StepRunnerTest

java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
abbot.script.StepRunnerTest
- All Implemented Interfaces:
- junit.framework.Test
- public class StepRunnerTest
- extends junit.framework.TestCase
| Nested Class Summary | |
private class |
StepRunnerTest.DefaultStep
|
private class |
StepRunnerTest.ErrorStep
|
private class |
StepRunnerTest.FailingStep
|
| Field Summary | |
private java.util.ArrayList |
events
|
private StepRunner |
runner
|
| Fields inherited from class junit.framework.TestCase |
|
| Constructor Summary | |
StepRunnerTest(java.lang.String name)
|
|
| Method Summary | |
static void |
main(java.lang.String[] args)
|
protected void |
setUp()
Sets up the fixture, for example, open a network connection. |
void |
testRunErrorSequence()
|
void |
testRunErrorStep()
|
void |
testRunFailedSequence()
|
void |
testRunFailedStep()
|
void |
testRunSequence()
|
void |
testRunStep()
|
void |
testThrowMultipleError()
If the script is set to run to completion, make sure it throws an error at the end. |
| Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, 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 |
runner
private StepRunner runner
events
private java.util.ArrayList events
| Constructor Detail |
StepRunnerTest
public StepRunnerTest(java.lang.String name)
| Method Detail |
testRunStep
public void testRunStep()
throws java.lang.Throwable
testRunSequence
public void testRunSequence()
throws java.lang.Throwable
testRunFailedStep
public void testRunFailedStep()
throws java.lang.Throwable
testRunFailedSequence
public void testRunFailedSequence()
throws java.lang.Throwable
testRunErrorStep
public void testRunErrorStep()
testRunErrorSequence
public void testRunErrorSequence()
throws java.lang.Throwable
testThrowMultipleError
public void testThrowMultipleError()
throws java.lang.Throwable
- If the script is set to run to completion, make sure it throws an
error at the end.
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.
main
public static void main(java.lang.String[] args)
|
|||||||||
| Home >> All >> abbot >> [ script overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC