// Note: can't use $derbyTesting.codeclasses as on windows it has
// the slashes adjusted.
if (!TestConfiguration.loadingFromJars()) {
Properties propstmp = new Properties();
propstmp.put("sysinfotest.classesdir", findClassDir());
suite.addTest(new SystemPropertyTestSetup(decorateTest(), propstmp));
}
else
suite.addTest(decorateTest());
useProperties = true;
Properties sysprops = new Properties();
if (!TestConfiguration.loadingFromJars())
sysprops.put("sysinfotest.classesdir", findClassDir());
sysprops.put("derby.infolog.append","true");
sysprops.put("derby.language.logStatementText","true");
//#drda property ,test for it in sysinfo output
sysprops.put("derby.drda.securityMechanism","USER_ONLY_SECURITY");
Test test = new SystemPropertyTestSetup(decorateTest(), sysprops);
Properties prop = new Properties();
prop.put("derby.locks.waitTimeout","120");
test = new DatabasePropertyTestSetup(test, prop);
//suite.addTest(new SystemPropertyTestSetup(decorateTest(), props));
suite.addTest(test);