summaryrefslogtreecommitdiff
path: root/ure
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2006-01-03 11:40:10 +0000
committerKurt Zenker <kz@openoffice.org>2006-01-03 11:40:10 +0000
commit17904fd9506188d9750ceb577cb23af67335f527 (patch)
tree7f2db115fa439bb3ee7b0546e3a5d5cb25826d62 /ure
parente33d9d74f85069e007ae561fbd5d279bb7754f2e (diff)
INTEGRATION: CWS sb44 (1.1.2); FILE ADDED
2005/12/12 15:56:27 sb 1.1.2.1: #i51419# Added javanative-test.
Diffstat (limited to 'ure')
-rw-r--r--ure/source/uretest/JavaNative.java49
1 files changed, 49 insertions, 0 deletions
diff --git a/ure/source/uretest/JavaNative.java b/ure/source/uretest/JavaNative.java
new file mode 100644
index 000000000000..fdeae1193efa
--- /dev/null
+++ b/ure/source/uretest/JavaNative.java
@@ -0,0 +1,49 @@
+/*************************************************************************
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: JavaNative.java,v $
+ *
+ * $Revision: 1.2 $
+ *
+ * last change: $Author: kz $ $Date: 2006-01-03 12:40:10 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+ *
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2005 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ ************************************************************************/
+
+package test.java.javanative;
+
+import com.sun.star.comp.helper.Bootstrap;
+import test.java.tester.Tester;
+
+public final class JavaNative {
+ public static void main(String[] arguments) throws Exception {
+ Tester.test(
+ Bootstrap.defaultBootstrap_InitialComponentContext(
+ arguments[0], null));
+ }
+
+ private JavaNative() {}
+}