diff options
author | Sven Gothel <[email protected]> | 2013-10-01 22:41:55 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-10-01 22:41:55 +0200 |
commit | 01c5d59c5245068b0d005ccbb64f8d0aa5165f12 (patch) | |
tree | 75b61bd2c6ac9e927eb1ad412bf2fe4819a262b5 /test/TestOneJar_InJar/jogamp01/one-jar | |
parent | b05f716cbcbc379588050c8f3d91579b3a14ec88 (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/one-jar')
-rw-r--r-- | test/TestOneJar_InJar/jogamp01/one-jar/build.onejar.xml | 54 | ||||
-rw-r--r-- | test/TestOneJar_InJar/jogamp01/one-jar/dist/one-jar-ant-task-0.97.jar | bin | 0 -> 92003 bytes | |||
-rw-r--r-- | test/TestOneJar_InJar/jogamp01/one-jar/dist/one-jar-ant-task.xml | 10 | ||||
-rw-r--r-- | test/TestOneJar_InJar/jogamp01/one-jar/dist/one-jar-boot-0.97.jar | bin | 0 -> 69299 bytes | |||
-rw-r--r-- | test/TestOneJar_InJar/jogamp01/one-jar/lib/junit-3.8.1.jar | bin | 0 -> 121070 bytes |
5 files changed, 64 insertions, 0 deletions
diff --git a/test/TestOneJar_InJar/jogamp01/one-jar/build.onejar.xml b/test/TestOneJar_InJar/jogamp01/one-jar/build.onejar.xml new file mode 100644 index 0000000..8c41ade --- /dev/null +++ b/test/TestOneJar_InJar/jogamp01/one-jar/build.onejar.xml @@ -0,0 +1,54 @@ +<project> + <!-- Capture essential paths for use by other projects --> + <property name="one-jar.version" value="0.97" /> + <pathconvert targetos="unix" property="basedir.unix"> + <path location="${basedir}"/> + </pathconvert> + + <property name="one-jar.dir" value="${basedir}/../one-jar"/> + <property name="one-jar.dist.dir" value="${one-jar.dir}/dist" /> + <property name="one-jar.build.ant" location="${one-jar.dir}/build/ant"/> + + <!-- Commonly used relative paths. --> + <property name="classes" value="classes" /> + <property name="lib" value="lib" /> + <property name="src" value="src" /> + <property name="test" value="test" /> + + <!-- Defaults: expected to be overridden as part of overall test suite for aggregation. --> + <property name="test.reports.dir" value="${basedir.unix}/test-reports"/> + <property name="test.results.dir" value="${basedir.unix}/test-results"/> + + <import file="${one-jar.dist.dir}/one-jar-ant-task.xml" optional="true" /> + + <path id="one-jar.libraries"> + <pathelement location="${one-jar.dir}/lib/junit-3.8.1.jar"/> + <pathelement location="${one-jar.dir}/dist/one-jar-boot-${one-jar.version}.jar"/> + <pathelement location="${one-jar.ant.jar}"/> + </path> + + <path id="one-jar.test.libraries"> + <pathelement location="${one-jar.dir}/lib/junit-3.8.1.jar"/> + <pathelement location="${classes.dir}/test" /> + </path> + + <target name="build.init"> + <mkdir dir="build"/> + <mkdir dir="${test.reports.dir}"/> + <mkdir dir="${test.results.dir}"/> + </target> + + <target name="junit.report"> + <mkdir dir="${test.reports.dir}" /> + <junitreport todir="${test.reports.dir}"> + <fileset dir="${test.results.dir}" includes="*SelfTest*.xml,*Suite.xml" /> + <report format="noframes" todir="${test.reports.dir}" /> + </junitreport> + <echo>***********************************************</echo> + <echo>* Report is in ${test.reports.dir}/junit_noframes.html</echo> + <echo>***********************************************</echo> + </target> + + + +</project> diff --git a/test/TestOneJar_InJar/jogamp01/one-jar/dist/one-jar-ant-task-0.97.jar b/test/TestOneJar_InJar/jogamp01/one-jar/dist/one-jar-ant-task-0.97.jar Binary files differnew file mode 100644 index 0000000..15dbbb2 --- /dev/null +++ b/test/TestOneJar_InJar/jogamp01/one-jar/dist/one-jar-ant-task-0.97.jar diff --git a/test/TestOneJar_InJar/jogamp01/one-jar/dist/one-jar-ant-task.xml b/test/TestOneJar_InJar/jogamp01/one-jar/dist/one-jar-ant-task.xml new file mode 100644 index 0000000..007b5ad --- /dev/null +++ b/test/TestOneJar_InJar/jogamp01/one-jar/dist/one-jar-ant-task.xml @@ -0,0 +1,10 @@ +<?xml version="1.0"?> +<project> + <!-- The following property is expected to be overridden by caller --> + <property name="one-jar.dist.dir" value="./dist"/> + <property name="one-jar.version" value="0.97"/> + <property name="one-jar.ant.jar" value="${one-jar.dist.dir}/one-jar-ant-task-${one-jar.version}.jar"/> + <taskdef name="one-jar" classname="com.simontuffs.onejar.ant.OneJarTask" + classpath="${one-jar.ant.jar}" onerror="report"/> + +</project> diff --git a/test/TestOneJar_InJar/jogamp01/one-jar/dist/one-jar-boot-0.97.jar b/test/TestOneJar_InJar/jogamp01/one-jar/dist/one-jar-boot-0.97.jar Binary files differnew file mode 100644 index 0000000..26e0ec6 --- /dev/null +++ b/test/TestOneJar_InJar/jogamp01/one-jar/dist/one-jar-boot-0.97.jar diff --git a/test/TestOneJar_InJar/jogamp01/one-jar/lib/junit-3.8.1.jar b/test/TestOneJar_InJar/jogamp01/one-jar/lib/junit-3.8.1.jar Binary files differnew file mode 100644 index 0000000..674d71e --- /dev/null +++ b/test/TestOneJar_InJar/jogamp01/one-jar/lib/junit-3.8.1.jar |