aboutsummaryrefslogtreecommitdiffstats
path: root/test/TestOneJar_InJar/jogamp01/src
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-10-01 22:41:55 +0200
committerSven Gothel <[email protected]>2013-10-01 22:41:55 +0200
commit01c5d59c5245068b0d005ccbb64f8d0aa5165f12 (patch)
tree75b61bd2c6ac9e927eb1ad412bf2fe4819a262b5 /test/TestOneJar_InJar/jogamp01/src
parentb05f716cbcbc379588050c8f3d91579b3a14ec88 (diff)
Bug 846: Add manual test case for One-Jar (using 0.97.1)
Note: One-Jar lacks support of a URL handler for it's jar-in-jar files and hence we would need to extract the jar-in-jar resources w/ our TempJarCache from one one-jar file .. too bad. Looks like it's incomplete.
Diffstat (limited to 'test/TestOneJar_InJar/jogamp01/src')
-rw-r--r--test/TestOneJar_InJar/jogamp01/src/jogamp/main/Jogamp01Main.java31
1 files changed, 31 insertions, 0 deletions
diff --git a/test/TestOneJar_InJar/jogamp01/src/jogamp/main/Jogamp01Main.java b/test/TestOneJar_InJar/jogamp01/src/jogamp/main/Jogamp01Main.java
new file mode 100644
index 0000000..b8ee4e1
--- /dev/null
+++ b/test/TestOneJar_InJar/jogamp01/src/jogamp/main/Jogamp01Main.java
@@ -0,0 +1,31 @@
+/*
+ * Copyright (c) 2004-2010, P. Simon Tuffs ([email protected])
+ * All rights reserved.
+ *
+ * See the full license at http://one-jar.sourceforge.net/one-jar-license.html
+ * This license is also included in the distributions of this software
+ * under doc/one-jar-license.txt
+ */
+package jogamp.main;
+
+import java.util.Arrays;
+
+public class Jogamp01Main {
+
+ public static void main(String args[]) {
+ if (args == null)
+ args = new String[0];
+ System.out.println("jogamp01 main entry point, args=" + Arrays.asList(args));
+ new Jogamp01Main().run();
+ }
+
+ // Bring up the application: only expected to exit when user interaction
+ // indicates so.
+ public void run() {
+ System.out.println("jogamp01 main is running");
+ // Implement the functionality of the application.
+ System.out.println("jogamp01 OK.");
+ }
+
+
+}