|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlejosunit.framework.Assert
lejosunit.framework.TestCase
lejosunit.tests.TestRunnerTest
Test class for the TestRunner class.
Nested Class Summary | |
static class |
TestRunnerTest.MyTestRunner
Helper class to get access to some internal methods |
Constructor Summary | |
TestRunnerTest(java.lang.String name)
Constructor to create a test case. |
Method Summary | |
static void |
main(java.lang.String[] args)
Main program to start the TestRunner at RCX |
protected void |
runTest()
Run one test. |
static Test |
suite()
Suite method to get all tests to run. |
void |
testButtons()
Tests the Button and forever behaviour. |
void |
testDisplayBufferError()
Tests the display buffer method generating errors. |
void |
testDisplayBufferFailure()
Tests the display buffer method generating failures. |
void |
testDisplayBufferManyTests()
Tests the display buffer method with multiple tests. |
void |
testDisplayBufferOK()
Tests the display buffer method. |
void |
testDisplayBufferShown()
Tests the display buffer shown method. |
void |
testRunOK()
Tests a correct test runner run. |
Methods inherited from class lejosunit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, setUp, tearDown, toString |
Methods inherited from class lejosunit.framework.Assert |
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, failNotEquals, failSame |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TestRunnerTest(java.lang.String name)
name
- the nane of the test caseMethod Detail |
public static void main(java.lang.String[] args)
args
- will be ignoredpublic static Test suite()
protected void runTest() throws java.lang.Throwable
runTest
in class TestCase
java.lang.Throwable
- a general errorpublic void testRunOK()
public void testDisplayBufferOK()
public void testDisplayBufferFailure()
public void testDisplayBufferError()
public void testDisplayBufferManyTests()
public void testDisplayBufferShown()
public void testButtons()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |