59
63
SAXParserFactory factory = SAXParserFactory.newInstance();
61
65
SAXParser saxParser = factory.newSAXParser();
63
67
classesToSuites = new HashMap();
65
69
saxParser.parse( new File( xmlPath ), this );
67
71
if ( currentSuite != defaultSuite )
68
72
{ // omit the defaultSuite if it's empty and there are alternatives
71
75
classesToSuites.remove( defaultSuite.getFullClassName() );
75
79
return classesToSuites.values();
78
83
public void startElement( String uri, String localName, String qName, Attributes attributes )