I agree with the comment above that it looks like a tag that allows either .java or .class.
I did a little test, and when I checked the test with this installation - where dir=somefolder , and then using <include name="**/*Test.java"/> , when the folder containing the class files is specified, then Ant will basically have an empty set of files for processing for * Test.java, but when using <include name="**/*Test.class"/> set of files was not empty, and test cases will be launched.
This was the result of my quick test. As far as I can tell, it looks like you need to specify * Test.class to pick up the test cases.
source share