diff options
author | Benoit Foucher <benoit@zeroc.com> | 2012-11-06 16:58:38 +0100 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2012-11-06 16:58:38 +0100 |
commit | 948c18ac0abd7ff12d29da584ad7b21822945a2f (patch) | |
tree | 3501e0c45ee39020ee537cbd6413db0659d04141 /java/test/Ice/servantLocator/AllTests.java | |
parent | 3.5b TP installer build (diff) | |
download | ice-948c18ac0abd7ff12d29da584ad7b21822945a2f.tar.bz2 ice-948c18ac0abd7ff12d29da584ad7b21822945a2f.tar.xz ice-948c18ac0abd7ff12d29da584ad7b21822945a2f.zip |
Lots of minor test and build fixes.
- Added --client-home option to allow running tests against clients
from another source distribution.
- Fixed bogus identation in some Makefiles
- Fixed installation of Ice for Java on platforms where the GUI isn't built.
- Added more cross language tests.
- Fixed issues with running the tests against a binary distribution.
Diffstat (limited to 'java/test/Ice/servantLocator/AllTests.java')
-rw-r--r-- | java/test/Ice/servantLocator/AllTests.java | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/java/test/Ice/servantLocator/AllTests.java b/java/test/Ice/servantLocator/AllTests.java index aa23d04b40a..794879b5a5c 100644 --- a/java/test/Ice/servantLocator/AllTests.java +++ b/java/test/Ice/servantLocator/AllTests.java @@ -125,6 +125,24 @@ public class AllTests { test(ex.unknown.indexOf("java.lang.RuntimeException: message") >= 0); } + catch(Ice.OperationNotExistException ex) + { + } + catch(Throwable ex) + { + //System.err.println(ex); + test(false); + } + + try + { + obj.unknownExceptionWithServantException(); + test(false); + } + catch(UnknownException ex) + { + test(ex.unknown.equals("reason")); + } catch(Throwable ex) { test(false); |