if (putElement(xsb, XMLConstants.TESTCASE, testTag.properties, testTag.childTag != null)) { Properties p = new Properties(); safeSetProperty(p, XMLConstants.ATTR_MESSAGE, testTag.message); safeSetProperty(p, XMLConstants.ATTR_TYPE, testTag.type); if (putElement(xsb, testTag.childTag, p, testTag.stackTrace != null)) { xsb.addCDATA(testTag.stackTrace); xsb.pop(testTag.childTag);
if (putElement(xsb, XMLConstants.TESTCASE, testTag.properties, testTag.childTag != null)) { Properties p = new Properties(); safeSetProperty(p, XMLConstants.ATTR_MESSAGE, testTag.message); safeSetProperty(p, XMLConstants.ATTR_TYPE, testTag.type); if (putElement(xsb, testTag.childTag, p, testTag.stackTrace != null)) { xsb.addCDATA(testTag.stackTrace); xsb.pop(testTag.childTag);