diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Makefile | 2 | ||||
-rw-r--r-- | tests/Request.java | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/Makefile b/tests/Makefile index d7dd85b..41218f8 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -4,7 +4,7 @@ include ../java.mk # in this file you can change your java compiler and VM IVYPATH=../build/jar/ivy-java.jar -CLASSPATH=-classpath ../build/testclasses:$(IVYPATH):$(GNUPATH) +CLASSPATH=-classpath classes:$(IVYPATH):$(GNUPATH) SRC = *.java # Warning TestNetSwing.java cant build with jdk1.1 diff --git a/tests/Request.java b/tests/Request.java index 67c3096..73aea54 100644 --- a/tests/Request.java +++ b/tests/Request.java @@ -32,13 +32,13 @@ class Request { id=bus.getWBUId(); bus.bindMsg("^Computer\\d ready",new IvyMessageListener() { public void receive(IvyClient ic,String[] args) { - try { bus.sendMsg("computesum id="+id+" a=3 b=4");} catch (IvyException _ ) { } + try { bus.sendMsg("computesum id="+id+" a=3 b=4");} catch (IvyException ie ) { } } }); bus.bindMsgOnce("^result id="+id+" value=([0-9]+)",new IvyMessageListener() { public void receive(IvyClient ic,String[] args) { System.out.println("result received: "+args[0]); - try {Thread.sleep(1000);} catch (InterruptedException _) { } + try {Thread.sleep(1000);} catch (InterruptedException ie) { } System.exit(0); } }); |