@Test public void testExplicitPaths() { DisplayHierarchy dh = fixture2(); dh.expand(); }
public void expand() { DisplayHierarchyContext context = initialiseContext(); while (!context.completed()) { DisplayHierarchyNode node = context.queue().remove(); expandNode( context, node ); annotateNodes( context, node ); } }
DisplayHierarchy { public void expand() { DisplayHierarchyContext context = initialiseContext(); while (!context.completed()) { DisplayHierarchyNode node = context.queue().remove(); expandNode( context, node ); annotateNodes( context, node ); } } }
DisplayHierarchy { public void expand() { DisplayHierarchyContext context = initialiseContext(); while (!context.completed()) { DisplayHierarchyNode node = context.queue().remove(); expandNode( context, node ); annotateNodes( context, node ); } } DisplayHierarchy( Page page ); }
DisplayHierarchy { public void expand() { DisplayHierarchyContext context = initialiseContext(); while (!context.completed()) { DisplayHierarchyNode node = context.queue().remove(); expandNode( context, node ); annotateNodes( context, node ); } } DisplayHierarchy( Page page ); List<DisplayHierarchyNode> roots(); void expand(); }
DisplayHierarchy { public void expand() { DisplayHierarchyContext context = initialiseContext(); while (!context.completed()) { DisplayHierarchyNode node = context.queue().remove(); expandNode( context, node ); annotateNodes( context, node ); } } DisplayHierarchy( Page page ); List<DisplayHierarchyNode> roots(); void expand();  }