|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase frysk.junit.TestCase frysk.expunit.TestExpect
public class TestExpect
Test ExpectUnit framework.
Field Summary | |
---|---|
private Expect |
e
|
Constructor Summary | |
---|---|
TestExpect()
|
Method Summary | |
---|---|
void |
setUp()
Sets up the fixture, for example, open a network connection. |
void |
tearDown()
Tears down the fixture, for example, close a network connection. |
void |
testAssertEOF()
Check that short hand EOF works. |
void |
testBash()
Try interacting with bash, check here that the pseudo-terminal is correctly configured - that no double echo is occuring for instance. |
void |
testExit()
Check the exit status. |
void |
testKill()
Check the signal status. |
void |
testShell()
|
void |
testTimeout()
Try a timeout, that passes. |
void |
testUnderBash()
Try a command that is invoked via bash, bash will cause globbing et.al. |
Methods inherited from class frysk.junit.TestCase |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, getTimeoutMilliseconds, getTimeoutSeconds, missing32or64, unresolved, unresolvedOffUtrace, unresolvedOn32On64, unresolvedOnIA32, unresolvedOnPPC, unresolvedOnUtrace, unresolvedOnx8664, unsupported |
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, 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 |
---|
private Expect e
Constructor Detail |
---|
public TestExpect()
Method Detail |
---|
public void setUp()
TestCase
setUp
in class TestCase
public void tearDown()
TestCase
tearDown
in class TestCase
public void testAssertEOF()
public void testTimeout()
public void testExit()
public void testKill()
public void testUnderBash()
public void testBash()
public void testShell()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |