private Type[] tests(Pod pod, string testName)
{
// named test
if (testName != "*") return new Type[] { pod.type(testName, true) };
// all types which subclass Test
List all = pod.types();
ArrayList acc = new ArrayList();
for (int i=0; i<all.sz(); i++)
{
Type x = (Type)all.get(i);
if (x.@is(Sys.TestType) && !x.isAbstract()) acc.Add(x);
}
return (Type[])acc.ToArray(System.Type.GetType("Fan.Sys.Type"));
}