BaseTestSuite suite = new BaseTestSuite(name);
// Need derbynet.jar in the classpath, and cannot run with ME/JSR169/cdc profile
if (!Derby.hasServer())
return suite;
// Adds all tests that can run with baseport set or not.
suite.addTestSuite(DerbyNetAutoStartTest.class);
if (getSystemProperty("derby.tests.basePort") != null )
{
return suite;
}
// We assume, that if baseport is set, then the intention is that