aboutsummaryrefslogtreecommitdiffstats
path: root/make/build-common.xml
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-11-04 01:58:32 +0100
committerSven Gothel <[email protected]>2010-11-04 01:58:32 +0100
commit4d56491c3f8e76676e1c860d018bbe991d28ebac (patch)
treef5d9a7f61614b94ad3dd81fc55e323e2f9fed4e0 /make/build-common.xml
parenta0e9d6c8382b7275db6fae664be44db6b59671d5 (diff)
Seperated unit tests (newt/awt/headless) and cleaned up some imports and comments
Seperated unit tests (newt/awt/headless) - no more *CORE* tests - junit.run.newt.headless: all NEWT headless (no-AWT) tests, without any AWT classes and with -Djava.awt.headless=true. Disabled for 'isOSX'. - junit.run.newt: all NEWT non AWT tests (same as above), but with full AWT. This test is not enabled via junit.run. Disabled for 'isOSX'. - junit.run.awt: all AWT tests without NEWT - using newt.event.jar to add AWT agnostic NEWT event adapter - junit.run.newt.awt: all NEWT + AWT tests - junit.run: junit.run.newt.headless,junit.run.awt,junit.run.newt.awt - swizzling around a few tests to achieve the above: TEST rules: - A runnable unit test must start with 'Test' - Only pure NEWT tests must have 'NEWT' in their name - AWT tests must have 'AWT' in their name. - AWT + NEWT tests must have '.newt.' in their package name, hence - Pure AWT tests (without NEWT) must not have '.newt.' in their package name
Diffstat (limited to 'make/build-common.xml')
-rw-r--r--make/build-common.xml37
1 files changed, 30 insertions, 7 deletions
diff --git a/make/build-common.xml b/make/build-common.xml
index 059243101..a00c7f27a 100644
--- a/make/build-common.xml
+++ b/make/build-common.xml
@@ -175,6 +175,12 @@
<property name="nativewindow.all.jar" value="${build.nativewindow}/nativewindow.all.jar" />
<property name="jogl.all.jar" value="${build.jogl}/jogl.all.jar" />
<property name="newt.all.jar" value="${build.newt}/newt.all.jar" />
+ <property name="newt.event.jar" value="${build.newt}/newt.event.jar" />
+
+ <!-- JavaSE combinations . NO.AWT -->
+ <property name="nativewindow.all-noawt.jar" value="${build.nativewindow}/nativewindow.all-noawt.jar" />
+ <property name="jogl.all-noawt.jar" value="${build.jogl}/jogl.all-noawt.jar" />
+ <property name="newt.all-noawt.jar" value="${build.newt}/newt.all-noawt.jar" />
<path id="nativewindow_gluegen.classpath">
<pathelement location="${gluegen-rt.jar}" />
@@ -204,23 +210,40 @@
<pathelement location="${newt.all.jar}" />
</path>
- <path id="junit_jogl_newt.run.classpath">
+ <path id="junit_jogl_awt.run.classpath">
<pathelement location="${junit.jar}" />
<pathelement location="${ant.jar}" />
<pathelement location="${ant-junit.jar}" />
<pathelement location="${gluegen-rt.jar}" />
<pathelement location="${nativewindow.all.jar}" />
<pathelement location="${jogl.all.jar}" />
- <pathelement location="${newt.all.jar}" />
+ <pathelement location="${newt.event.jar}" />
+ <pathelement location="${jogl.test.jar}" />
+ </path>
+
+ <path id="junit_jogl_newt.run.classpath">
+ <pathelement location="${junit.jar}" />
+ <pathelement location="${ant.jar}" />
+ <pathelement location="${ant-junit.jar}" />
+ <pathelement location="${gluegen-rt.jar}" />
+ <pathelement location="${nativewindow.all-noawt.jar}" />
+ <pathelement location="${jogl.all-noawt.jar}" />
+ <pathelement location="${newt.all-noawt.jar}" />
<pathelement location="${jogl.test.jar}" />
</path>
<property name="junit_jogl_newt.run.jars"
- value="${junit.jar}${path.separator}${ant.jar}${path.separator}${ant-junit.jar}${path.separator}${gluegen-rt.jar}${path.separator}${nativewindow.all.jar}${path.separator}${jogl.all.jar}${path.separator}${newt.all.jar}${path.separator}${jogl.test.jar}"/>
+ value="${junit.jar}${path.separator}${ant.jar}${path.separator}${ant-junit.jar}${path.separator}${gluegen-rt.jar}${path.separator}${nativewindow.all-noawt.jar}${path.separator}${jogl.all-noawt.jar}${path.separator}${newt.all-noawt.jar}${path.separator}${jogl.test.jar}"/>
- <!-- JavaSE combinations . NO.AWT -->
- <property name="nativewindow.all-noawt.jar" value="${build.nativewindow}/nativewindow.all-noawt.jar" />
- <property name="jogl.all-noawt.jar" value="${build.jogl}/jogl.all-noawt.jar" />
- <property name="newt.all-noawt.jar" value="${build.newt}/newt.all-noawt.jar" />
+ <path id="junit_jogl_newt_awt.run.classpath">
+ <pathelement location="${junit.jar}" />
+ <pathelement location="${ant.jar}" />
+ <pathelement location="${ant-junit.jar}" />
+ <pathelement location="${gluegen-rt.jar}" />
+ <pathelement location="${nativewindow.all.jar}" />
+ <pathelement location="${jogl.all.jar}" />
+ <pathelement location="${newt.all.jar}" />
+ <pathelement location="${jogl.test.jar}" />
+ </path>
<path id="jogl_newt_all-noawt.classpath">
<pathelement location="${gluegen-rt.jar}" />