4950515253545556
if (invocationNumbers != null && invocationNumbers.size() > 0) { p.setProperty("invocation-numbers", XmlClass.listToString(invocationNumbers).toString()); } xsb.addEmptyElement("include", p); return xsb.toXML(); } }
437438439440441442443444445446447
xsb.pop("classes"); } xsb.pop("test"); return xsb.toXML(); } @Override public String toString() { // return toXml("");
543544545546547548549550551552553
xsb.getStringBuffer().append(test.toXml(" ")); } xsb.pop("suite"); return xsb.toXML(); } /** * {@inheritDoc} */
3031323334353637
xsb.getStringBuffer().append(selector.toXml(indent + " ")); } xsb.pop("method-selectors"); } return xsb.toXML(); } }
111112113114115116117118119120121
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;
184185186187188189190191192193194
} else { xsb.addEmptyElement("class", prop); } return xsb.toXML(); } public static String listToString(List<Integer> invocationNumbers) { StringBuilder result = new StringBuilder();
123124125126127128129130131132133
} xsb.pop("package"); } return xsb.toXML(); } @Override public int hashCode() { final int prime = 31;
5253545556575859
xsb.addEmptyElement("class", p); xsb.pop("classes"); xsb.pop("test"); xsb.pop("suite"); return xsb.toXML(); } }
7475767778798081828384
xsb.pop("include"); } else { xsb.addEmptyElement("include", p); } return xsb.toXML(); } @Override public int hashCode() { final int prime = 31;
2425262728293031323334
} if (hasElements) { xsb.pop("run"); } return xsb.toXML(); } private List<String> m_excludes = Lists.newArrayList(); public List<String> getExcludes() {