|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lejosunit.framework.Assert lejosunit.framework.TestCase lejosunit.tests.size.HelloWorldTest
Test class to calculate the size of an HelloWorld example including leJOSUnit.
Constructor Summary | |
HelloWorldTest(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 |
testHelloWorld()
test of HelloWorld |
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 HelloWorldTest(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 testHelloWorld() throws java.lang.InterruptedException
java.lang.InterruptedException
- can be raised
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |