if (springConfigFileName != null)
{
// Create a new process server from a spring config file
logMsg += "file: " + springConfigFileName;
LogUtil.info(TestCaseBase.class, logMsg);
processServer = new ProcessServerFactory().createProcessServer(springConfigFileName);
}
else if (springConfigClasses.size() != 0)
{
// Create a new process server from a spring config class
logMsg += "classes: ";
boolean first = true;
for (Class cls : springConfigClasses)
{
if (first)
first = false;
else
logMsg += ", ";
logMsg += cls.getSimpleName();
}
LogUtil.info(TestCaseBase.class, logMsg);
processServer = new ProcessServerFactory()
.createProcessServerFromConfigurationClasses((Class[]) CollectionUtil.toArray(springConfigClasses,
Class.class));
}
else
{