diff options
Diffstat (limited to 'java/test')
-rw-r--r-- | java/test/controller/build.gradle | 2 | ||||
-rw-r--r-- | java/test/controller/src/main/java/test/Common/ControllerServer.java (renamed from java/test/controller/src/main/java/test/common/ControllerServer.java) | 16 | ||||
-rw-r--r-- | java/test/controller/src/main/slice/Controller.ice | 2 |
3 files changed, 10 insertions, 10 deletions
diff --git a/java/test/controller/build.gradle b/java/test/controller/build.gradle index 1c292d9031a..be8f1a31635 100644 --- a/java/test/controller/build.gradle +++ b/java/test/controller/build.gradle @@ -28,7 +28,7 @@ slice jar { manifest { - attributes("Main-Class": "test.common.ControllerServer") + attributes("Main-Class": "test.Common.ControllerServer") attributes("Class-Path": configurations.runtime.resolve().collect { it.toURI() }.join(' ')) } }
\ No newline at end of file diff --git a/java/test/controller/src/main/java/test/common/ControllerServer.java b/java/test/controller/src/main/java/test/Common/ControllerServer.java index 11ca470af65..9fb8ac22e29 100644 --- a/java/test/controller/src/main/java/test/common/ControllerServer.java +++ b/java/test/controller/src/main/java/test/Common/ControllerServer.java @@ -7,11 +7,11 @@ // // ********************************************************************** -package test.common; +package test.Common; -import test.common._ControllerDisp; -import test.common._ServerDisp; -import test.common.ServerPrx; +import test.Common._ControllerDisp; +import test.Common._ServerDisp; +import test.Common.ServerPrx; import java.io.File; import java.io.BufferedReader; @@ -45,9 +45,9 @@ public class ControllerServer extends Ice.Application String line = null; while((line = reader.readLine()) != null) { - if(line.matches(Pattern.quote("starting server... ok")) || - line.matches(Pattern.quote("starting serveramd... ok")) || - line.matches("starting test.*" + Pattern.quote("Server... ok"))) + if(line.matches(Pattern.quote("starting server...") + ".*ok") || + line.matches(Pattern.quote("starting serveramd...") + ".*ok") || + line.matches("starting test.*" + Pattern.quote("Server...") + ".*ok")) { synchronized(ServerI.this) { @@ -155,7 +155,7 @@ public class ControllerServer extends Ice.Application } String script = name.equals("Ice/echo") ? - (lang.equals("java") ? "java/test/src/main/java/" : "cpp/") + "test/Ice/echo/run.py" : + lang + (lang.equals("java") ? "/test/src/main/java/" : "/") + "test/Ice/echo/run.py" : "allTests.py"; java.util.List<String> args = new java.util.ArrayList<String>(); diff --git a/java/test/controller/src/main/slice/Controller.ice b/java/test/controller/src/main/slice/Controller.ice index 5f89858a42d..536e42895d9 100644 --- a/java/test/controller/src/main/slice/Controller.ice +++ b/java/test/controller/src/main/slice/Controller.ice @@ -10,7 +10,7 @@ module test { -module common +module Common { interface Server |