/* * 2 covered goals: * 1 net.sf.xisemele.impl.OperationsHelperImpl.sublistWithName(Ljava/util/List;Ljava/lang/String;)Ljava/util/List;: I14 Branch 12 IFEQ L82 - true * 2 net.sf.xisemele.impl.OperationsHelperImpl.children(Lorg/w3c/dom/Node;)Ljava/util/List;: I19 Branch 1 IF_ICMPGE L28 - true */ @Test public void test4() throws Throwable { OperationsHelperImpl operationsHelperImpl0 = new OperationsHelperImpl(); IIOMetadataNode iIOMetadataNode0 = new IIOMetadataNode(); List<Node> list0 = operationsHelperImpl0.children((Node) iIOMetadataNode0); List<Node> list1 = operationsHelperImpl0.sublistWithName(list0, "2Y.i~6gwa"); assertEquals(true, list1.isEmpty()); }
/* * 3 covered goals: * 1 net.sf.xisemele.impl.OperationsHelperImpl.nodeWithName(Ljava/util/List;Ljava/lang/String;)Lorg/w3c/dom/Node;: I8 Branch 10 IFEQ L69 - true * 2 net.sf.xisemele.impl.OperationsHelperImpl.<init>()V: root-Branch * 3 net.sf.xisemele.impl.OperationsHelperImpl.children(Lorg/w3c/dom/Node;)Ljava/util/List;: I19 Branch 1 IF_ICMPGE L28 - true */ @Test public void test0() throws Throwable { OperationsHelperImpl operationsHelperImpl0 = new OperationsHelperImpl(); IIOMetadataNode iIOMetadataNode0 = new IIOMetadataNode(); List<Node> list0 = operationsHelperImpl0.children((Node) iIOMetadataNode0); Node node0 = operationsHelperImpl0.nodeWithName(list0, "2Y.i~6gwa"); assertNull(node0); }
/* * 2 covered goals: * 1 net.sf.xisemele.impl.OperationsHelperImpl.children(Lorg/w3c/dom/Node;)Ljava/util/List;: I19 Branch 1 IF_ICMPGE L28 - false * 2 net.sf.xisemele.impl.OperationsHelperImpl.children(Lorg/w3c/dom/Node;)Ljava/util/List;: I31 Branch 2 IF_ICMPNE L30 - false */ @Test public void test1() throws Throwable { OperationsHelperImpl operationsHelperImpl0 = new OperationsHelperImpl(); IIOMetadataNode iIOMetadataNode0 = new IIOMetadataNode((String) null); IIOMetadataNode iIOMetadataNode1 = (IIOMetadataNode) iIOMetadataNode0.appendChild((Node) iIOMetadataNode0); List<Node> list0 = operationsHelperImpl0.children((Node) iIOMetadataNode1); assertNotNull(list0); assertEquals(false, list0.isEmpty()); }