123124125126127128129130131132133
} xsb.pop("package"); } return xsb.toXML(); } @Override public int hashCode() { final int prime = 31;
486487488489490491492493494495496
xsb.getStringBuffer().append(test.toXml(" ")); } xsb.pop("suite"); return xsb.toXML(); } /** * {@inheritDoc} */
9899100101102103104105106107108
throw new TestNGException("Invalid Method Selector: found neither class name nor language"); } xsb.pop("method-selector"); return xsb.toXML(); } @Override public int hashCode() { final int prime = 31;
532533534535536537538539540541542
xsb.pop("classes"); } xsb.pop("test"); return xsb.toXML(); } @Override public String toString() { // return toXml("");
7071727374757677787980
paramProps.setProperty("value", para.getValue()); xsb.addEmptyElement("parameter", paramProps); // BUGFIX: TESTNG-27 } } return xsb.toXML(); } @Override public int hashCode() { final int prime = 31;
170171172173174175176177178179180
} else { xsb.addEmptyElement("class", prop); } return xsb.toXML(); } public static String listToString(List<Integer> invocationNumbers) { StringBuilder result = new StringBuilder();
430431432433434435436437438439440
519520521522523524525526527528529
93949596979899100101102103
xsb.pop("classes"); xsb.pop("test"); xsb.pop("suite"); Utils.writeFile(m_outDir.getAbsolutePath(), "testng.xml", xsb.toXML()); } private boolean isTestFile(File f) { return f.getName().endsWith(".java"); }
516517518519520521522523524525526
xsb.getStringBuffer().append(test.toXml(" ")); } xsb.pop("suite"); return xsb.toXML(); } @Tag(name = "method-selectors") public void setXmlMethodSelectors(XmlMethodSelectors xms) { m_xmlMethodSelectors = xms;