summaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-06-01 05:16:36 +0200
committerMichael Bien <[email protected]>2010-06-01 05:16:36 +0200
commitace04b51b41dd7887aec4095c8c4792dfc4c284b (patch)
tree8c314591cd54054ec352b2386deaf04d94aa6b1f /make
parentdcc946e925ec73740e2985e5febf5fbb732ad1d9 (diff)
exclude inner classes as tests to prevent junit from executing anonymous inner classes.
Diffstat (limited to 'make')
-rw-r--r--make/build-junit.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/make/build-junit.xml b/make/build-junit.xml
index 749e73dbd..6c4f42811 100644
--- a/make/build-junit.xml
+++ b/make/build-junit.xml
@@ -93,6 +93,7 @@
<batchtest todir="${results.junit}">
<fileset dir="${classes}">
<include name="${java.dir.test}/**/Test*CORE*"/>
+ <exclude name="**/*$$*"/>
</fileset>
<formatter usefile="false" type="brief"/>
<formatter usefile="true" type="xml"/>
@@ -110,6 +111,7 @@
<!-- results in absolute path -->
<fileset dir="${classes}">
<include name="${java.dir.test}/**/Test*NEWT*"/>
+ <exclude name="**/*$$*"/>
</fileset>
<sequential>
<var name="test.class.path" unset="true"/>
@@ -178,6 +180,7 @@
<batchtest todir="${results.junit}">
<fileset dir="${classes}">
<include name="${java.dir.test}/**/Test*AWT*"/>
+ <exclude name="**/*$$*"/>
</fileset>
<formatter usefile="false" type="brief"/>
<formatter usefile="true" type="xml"/>