p.setProperty("thread-count", String.valueOf(getThreadCount()));
p.setProperty("annotations", getAnnotations());
p.setProperty("junit", m_isJUnit != null ? m_isJUnit.toString() : "false"); // TESTNG-141
if(null != m_objectFactory)
p.setProperty("object-factory", m_objectFactory.getClass().getName());
xsb.push("suite", p);
for (String paramName : m_parameters.keySet()) {
Properties paramProps = new Properties();
paramProps.setProperty("name", paramName);
paramProps.setProperty("value", m_parameters.get(paramName));