/* * 2 covered goals: * 1 nu.staldal.lagoon.producer.LSSIHandler.endElement(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V: I5 Branch 13 IFLE L230 - false * 2 nu.staldal.lagoon.producer.LSSIHandler.<init>(Lnu/staldal/lagoon/core/SourceManager;Lorg/xml/sax/ContentHandler;Lnu/staldal/lagoon/core/Target;Ljava/util/Set;)V: root-Branch */ @Test public void test12() throws Throwable { XMLFilterImpl xMLFilterImpl0 = new XMLFilterImpl(); Locale locale0 = Locale.CANADA; Set<Character> set0 = locale0.getExtensionKeys(); LSSIHandler lSSIHandler0 = new LSSIHandler( (SourceManager) null, (ContentHandler) xMLFilterImpl0, (Target) null, (Set) set0); lSSIHandler0.endElement( "http://staldal.nu/Lagoon/LSSI", "http://staldal.nu/Lagoon/LSSI", "http://staldal.nu/Lagoon/LSSI"); }
/* * 5 covered goals: * 1 nu.staldal.lagoon.producer.LSSIHandler.startElement(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/xml/sax/Attributes;)V: I5 Branch 1 IFLE L146 - false * 2 nu.staldal.lagoon.producer.LSSIHandler.startElement(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/xml/sax/Attributes;)V: I19 Branch 2 IFLE L150 - true * 3 nu.staldal.lagoon.producer.LSSIHandler.startElement(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/xml/sax/Attributes;)V: I99 Branch 4 IFLE L173 - true * 4 nu.staldal.lagoon.producer.LSSIHandler.startElement(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/xml/sax/Attributes;)V: I159 Branch 7 IFLE L185 - true * 5 nu.staldal.lagoon.producer.LSSIHandler.startElement(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/xml/sax/Attributes;)V: I268 Branch 12 IFLE L210 - true */ @Test public void test10() throws Throwable { XMLFilterImpl xMLFilterImpl0 = new XMLFilterImpl(); Locale locale0 = Locale.CANADA; Set<Character> set0 = locale0.getExtensionKeys(); LSSIHandler lSSIHandler0 = new LSSIHandler( (SourceManager) null, (ContentHandler) xMLFilterImpl0, (Target) null, (Set) set0); AttributesImpl attributesImpl0 = new AttributesImpl(); try { lSSIHandler0.startElement( "http://staldal.nu/Lagoon/LSSI", "", "", (Attributes) attributesImpl0); fail("Expecting exception: SAXParseException"); } catch (SAXParseException e) { /* * Unknown LSSI element: */ } }