Unit testing: confirm that Analyzer can parse some sample XML
[cfb.git] / prod / net / jaekl / cfb / xml / BugCollection.java
index 8fb78e411ab973b770e30a618d26e82f52ad97ad..d906ff983f9bb5b50c98d8b0c9ea512567b3c8e3 100644 (file)
@@ -19,6 +19,9 @@ public class BugCollection extends ParseResult {
                m_bugs = new ArrayList<BugInstance>();
        }
        
+       public int size() { return m_bugs.size(); }
+       public BugInstance get(int idx) { return m_bugs.get(idx); }
+       
        @Override
        public void endContents(String uri, String localName, String qName,     String chars) 
                throws XmlParseException