junit.textui.TestRunner.run(suite());
}
public static Test suite() {
int nthreads = Primitives.parseInt(XQTSTestBase.XQTS_PROP.getProperty("test.nthreads"), 8);
final TestSuite suite = new MultithreadedTestSuite("Test-suite for XQTS version "
+ XQTSTestBase.xqtsVersion, nthreads);
final List<Class<? extends TestCase>> clazzList;
try {
clazzList = testCases();
} catch (Exception e) {
throw new RuntimeException(e);
}
//$JUnit-BEGIN$
for(Class<? extends TestCase> clazz : clazzList) {
suite.addTestSuite(clazz);
}
//$JUnit-END$
return suite;
}