/** * @return Returns the excludedGroups. * Note: do not modify the returned value, use {@link #addExcludedGroup(String)}. */ public List<String> getExcludedGroups() { if (m_parentSuite != null) { return m_parentSuite.getExcludedGroups(); } else if (m_xmlGroups != null && (m_xmlGroups.getRun() != null)) { return m_xmlGroups.getRun().getExcludes(); } else { return m_excludedGroups; } }
/** * @return Returns the includedGroups. * Note: do not modify the returned value, use {@link #addIncludedGroup(String)}. */ public List<String> getIncludedGroups() { if (m_parentSuite != null) { return m_parentSuite.getIncludedGroups(); } else if (m_xmlGroups != null && (m_xmlGroups.getRun() != null)) { return m_xmlGroups.getRun().getIncludes(); } else { // deprecated return m_includedGroups; } }
/** * @return the includedGroups. */ public List<String> getIncludedGroups() { List<String> result = Lists.newArrayList(); if (m_xmlGroups != null && m_xmlGroups.getRun() != null) { result.addAll(m_xmlGroups.getRun().getIncludes()); } result.addAll(m_suite.getIncludedGroups()); return Collections.unmodifiableList(result); }
/** * @return Returns the excludedGroups. Note: do not modify the returned value, use {@link * #addExcludedGroup(String)}. */ public List<String> getExcludedGroups() { if (m_parentSuite != null) { return m_parentSuite.getExcludedGroups(); } else if (m_xmlGroups != null && (m_xmlGroups.getRun() != null)) { return m_xmlGroups.getRun().getExcludes(); } else { return m_excludedGroups; } }
/** * @return Returns the includedGroups. Note: do not modify the returned value, use {@link * #addIncludedGroup(String)}. */ public List<String> getIncludedGroups() { if (m_parentSuite != null) { return m_parentSuite.getIncludedGroups(); } else if (m_xmlGroups != null && (m_xmlGroups.getRun() != null)) { return m_xmlGroups.getRun().getIncludes(); } else { // deprecated return m_includedGroups; } }
int result = 1; result = prime * result + ((m_xmlGroups == null || m_xmlGroups.getRun() == null) ? 0 : m_xmlGroups.getRun().getExcludes().hashCode()); result = prime .hashCode()); result = prime * result + ((m_xmlGroups == null || m_xmlGroups.getRun() == null) ? 0 : m_xmlGroups.getRun().getIncludes().hashCode()); result = prime * result + ((m_isJUnit == null) ? 0 : m_isJUnit.hashCode()); result = prime * result
/** @return the includedGroups. */ public List<String> getIncludedGroups() { List<String> result = Lists.newArrayList(); if (m_xmlGroups != null && m_xmlGroups.getRun() != null) { result.addAll(m_xmlGroups.getRun().getIncludes()); } result.addAll(getSuite().getIncludedGroups()); return Collections.unmodifiableList(result); }
result = prime * result + ((m_xmlGroups == null || m_xmlGroups.getRun() == null) ? 0 : m_xmlGroups.getRun().getExcludes().hashCode()); result = prime * result result = prime * result + ((m_xmlGroups == null || m_xmlGroups.getRun() == null) ? 0 : m_xmlGroups.getRun().getIncludes().hashCode()); result = prime * result + ((m_isJUnit == null) ? 0 : m_isJUnit.hashCode()); result = prime * result + ((m_xmlGroups == null) ? 0 : m_xmlGroups.getDefines().hashCode());
public void addIncludedGroup(String g) { if (m_xmlGroups == null) { m_xmlGroups = new XmlGroups(); m_xmlGroups.setRun(new XmlRun()); } m_xmlGroups.getRun().getIncludes().add(g); }
public void addIncludedGroup(String g) { if (m_xmlGroups == null) { m_xmlGroups = new XmlGroups(); m_xmlGroups.setRun(new XmlRun()); } m_xmlGroups.getRun().getIncludes().add(g); }
return false; if ((m_xmlGroups.getRun() == null && other.m_xmlGroups != null) || m_xmlGroups.getRun() != null && other.m_xmlGroups == null) { return false; if (!m_xmlGroups.getRun().getExcludes().equals(other.m_xmlGroups.getRun().getExcludes())) { return XmlSuite.f(); if (!m_xmlGroups.getRun().getIncludes().equals(other.m_xmlGroups.getRun().getIncludes())) { return XmlSuite.f();
(xmlTest.getXmlGroups().getRun() != null && (!xmlTest.getXmlGroups().getRun().getIncludes().isEmpty() || !xmlTest.getXmlGroups().getRun().getExcludes().isEmpty() if ((xmlTest.getXmlGroups() != null && xmlTest.getXmlGroups().getRun() != null) && (!xmlTest.getXmlGroups().getRun().getIncludes().isEmpty() || !xmlTest.getXmlGroups().getRun().getExcludes().isEmpty())) { xsb.push("run"); for (String includeGroupName : xmlTest.getXmlGroups().getRun().getIncludes()) { Properties includeProps = new Properties(); includeProps.setProperty("name", includeGroupName); for (String excludeGroupName : xmlTest.getXmlGroups().getRun().getExcludes()) { Properties excludeProps = new Properties(); excludeProps.setProperty("name", excludeGroupName);