Examples of FacetEntry


Examples of org.ajax4jsf.application.TreeStructureNode.FacetEntry

      buildTestTree();
      TreeStructureNode node = new TreeStructureNode();
      node.apply(facesContext, facesContext.getViewRoot(), new HashSet<String>());
      assertEquals(2, node.getChildren().size());
      assertEquals(1, node.getFacets().size());
      FacetEntry nodeA = node.getFacets().get(0);
      assertNotNull(nodeA);
      assertEquals(FACET_A, nodeA.getName());
      assertEquals(1, nodeA.getNode().getChildren().size());
      assertEquals(1, nodeA.getNode().getFacets().size());
   
  }
View Full Code Here

Examples of org.ajax4jsf.application.TreeStructureNode.FacetEntry

    ByteArrayInputStream byteIn = new ByteArrayInputStream(byteOut.toByteArray());
    ObjectInputStream in = new ObjectInputStream(byteIn);
    TreeStructureNode nodeIn = (TreeStructureNode) in.readObject();
    assertEquals(2, nodeIn.getChildren().size());
    assertEquals(1, nodeIn.getFacets().size());
    FacetEntry nodeA = nodeIn.getFacets().get(0);
    assertNotNull(nodeA);
    assertEquals(FACET_A, nodeA.getName());
    assertEquals(1, nodeA.getNode().getChildren().size());
    assertEquals(1, nodeA.getNode().getFacets().size());
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.