01: package test;
02:
03: import dalma.test.Launcher;
04:
05: import dalma.endpoints.input.LineInputEndPoint;
06:
07: /**
08: * Run conversations that wait for a keyboard input.
09: *
10: * @author Kohsuke Kawaguchi
11: */
12: public class ClickTest extends Launcher {
13: public ClickTest(String[] args) throws Exception {
14: super (args);
15: }
16:
17: public static void main(String[] args) throws Exception {
18: new ClickTest(args);
19: }
20:
21: protected void setUpEndPoints() throws Exception {
22: engine.addEndPoint(new LineInputEndPoint());
23: }
24:
25: protected void init() throws Exception {
26: createConversation(ClickConversation.class);
27: createConversation(ClickConversation.class);
28: }
29: }
|