private void xmlExclude(boolean start, Attributes attributes) { if (start) { m_locations.push(Location.EXCLUDE); String name = attributes.getValue("name"); if (null != m_currentExcludedMethods) { m_currentExcludedMethods.add(name); } else if (null != m_currentRuns) { m_currentExcludedGroups.add(name); } else if (null != m_currentPackage) { m_currentPackage.getExclude().add(name); } } else { popLocation(); } }
/** * Parse <suite-file> */ private void xmlSuiteFile(boolean start, Attributes attributes) { if (start) { String path = attributes.getValue("path"); pushLocation(Location.SUITE); m_suiteFiles.add(path); } else { m_currentSuite.setSuiteFiles(m_suiteFiles); popLocation(); } }
private void xmlExclude(boolean start, Attributes attributes) { if (start) { m_locations.push(Location.EXCLUDE); String name = attributes.getValue("name"); if (null != m_currentExcludedMethods) { m_currentExcludedMethods.add(name); } else if (null != m_currentRuns) { m_currentExcludedGroups.add(name); } else if (null != m_currentPackage) { m_currentPackage.getExclude().add(name); } } else { popLocation(); } }
/** Parse <suite-file> */ private void xmlSuiteFile(boolean start, Attributes attributes) { if (start) { String path = attributes.getValue("path"); pushLocation(Location.SUITE); m_suiteFiles.add(path); } else { m_currentSuite.setSuiteFiles(m_suiteFiles); popLocation(); } }
popLocation(); m_currentInclude = null;
popLocation(); m_currentInclude = null;
m_currentClass.setParameters(m_currentClassParameters); m_currentClassParameters = null; popLocation();
m_currentTest = null; m_currentTestParameters = null; popLocation(); if(!m_enabledTest) { List<XmlTest> tests= m_currentSuite.getTests();
m_suites.add(m_currentSuite); m_currentSuiteParameters = null; popLocation();
m_currentClass.setParameters(m_currentClassParameters); m_currentClassParameters = null; popLocation(); } else if ("listeners".equals(qName)) { xmlListeners(false, null);
m_currentTest = null; m_currentTestParameters = null; popLocation(); if (!m_enabledTest) { List<XmlTest> tests = m_currentSuite.getTests();
m_suites.add(m_currentSuite); m_currentSuiteParameters = null; popLocation();