diff options
author | Rüdiger Timm <rt@openoffice.org> | 2004-08-20 08:18:29 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2004-08-20 08:18:29 +0000 |
commit | 6dc84d1ec6b3ac955d730af43a8f7b4394a865c3 (patch) | |
tree | 7e8010485d9f584a7f153850f290a66c6bdcae4c /bridges/test/java_uno | |
parent | 82afd241cc7fcfe368f53e7427df2458cef06989 (diff) |
INTEGRATION: CWS sb21 (1.4.128); FILE MERGED
2004/08/05 09:22:01 sb 1.4.128.1: #i29084# Ensure proper termination (the TestBed.Server non-deamon thread stays within its endless accept loop).
Diffstat (limited to 'bridges/test/java_uno')
-rw-r--r-- | bridges/test/java_uno/any/TestRemote.java | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/bridges/test/java_uno/any/TestRemote.java b/bridges/test/java_uno/any/TestRemote.java index 742837fdb60d..0d7a3419ad82 100644 --- a/bridges/test/java_uno/any/TestRemote.java +++ b/bridges/test/java_uno/any/TestRemote.java @@ -2,9 +2,9 @@ * * $RCSfile: TestRemote.java,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: vg $ $Date: 2003-05-22 08:40:41 $ + * last change: $Author: rt $ $Date: 2004-08-20 09:18:29 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -68,9 +68,10 @@ import com.sun.star.uno.UnoRuntime; public final class TestRemote { public static void main(String[] args) throws Exception { - System.out.println( - "success? " - + new TestBed().execute(new Provider(), false, Client.class, 0)); + boolean success = new TestBed().execute( + new Provider(), false, Client.class, 0); + System.out.println("success? " + success); + System.exit(success ? 0 : 1); } public static final class Client extends TestBed.Client { |