|
ANTS v2.0 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--ants.core.Entity
|
+--ants.core.Application
|
+--tests.Tester
| Fields inherited from class ants.core.Application |
defaults |
| Constructor Summary | |
Tester()
|
|
| Method Summary | |
static void |
doTests(Tester unit)
|
void |
enterSection(java.lang.String name)
|
void |
start()
Start this Application rolling. |
void |
test(boolean t)
|
abstract void |
testUnit()
|
| Methods inherited from class ants.core.Application |
getDefaultResources,
getDefaultTTL,
getNode,
getNodeAddress,
getPort,
getPrincipal,
receive,
send,
send,
setArgs,
setDefaultResources,
setDefaultTTL,
thisNode,
toString |
| Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Constructor Detail |
public Tester()
| Method Detail |
public void start()
Note that implementations of start should just set things up. If the application wants to do things like send packets, this function should start a new thread to do that. Creating a GUI and associating callbacks is a good thing to do here.
XXX mostly stuff that could just be done in the no-arg constructor, no?
public static void doTests(Tester unit)
public void test(boolean t)
throws TestFailedException
public void enterSection(java.lang.String name)
public abstract void testUnit()
throws TestFailedException
|
ANTS v2.0 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||