summaryrefslogtreecommitdiff
path: root/ridljar/JunitTest_java.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_java.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_java.mk')
-rw-r--r--ridljar/JunitTest_java.mk28
1 files changed, 28 insertions, 0 deletions
diff --git a/ridljar/JunitTest_java.mk b/ridljar/JunitTest_java.mk
new file mode 100644
index 000000000000..e1a53dba8a3a
--- /dev/null
+++ b/ridljar/JunitTest_java.mk
@@ -0,0 +1,28 @@
+# -*- 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_java))
+
+$(eval $(call gb_Jar_use_customtargets,ridl_java, \
+ ridljar/javamaker \
+))
+
+$(eval $(call gb_JunitTest_use_jar_classset,ridl_java,ridl))
+
+$(eval $(call gb_JunitTest_add_classpath,ridl_java,$(call gb_CustomTarget_get_workdir,ridljar/javamaker)))
+
+$(eval $(call gb_JunitTest_add_sourcefiles,ridl_java,\
+ ridljar/test/com/sun/star/lib/uno/environments/java/java_environment_Test \
+))
+
+$(eval $(call gb_JunitTest_add_classes,ridl_java,\
+ com.sun.star.lib.uno.environments.java.java_environment_Test \
+))
+
+# vim:set noet sw=4 ts=4: