diff options
author | Kay Ramme <kr@openoffice.org> | 2001-01-17 09:06:35 +0000 |
---|---|---|
committer | Kay Ramme <kr@openoffice.org> | 2001-01-17 09:06:35 +0000 |
commit | 576397e4569e20ecce66fb182e1b7ab730683c25 (patch) | |
tree | 55de22e7fe58626d8739cf4bd629ef23a699bcb4 /jurt/test | |
parent | 4358274cd752d4ada5652baf9026761f210b5a62 (diff) |
MyInterface extracted
Diffstat (limited to 'jurt/test')
3 files changed, 8 insertions, 19 deletions
diff --git a/jurt/test/com/sun/star/lib/uno/environments/remote/JobQueue_Test.java b/jurt/test/com/sun/star/lib/uno/environments/remote/JobQueue_Test.java index a54f6a1da91f..5f0671422f91 100644 --- a/jurt/test/com/sun/star/lib/uno/environments/remote/JobQueue_Test.java +++ b/jurt/test/com/sun/star/lib/uno/environments/remote/JobQueue_Test.java @@ -2,9 +2,9 @@ * * $RCSfile: JobQueue_Test.java,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: kr $ $Date: 2000-09-28 11:33:47 $ + * last change: $Author: kr $ $Date: 2001-01-17 10:06:35 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -73,13 +73,6 @@ import com.sun.star.uno.UnoRuntime; public class JobQueue_Test { - static interface MyInterface { - int getNext(); - - Object syncCall(Object param) throws Exception; - Object asyncCall(Object param) throws Exception; - } - static class MyContext { } diff --git a/jurt/test/com/sun/star/lib/uno/environments/remote/ThreadPool_Test.java b/jurt/test/com/sun/star/lib/uno/environments/remote/ThreadPool_Test.java index 95072459e8ca..69b56f6b7639 100644 --- a/jurt/test/com/sun/star/lib/uno/environments/remote/ThreadPool_Test.java +++ b/jurt/test/com/sun/star/lib/uno/environments/remote/ThreadPool_Test.java @@ -2,9 +2,9 @@ * * $RCSfile: ThreadPool_Test.java,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: kr $ $Date: 2000-09-28 11:36:14 $ + * last change: $Author: kr $ $Date: 2001-01-17 10:06:35 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -77,11 +77,6 @@ public class ThreadPool_Test { static int __requestId = 0; static int __running_thread_count; - static interface MyInterface { - Object syncCall(Object param) throws Exception; - Object asyncCall(Object param) throws Exception; - } - static interface IReadyListener { void readyEvent(); } @@ -97,7 +92,7 @@ public class ThreadPool_Test { MyImpl() { } - int getNext() { + public int getNext() { return _send_requestId ++; } diff --git a/jurt/test/com/sun/star/lib/uno/environments/remote/makefile.mk b/jurt/test/com/sun/star/lib/uno/environments/remote/makefile.mk index 1b723c3bf8ca..2da83725b1de 100644 --- a/jurt/test/com/sun/star/lib/uno/environments/remote/makefile.mk +++ b/jurt/test/com/sun/star/lib/uno/environments/remote/makefile.mk @@ -2,9 +2,9 @@ # # $RCSfile: makefile.mk,v $ # -# $Revision: 1.1.1.1 $ +# $Revision: 1.2 $ # -# last change: $Author: hr $ $Date: 2000-09-18 15:27:55 $ +# last change: $Author: kr $ $Date: 2001-01-17 10:06:35 $ # # The Contents of this file are made available subject to the terms of # either of the following licenses @@ -73,6 +73,7 @@ TARGET := test_com_sun_star_lib_uno_environments_remote # Files -------------------------------------------------------- JAVACLASSFILES= \ + $(CLASSDIR)$/$(PACKAGE)$/MyInterface.class \ $(CLASSDIR)$/$(PACKAGE)$/JobQueue_Test.class \ $(CLASSDIR)$/$(PACKAGE)$/MyMessage.class \ $(CLASSDIR)$/$(PACKAGE)$/MyReceiver.class \ |