summaryrefslogtreecommitdiffstats
path: root/ridljar/JunitTest_java.mk
diff options
context:
space:
mode:
Diffstat (limited to '')
-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 000000000..be174cfe2
--- /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,libreoffice))
+
+$(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: