From 01c5d59c5245068b0d005ccbb64f8d0aa5165f12 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 1 Oct 2013 22:41:55 +0200 Subject: 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. --- .../jogamp01/src/jogamp/main/Jogamp01Main.java | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 test/TestOneJar_InJar/jogamp01/src/jogamp/main/Jogamp01Main.java (limited to 'test/TestOneJar_InJar/jogamp01/src/jogamp/main') 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 (simon@simontuffs.com) + * 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."); + } + + +} -- cgit v1.2.3