summaryrefslogtreecommitdiff
path: root/ridljar/JunitTest_remote.mk
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2020-02-06 08:40:43 +0100
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2020-02-10 09:48:05 +0100
commitfaa59a82cebd69ba4d5b665f00983b9d374ac15c (patch)
treef0fdc147ad79d2926f04700eb552e1f9fad4525a /ridljar/JunitTest_remote.mk
parent57eee86bab2efd63b7eec9d73a86b1cc0422de29 (diff)
Cleanup: Move unit tests to ridljar
Follow-up cleanup for ae855bf48163ff64d94cfc34aff8e37abdb5518d Change-Id: Ibec2fe89d70d6001af7d75c5eb4081b5b2af30e6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88073 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'ridljar/JunitTest_remote.mk')
-rw-r--r--ridljar/JunitTest_remote.mk37
1 files changed, 37 insertions, 0 deletions
diff --git a/ridljar/JunitTest_remote.mk b/ridljar/JunitTest_remote.mk
new file mode 100644
index 000000000000..a0c94d5caa92
--- /dev/null
+++ b/ridljar/JunitTest_remote.mk
@@ -0,0 +1,37 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+
+$(eval $(call gb_JunitTest_JunitTest,ridl_remote))
+
+$(eval $(call gb_Jar_use_customtargets,ridl_remote, \
+ ridljar/javamaker \
+))
+
+$(eval $(call gb_JunitTest_use_jar_classset,ridl_remote,ridl))
+
+$(eval $(call gb_JunitTest_add_classpath,ridl_remote,$(call gb_CustomTarget_get_workdir,ridljar/javamaker)))
+
+$(eval $(call gb_JunitTest_add_sourcefiles,ridl_remote,\
+ ridljar/test/com/sun/star/lib/uno/environments/remote/JavaThreadPoolFactory_Test \
+ ridljar/test/com/sun/star/lib/uno/environments/remote/JobQueue_Test \
+ ridljar/test/com/sun/star/lib/uno/environments/remote/TestIWorkAt \
+ ridljar/test/com/sun/star/lib/uno/environments/remote/TestReceiver \
+ ridljar/test/com/sun/star/lib/uno/environments/remote/TestWorkAt \
+ ridljar/test/com/sun/star/lib/uno/environments/remote/ThreadId_Test \
+ ridljar/test/com/sun/star/lib/uno/environments/remote/ThreadPool_Test \
+))
+
+$(eval $(call gb_JunitTest_add_classes,ridl_remote,\
+ com.sun.star.lib.uno.environments.remote.JavaThreadPoolFactory_Test \
+ com.sun.star.lib.uno.environments.remote.JobQueue_Test \
+ com.sun.star.lib.uno.environments.remote.ThreadId_Test \
+ com.sun.star.lib.uno.environments.remote.ThreadPool_Test \
+))
+
+# vim:set noet sw=4 ts=4: